win32ts.WTSRegisterSessionNotification

WTSRegisterSessionNotification(Wnd, Flags)

Registers a window to receive terminal service notifications

Parameters

Wnd : PyHANDLE

Window handle to receive terminal service messages

Flags : int

NOTIFY_FOR_THIS_SESSION or NOTIFY_FOR_ALL_SESSIONS