[PSDK] Add IDCANCEL and IDASYNC values (returned by MessageBoxTimeout() and WTSSendMe...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Tue, 20 Feb 2018 21:05:31 +0000 (22:05 +0100)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 17 Aug 2018 15:12:19 +0000 (17:12 +0200)
sdk/include/psdk/winuser.h
sdk/include/psdk/wtsapi32.h

index 0761379..ec8249c 100644 (file)
@@ -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)
index d00a699..d24bff9 100644 (file)
 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
 {