Hi,All
I tried to IoMarkIrpPending “IRP_MJ_DIRECTORY_CONTROL” ,
when i handle this pending Irp again, call the lower driver, it returned
STATUS_INVALID_USER_BUFFER, anyone knows why?
Thanks
Ben
Hi,All
I tried to IoMarkIrpPending “IRP_MJ_DIRECTORY_CONTROL” ,
when i handle this pending Irp again, call the lower driver, it returned
STATUS_INVALID_USER_BUFFER, anyone knows why?
Thanks
Ben
Bin Zeng wrote:
Hi,All
I tried to IoMarkIrpPending “IRP_MJ_DIRECTORY_CONTROL” ,
when i handle this pending Irp again, call the lower driver, it returned
STATUS_INVALID_USER_BUFFER, anyone knows why?
AFAIK this should be returned if the Irp->UserBuffer value is invalid…
No? So if you mark the Irp pending what happens is that it might be
processed in a different context which means the Userbuffer isn’t valid
anymore.
–
Edouard