Click here to Skip to main content
14,668,708 members
Rate this:
Please Sign up or sign in to vote.
See more:
Currently I am using the WDK kbfiltr sample that has rawpdo.c
Inside rawpdo, it has already registered Kbfilter_EvtIoDeviceControlForRawPDO
to receive IOCTL from application.

In this function, it already catches this IOCTL commaand:
IOCTL_KBFILTR_GET_KEYBOARD ATTRIBUTES.

The problem is when I send the IOCTL command from application
using DeviceIoControl, BSOD happens.

Note that I already have the handle to the RAWPDO using
the registered GUID.

When I delete the Forward to parent part of the code and just put a debug log
the log is displayed.

Does anyone know how I can fix the BSOD.
Thanks!

Using Win7x86
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100