win32ts.WTSSendMessage

int = WTSSendMessage(Server, SessionId , Title , Message , Style , Timeout , Wait )

Sends a popup message to a terminal services session

Parameters

Server=WTS_CURRENT_SERVER_HANDLE : PyHANDLE

Handle to a terminal server, or WTS_CURRENT_SERVER_HANDLE

SessionId : int

Terminal services session id

Title : PyUnicode

Title of dialog

Message : PyUnicode

Message to be displayed

Style : int

Usually MB_OK

Timeout : int

Seconds to wait before returning (only used if Wait is True)

Wait : boolean

Specifies if function should wait for user input before returning

Return Value

Returns one of IDABORT,IDCANCEL,IDIGNORE,IDNO,IDOK,IDRETRY,IDYES,IDASYNC,IDTIMEOUT,