IoBuildDeviceIoControlRequest failure

Hi Folks,

In my driver, If IoBuildDeviceIoControlRequest() returns a NULL IRP , and I call IoCallDriver() using the NULL IRP , can this lead to data corruption in the kernel ?

Thanks,
manoj

Yee, usually immediate bgucheck. You need to check for failure

d

debt from my phone


From: xxxxx@gmail.com
Sent: 7/23/2012 2:15 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] IoBuildDeviceIoControlRequest failure

Hi Folks,

In my driver, If IoBuildDeviceIoControlRequest() returns a NULL IRP , and I call IoCallDriver() using the NULL IRP , can this lead to data corruption in the kernel ?

Thanks,
manoj


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer