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:
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.