Fix a couple of callback instances that should have been wrapped with

MSCALLx().

Add definition for STATUS_PENDING error code.
This commit is contained in:
wpaul 2005-02-25 08:34:32 +00:00
parent af6ca62431
commit 4adb8f747e
2 changed files with 3 additions and 2 deletions

View File

@ -1093,6 +1093,7 @@ typedef struct driver_object driver_object;
#define STATUS_KERNEL_APC 0x00000100
#define STATUS_ALERTED 0x00000101
#define STATUS_TIMEOUT 0x00000102
#define STATUS_PENDING 0x00000103
#define STATUS_INVALID_PARAMETER 0xC000000D
#define STATUS_INVALID_DEVICE_REQUEST 0xC0000010
#define STATUS_MORE_PROCESSING_REQUIRED 0xC0000016

View File

@ -837,7 +837,7 @@ IofCallDriver(REGARGS2(device_object *dobj, irp *ip))
sl->isl_devobj = dobj;
disp = drvobj->dro_dispatch[sl->isl_major];
status = disp(dobj, ip);
status = MSCALL2(disp, dobj, ip);
return(status);
}
@ -870,7 +870,7 @@ IofCompleteRequest(REGARGS2(irp *ip, uint8_t prioboost))
(ip->irp_cancel == TRUE &&
sl->isl_ctl & SL_INVOKE_ON_CANCEL))) {
cf = sl->isl_completionfunc;
status = cf(dobj, ip, sl->isl_completionctx);
status = MSCALL3(cf, dobj, ip, sl->isl_completionctx);
if (status == STATUS_MORE_PROCESSING_REQUIRED)
return;
}