https://git.reactos.org/?p=reactos.git;a=commitdiff;h=7bfd6858fbbb09353226d…
commit 7bfd6858fbbb09353226d94b71ff3cceaddac196
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Tue Feb 20 22:05:31 2018 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Fri Aug 17 17:12:19 2018 +0200
[PSDK] Add IDCANCEL and IDASYNC values (returned by MessageBoxTimeout() and
WTSSendMessage() functions).
---
sdk/include/psdk/winuser.h | 5 +++++
sdk/include/psdk/wtsapi32.h | 10 ++++++++++
2 files changed, 15 insertions(+)
diff --git a/sdk/include/psdk/winuser.h b/sdk/include/psdk/winuser.h
index 07613795e4..ec8249cddf 100644
--- a/sdk/include/psdk/winuser.h
+++ b/sdk/include/psdk/winuser.h
@@ -836,6 +836,11 @@ extern "C" {
#define IDTRYAGAIN 10
#define IDCONTINUE 11
#endif
+#if (WINVER >= 0x0501)
+#ifndef IDTIMEOUT
+#define IDTIMEOUT 32000
+#endif
+#endif
#define GWL_EXSTYLE (-20)
#define GWL_STYLE (-16)
diff --git a/sdk/include/psdk/wtsapi32.h b/sdk/include/psdk/wtsapi32.h
index d00a699aac..d24bff9cfc 100644
--- a/sdk/include/psdk/wtsapi32.h
+++ b/sdk/include/psdk/wtsapi32.h
@@ -23,6 +23,16 @@
extern "C" {
#endif
+/*
+ * pResponse values from WTSSendMessage(), in addition
+ * to those from the standard MessageBox() API.
+ */
+#ifndef IDTIMEOUT
+#define IDTIMEOUT 32000
+#endif
+#ifndef IDASYNC
+#define IDASYNC 32001
+#endif
typedef enum _WTS_VIRTUAL_CLASS
{