March 22nd, 2000, 04:21 AM
I've got some problems on W2k DDK.
There's a sample code in 'NTDDK\src\wdm\hid\hclient' for USB HID.
This sample's well running on Win98.., but not on W2k.
After compiled this sample, and pluged in the USB keyboard, and run it 'hclient.exe', but you can't run the 'Block Read Data' button.
Only you can see the message 'Unable to open device...'.
I concerned about this button at the most.
And then I debugged and traced this sample.
In Pnp.c, CreateFile API with GENERIC_READ parameter was failed for USB keyboard.
I'd like to modify this sample for my some using, what could I do?
Could you tell me what should I do?
I want to receive the detail advice and information.
Thanks for your time.
There's a sample code in 'NTDDK\src\wdm\hid\hclient' for USB HID.
This sample's well running on Win98.., but not on W2k.
After compiled this sample, and pluged in the USB keyboard, and run it 'hclient.exe', but you can't run the 'Block Read Data' button.
Only you can see the message 'Unable to open device...'.
I concerned about this button at the most.
And then I debugged and traced this sample.
In Pnp.c, CreateFile API with GENERIC_READ parameter was failed for USB keyboard.
I'd like to modify this sample for my some using, what could I do?
Could you tell me what should I do?
I want to receive the detail advice and information.
Thanks for your time.