Skip to content

Commit 7bfd685

Browse files
committed
[PSDK] Add IDCANCEL and IDASYNC values (returned by MessageBoxTimeout() and WTSSendMessage() functions).
1 parent fcfcf7a commit 7bfd685

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

sdk/include/psdk/winuser.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -836,6 +836,11 @@ extern "C" {
836836
#define IDTRYAGAIN 10
837837
#define IDCONTINUE 11
838838
#endif
839+
#if (WINVER >= 0x0501)
840+
#ifndef IDTIMEOUT
841+
#define IDTIMEOUT 32000
842+
#endif
843+
#endif
839844

840845
#define GWL_EXSTYLE (-20)
841846
#define GWL_STYLE (-16)

sdk/include/psdk/wtsapi32.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
extern "C" {
2424
#endif
2525

26+
/*
27+
* pResponse values from WTSSendMessage(), in addition
28+
* to those from the standard MessageBox() API.
29+
*/
30+
#ifndef IDTIMEOUT
31+
#define IDTIMEOUT 32000
32+
#endif
33+
#ifndef IDASYNC
34+
#define IDASYNC 32001
35+
#endif
2636

2737
typedef enum _WTS_VIRTUAL_CLASS
2838
{

0 commit comments

Comments
 (0)