MCPcopy Create free account
hub / github.com/SafeBreach-Labs/PoolParty / w_RtlAdjustPrivilege

Function w_RtlAdjustPrivilege

PoolParty/Native.cpp:98–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98BOOLEAN w_RtlAdjustPrivilege(ULONG Privilege, BOOLEAN Enable, BOOLEAN CurrentThread)
99{
100 BOOLEAN Enabled = NULL;
101 NT_SUCCESS_OR_RAISE(
102 "RtlAdjustPrivilege",
103 RtlAdjustPrivilege(
104 Privilege,
105 Enable,
106 CurrentThread,
107 &Enabled)
108 );
109 return Enabled;
110}
111
112void w_ZwSetIoCompletion(HANDLE IoCompletionHandle, PVOID KeyContext, PVOID ApcContext, NTSTATUS IoStatus, ULONG_PTR IoStatusInformation)
113{

Callers 1

mainFunction · 0.85

Calls 1

NT_SUCCESS_OR_RAISEFunction · 0.85

Tested by

no test coverage detected