Click here to Skip to main content
15,614,943 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900