Source position: jwawtsapi32.pas line 682
function WTSWaitSystemEvent(
hServer: HANDLE;
EventMask: DWORD;
var pEventFlags: DWORD
):BOOL;