Implement ExAcquireRundownProtection() and ExReleaseRundownProtection() routines

This commit is contained in:
2023-03-18 11:11:06 +01:00
parent 1f8026db2f
commit 2827bb400f
4 changed files with 136 additions and 0 deletions

View File

@@ -11,6 +11,7 @@
#include <xtbase.h>
#include <xttypes.h>
#include <ketypes.h>
/* Executive rundown protection structure definition */
@@ -23,4 +24,11 @@ typedef struct _EX_RUNDOWN_REFERENCE
};
} EX_RUNDOWN_REFERENCE, *PEX_RUNDOWN_REFERENCE;
/* Executive rundown wait block definition */
typedef struct _EX_RUNDOWN_WAIT_BLOCK
{
ULONG_PTR Count;
KEVENT WakeEvent;
} EX_RUNDOWN_WAIT_BLOCK, *PEX_RUNDOWN_WAIT_BLOCK;
#endif /* __XTDK_EXTYPES_H */