#ifndef _WINSTA_H
// rev
NTSYSAPI
BOOLEAN
NTAPI
WinStationWaitSystemEvent(
_In_opt_ HANDLE ServerHandle,
_In_ ULONG EventMask, // WEVENT_*
_Out_ PULONG EventFlags
);
View code on GitHub
This function is a wrapper over an RPC method documented in the [MS-TSTS] specification.