Introduction - If you have any usage issues, please Google them yourself
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
Packet : 77433631manipulating_the_keyboard_lights_in_nt_src.zip filelist
projects/NTFlashScrollLight/NTFlashScrollLight.c
projects/NTFlashScrollLight/NTFlashScrollLight.dsp
projects/NTFlashScrollLight/NTFlashScrollLight.dsw
projects/NTFlashScrollLight/NTKbdLites.c
projects/NTFlashScrollLight/NTKbdLites.h
projects/NTFlashScrollLight/NTKbdLites/NTKbdLites.dsp