Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Sutcliffe <ir0nh34d@users.sourceforge.net>2007-07-31 21:55:40 +0400
committerChris Sutcliffe <ir0nh34d@users.sourceforge.net>2007-07-31 21:55:40 +0400
commit5e51ebbfc63cb10c8fd0f04f2483e69df04ed596 (patch)
tree7b12ffdeaee8a63c34d28827f73d4110d4a6f73f
parent9235f3ead1cc91bd1a864ecf635717823f1da610 (diff)
2007-07-31 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/wtsapi32.h (WTS_CURRENT_SESSION, WTSDisconnectSession): Define.
-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 ff552cb11..e6f4662d7 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 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