win32ts.WTSWaitSystemEvent
int = WTSWaitSystemEvent(Server, EventMask
)
Waits for an event to occur
Parameters
Server=WTS_CURRENT_SERVER_HANDLE : PyHANDLE
Handle to a terminal server, or
WTS_CURRENT_SERVER_HANDLE
EventMask=WTS_EVENT_ALL : int
Combination of WTS_EVENT_* values
Return Value
Returns a bitmask of WTS_EVENT_* flags indication which event(s) occurred