aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2007-07-31 17:55:40 +0000
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2007-07-31 17:55:40 +0000
commit5e51ebbfc63cb10c8fd0f04f2483e69df04ed596 (patch)
tree7b12ffdeaee8a63c34d28827f73d4110d4a6f73f /winsup
parent9235f3ead1cc91bd1a864ecf635717823f1da610 (diff)
downloadnewlib-5e51ebbfc63cb10c8fd0f04f2483e69df04ed596.zip
newlib-5e51ebbfc63cb10c8fd0f04f2483e69df04ed596.tar.gz
newlib-5e51ebbfc63cb10c8fd0f04f2483e69df04ed596.tar.bz2
2007-07-31 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wtsapi32.h (WTS_CURRENT_SESSION, WTSDisconnectSession): Define.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/w32api/ChangeLog4
-rw-r--r--winsup/w32api/include/wtsapi32.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog
index ff552cb..e6f4662 100644
--- a/winsup/w32api/ChangeLog
+++ b/winsup/w32api/ChangeLog
@@ -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.
diff --git a/winsup/w32api/include/wtsapi32.h b/winsup/w32api/include/wtsapi32.h
index a7213b8..9b3dc4d 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