From 5e51ebbfc63cb10c8fd0f04f2483e69df04ed596 Mon Sep 17 00:00:00 2001 From: Chris Sutcliffe Date: Tue, 31 Jul 2007 17:55:40 +0000 Subject: [PATCH] 2007-07-31 Chris Sutcliffe * include/wtsapi32.h (WTS_CURRENT_SESSION, WTSDisconnectSession): Define. --- winsup/w32api/ChangeLog | 4 ++++ winsup/w32api/include/wtsapi32.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index ff552cb11..e6f4662d7 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -1,3 +1,7 @@ +2007-07-31 Chris Sutcliffe + + * include/wtsapi32.h (WTS_CURRENT_SESSION, WTSDisconnectSession): Define. + 2007-7-30 Martijn Wargers * include/wingdi.h (GetTextExtentExPointI): Add prototype. diff --git a/winsup/w32api/include/wtsapi32.h b/winsup/w32api/include/wtsapi32.h index a7213b882..9b3dc4d9e 100644 --- a/winsup/w32api/include/wtsapi32.h +++ b/winsup/w32api/include/wtsapi32.h @@ -34,7 +34,8 @@ BOOL WINAPI WTSUnRegisterSessionNotification(HWND hWnd); #if (_WIN32_WINNT >= 0x0500) // WTSWaitSystemEvent local server handle -#define WTS_CURRENT_SERVER_HANDLE 0 +#define WTS_CURRENT_SERVER_HANDLE 0 +#define WTS_CURRENT_SESSION 0 // WTSWaitSystemEvent flags #define WTS_EVENT_NONE 0x00000000 @@ -51,6 +52,7 @@ BOOL WINAPI WTSUnRegisterSessionNotification(HWND hWnd); #define WTS_EVENT_FLUSH 0x80000000 BOOL WINAPI WTSWaitSystemEvent(HANDLE hServer, DWORD EventMask, DWORD* pEventFlags); +BOOL WINAPI WTSDisconnectSession(HANDLE hServer, DWORD SessionId, BOOL bWait); #endif /* _WIN32_WINNT >= 0x0500 */ #ifdef __cplusplus