Hi All,
I have used CreateFile() to get the handle and I am sending a IOCTL using DeviceIoControl() with the obtained handle.
But, the problem is CreateFile() return not null handle but DeviceIoControl() gives error 6 ie. invalid handle value. This happens only in safe mode.
The Ioctl is dummy and always return STATUS_SUCCESS.
Can anyone tell me what is wrong.
Thanks & Regards,
Amit.