2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wtsapi32.h (WTSSendMessageA, WTSSendMessageW, WTSSendMessage): Define.
This commit is contained in:
parent
174cb44b90
commit
8a456980d6
|
@ -1,3 +1,8 @@
|
|||
2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
|
||||
|
||||
* include/wtsapi32.h (WTSSendMessageA, WTSSendMessageW, WTSSendMessage):
|
||||
Define.
|
||||
|
||||
2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
|
||||
|
||||
* include/winbase.h (PSAPI_WORKING_SET_BLOCK,
|
||||
|
|
|
@ -136,6 +136,38 @@ void WINAPI WTSFreeMemory(PVOID pMemory);
|
|||
#define WTSQuerySessionInformation WTSQuerySessionInformationA
|
||||
#endif
|
||||
|
||||
BOOL WTSSendMessageA(
|
||||
HANDLE hServer,
|
||||
DWORD SessionId,
|
||||
LPSTR pTitle,
|
||||
DWORD TitleLength,
|
||||
LPSTR pMessage,
|
||||
DWORD MessageLength,
|
||||
DWORD Style,
|
||||
DWORD Timeout,
|
||||
DWORD *pResponse,
|
||||
BOOL bWait
|
||||
);
|
||||
|
||||
BOOL WTSSendMessageW(
|
||||
HANDLE hServer,
|
||||
DWORD SessionId,
|
||||
LPWSTR pTitle,
|
||||
DWORD TitleLength,
|
||||
LPWSTR pMessage,
|
||||
DWORD MessageLength,
|
||||
DWORD Style,
|
||||
DWORD Timeout,
|
||||
DWORD *pResponse,
|
||||
BOOL bWait
|
||||
);
|
||||
|
||||
#ifdef UNICODE
|
||||
#define WTSSendMessage WTSSendMessageW
|
||||
#else
|
||||
#define WTSSendMessage WTSSendMessageA
|
||||
#endif
|
||||
|
||||
#endif /* _WIN32_WINNT >= 0x0500 */
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
Loading…
Reference in New Issue