OSDN Git Service

2007-07-31 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
authorironhead <ironhead>
Tue, 31 Jul 2007 17:55:40 +0000 (17:55 +0000)
committerironhead <ironhead>
Tue, 31 Jul 2007 17:55:40 +0000 (17:55 +0000)
        * include/wtsapi32.h (WTS_CURRENT_SESSION, WTSDisconnectSession): Define.

winsup/w32api/ChangeLog
winsup/w32api/include/wtsapi32.h

index ff552cb..e6f4662 100644 (file)
@@ -1,3 +1,7 @@
+2007-07-31  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>
+
+       * include/wtsapi32.h (WTS_CURRENT_SESSION, WTSDisconnectSession): Define.
+
 2007-7-30  Martijn Wargers  <martijnw22@users.sourceforge.net>
 
        * include/wingdi.h (GetTextExtentExPointI): Add prototype.
index a7213b8..9b3dc4d 100644 (file)
@@ -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