https://git.reactos.org/?p=reactos.git;a=commitdiff;h=34bf24756a6ebad1bac89…
commit 34bf24756a6ebad1bac8954670a30570cd2f7479
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Mon Jul 15 23:03:06 2019 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Mon Jul 15 23:03:06 2019 +0900
[SDK][INCLUDE] Add WM_WTSSESSION_CHANGE message (#1730)
- Add WM_WTSSESSION_CHANGE messages to <winuser.h>.
- Add WTS_* constant macros.
---
sdk/include/psdk/winuser.h | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/sdk/include/psdk/winuser.h b/sdk/include/psdk/winuser.h
index 081783cf6b0..40e629e6f18 100644
--- a/sdk/include/psdk/winuser.h
+++ b/sdk/include/psdk/winuser.h
@@ -1825,6 +1825,21 @@ extern "C" {
#define WM_MOUSEHOVER 0x02A1
#define WM_MOUSELEAVE 0x02A3
+#if (_WIN32_WINNT >= 0x0501)
+#define WTS_CONSOLE_CONNECT 0x1
+#define WTS_CONSOLE_DISCONNECT 0x2
+#define WTS_REMOTE_CONNECT 0x3
+#define WTS_REMOTE_DISCONNECT 0x4
+#define WTS_SESSION_LOGON 0x5
+#define WTS_SESSION_LOGOFF 0x6
+#define WTS_SESSION_LOCK 0x7
+#define WTS_SESSION_UNLOCK 0x8
+#define WTS_SESSION_REMOTE_CONTROL 0x9
+#define WTS_SESSION_CREATE 0xA
+#define WTS_SESSION_TERMINATE 0xB
+#define WM_WTSSESSION_CHANGE 0x02B1
+#endif
+
#define WM_CUT 768
#define WM_COPY 769
#define WM_PASTE 770