Handle to Device Driver

hello,
I would like to obtain the handle to a device driver ( Not handle to the
device ). I would like to obtain handle to kbdclass driver ( driver of
keyboard or kbdclass.sys file ). I don’t want handle to keyboard. How can i
obtain handle using CreateFile() API. I don’t want handle to the
kbdclass.sys file. What is the 1st parameter to be passed to the CreateFile
() API. Is there any other function that can be used to obtain the handle
to device driver. Using this handle i want to set the LEDs on , using
DeviceIOControl function.
Thanks a million
Vandhana


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> I would like to obtain the handle to a device driver ( Not handle to the

device ).

Impossible and unsupported on NT - this is a Win9x thing.
CreateFile can open devices and on-disk files only, not drivers.

Max


You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com