SmSetThreadSystemPagePriority
UINT64 __stdcall SmSetThreadSystemPagePriority(VOID **ThreadPtr, UINT64 SystemPagePriority, UINT64 Revert){
unsigned int v4;
_ETHREAD *CurrentThread;
v4 = 0;
CurrentThread = (_ETHREAD *)*ThreadPtr;
if( !CurrentThread )
{
CurrentThread = (_ETHREAD *)KeGetCurrentThread();
*ThreadPtr = CurrentThread;
}
if( (_DWORD)Revert )
PsRevertToUserPagePriorityThread(CurrentThread, SystemPagePriority);
else
return(unsigned int)PsSetSystemPagePriorityThread(CurrentThread, SystemPagePriority);
return v4;
}Referenced by:
ST_STORE::StDmpSinglePageRetrieve