mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 00:43:00 -05:00
sys: WIP
This commit is contained in:
parent
d8621c8490
commit
5c5114675b
@ -73,17 +73,15 @@
|
|||||||
NT_SUCCESS(Result) ? "[" : "",\
|
NT_SUCCESS(Result) ? "[" : "",\
|
||||||
Irp->IoStatus.Information, \
|
Irp->IoStatus.Information, \
|
||||||
NT_SUCCESS(Result) ? "]" : "");\
|
NT_SUCCESS(Result) ? "]" : "");\
|
||||||
if (STATUS_PENDING != Result) \
|
if (STATUS_PENDING == Result) \
|
||||||
|
IoMarkIrpPending(Irp); \
|
||||||
|
else \
|
||||||
{ \
|
{ \
|
||||||
if (!NT_SUCCESS(Result)) \
|
if (!NT_SUCCESS(Result)) \
|
||||||
Irp->IoStatus.Information = 0;\
|
Irp->IoStatus.Information = 0;\
|
||||||
Irp->IoStatus.Status = Result;\
|
Irp->IoStatus.Status = Result;\
|
||||||
IoCompleteRequest(Irp, FSP_IO_INCREMENT);\
|
IoCompleteRequest(Irp, FSP_IO_INCREMENT);\
|
||||||
} \
|
} \
|
||||||
else \
|
|
||||||
{ \
|
|
||||||
IoMarkIrpPending(Irp); \
|
|
||||||
} \
|
|
||||||
); \
|
); \
|
||||||
return Result
|
return Result
|
||||||
#define FSP_ENTER_BOOL(...) \
|
#define FSP_ENTER_BOOL(...) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user