diff options
author | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-03-05 20:43:53 +0000 |
---|---|---|
committer | Chris Sutcliffe <ir0nh34d@users.sourceforge.net> | 2011-03-05 20:43:53 +0000 |
commit | 8a456980d633d85fd226021d77c61aed7f258e00 (patch) | |
tree | ecacd7cb44795e5dbca9ae72b082572e611426c0 | |
parent | 174cb44b90a20c0b3e0a5d4ed2bd6ab2dcc03506 (diff) | |
download | newlib-8a456980d633d85fd226021d77c61aed7f258e00.zip newlib-8a456980d633d85fd226021d77c61aed7f258e00.tar.gz newlib-8a456980d633d85fd226021d77c61aed7f258e00.tar.bz2 |
2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wtsapi32.h (WTSSendMessageA, WTSSendMessageW, WTSSendMessage):
Define.
-rw-r--r-- | winsup/w32api/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/w32api/include/wtsapi32.h | 32 |
2 files changed, 37 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index 4717989..1b66997 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,5 +1,10 @@ 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, PSAPI_WORKING_SET_INFORMATION): Define. diff --git a/winsup/w32api/include/wtsapi32.h b/winsup/w32api/include/wtsapi32.h index f9f1802..5bd09bb 100644 --- a/winsup/w32api/include/wtsapi32.h +++ b/winsup/w32api/include/wtsapi32.h @@ -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 |