Driver verifier IO SYSTEM VERIFICATION ERROR 23b  
Author Message
polestar





PostPosted: Mon Oct 23 14:55:19 CDT 2006 Top

Drivers >> Driver verifier IO SYSTEM VERIFICATION ERROR 23b

Dear all:
My driver works fine under XP WHQL, however it doesn't pass DTM(Vista
WHQL program) for driver verifier.
Below is some part of source code which showing bug check codes
status = MyHandler(DeviceObject,Irp);
Irp->IoStatus.Status = status;
IoSkipCurrentIrpStackLocation( Irp );
status = IoCallDriver (pAdData->LowerDeviceObject, Irp);<-----fail in
this line
the status return from MyHandler maybe STATUS_NOT_IMPLEMENTED,
STATUS_SUCCESS,..etc that defined in ntstatus.h

Would you please give me some suggestions or experience ?
Thanks

Windows OS269  
 
 
Maxim





PostPosted: Mon Oct 23 14:55:19 CDT 2006 Top

Drivers >> Driver verifier IO SYSTEM VERIFICATION ERROR 23b > status = MyHandler(DeviceObject,Irp);
> Irp->IoStatus.Status = status;

Doing this before IoCallDriver is nonsense.

> IoSkipCurrentIrpStackLocation( Irp );
> status = IoCallDriver (pAdData->LowerDeviceObject, Irp);<-----fail in

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation

http://www.storagecraft.com