PopCheckpointSystemSleepUnsafe
NTSTATUS __stdcall PopCheckpointSystemSleepUnsafe(POP_SLEEP_CHECKPOINT Progress){
NTSTATUS result;
UINT64 Attributes;
char Value;
Value = Progress;
LODWORD(Attributes) = 1;
if( !PoAllProcIntrDisabled )
return ExSetFirmwareEnvironmentVariable(
(_UNICODE_STRING *)&PopCheckpointSystemSleepVariable,
(_GUID *)&SYSTEM_SLEEP_ETW_CHECKPOINT_GUID,
&Value,
1ui64,
Attributes);
if( !PopCheckpointEfiRuntimeRedirected )
return HalSetEnvironmentVariableEx(
(WCHAR *)L"SystemSleepCheckpoint",
(_GUID *)&SYSTEM_SLEEP_ETW_CHECKPOINT_GUID,
&Value,
1ui64,
Attributes);
VslReportBugCheckProgress();
return result;
}Referenced by:
PopCheckpointSystemSleep
PopEnableSystemSleepCheckpoint