mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-24 01:13:04 -05:00
sys: ToplevelIrp functionality
This commit is contained in:
parent
43bfb251ae
commit
5203a0360d
@ -60,7 +60,8 @@ VOID FspFileDescDelete(FSP_FILE_DESC *FileDesc);
|
|||||||
|
|
||||||
#define FSP_FILE_NODE_GET_FLAGS() \
|
#define FSP_FILE_NODE_GET_FLAGS() \
|
||||||
PIRP Irp = IoGetTopLevelIrp(); \
|
PIRP Irp = IoGetTopLevelIrp(); \
|
||||||
BOOLEAN IrpValid = FSRTL_MAX_TOP_LEVEL_IRP_FLAG < (UINT_PTR)Irp && IO_TYPE_IRP == Irp->Type;\
|
BOOLEAN IrpValid = FSRTL_MAX_TOP_LEVEL_IRP_FLAG < (UINT_PTR)Irp &&\
|
||||||
|
IO_TYPE_IRP == Irp->Type;\
|
||||||
if (IrpValid) \
|
if (IrpValid) \
|
||||||
Flags &= ~FspIrpTopFlags(Irp);
|
Flags &= ~FspIrpTopFlags(Irp);
|
||||||
#define FSP_FILE_NODE_SET_FLAGS() \
|
#define FSP_FILE_NODE_SET_FLAGS() \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user