CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - dos flash s
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - dos flash s - List
[
OS program
]
Manipulating_the_Keyboard_Lights_in_NT_src
DL : 0
This code demonstrates manipulation of the keyboard indicator lights in Windows NT 4.0. A few relevant values were borrowed from the DDK headers, so it is not necessary to have the DDK installed, to build these sources. There s really nothing fancy about this code, it creates a DOS device for the keyboard device, opens a handle to that device, and calls DeviceIoControl to send IOCTL function codes to the device. It did require a fair amount digging around in the DDK to create this effect, and it is an interesting twist on an alternate UI mechanism, and thus I felt it might be suitable for inclusion in this archive. A high-level, multi-threaded function to flash a keyboard light continuously in its own thread, is included. This call is demonstrated in the sample project. NTKbdLites can be easily built for inclusion in a static link library by defining STATIC_LIBRARY on the compiler command line or in settings. -This code demonstrates manipulation of the keyboard indicator lights in Windows NT 4.0. A few relevant values were borrowed from the DDK headers, so it is not necessary to have the DDK installed, and to build these sources. There s really nothing fancy about this code, it creates a DOS device for the keyboard device, opens a handle to that device, and calls to send DeviceIoControl did function codes to the device. It did require a fair amount digging around in the DDK to create this effect, and it is an interesting twist on an alternate UI mechanism, and thus I felt it might be suitable for inclusion in this archive. A high-level, multi-threaded function to flash a light keyboard continuously in its own thread, is included. This call is demonstrated in the sample project. NTKbdLites can be
Date
: 2008-10-13
Size
: 6.4kb
User
:
guard2002
[
SCM
]
SPIFlash
DL : 0
DOS下通过南桥SPI Controller读写BIOS flash信息的example code,汇编代码-DOS, read and write BIOS flash information through the South Bridge SPI Controller, example in assembly code
Date
: 2025-07-01
Size
: 1kb
User
:
张峻海
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.