#define WM_NCXBUTTONDBLCLK 173
#endif /* (_WIN32_WINNT >= 0x0500) */
+#define GIDC_ARRIVAL 1
+#define GIDC_REMOVAL 2
+
+#define WM_INPUT_DEVICE_CHANGE 254
+#define WM_INPUT 255
+
#define WM_KEYFIRST 256
#define WM_KEYDOWN 256
#define WM_KEYUP 257
#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
HICON hIconSm;
} WNDCLASSEXW,*LPWNDCLASSEXW,*PWNDCLASSEXW;
+#define MNGOF_TOPGAP 0x00000001
+#define MNGOF_BOTTOMGAP 0x00000002
+
+typedef struct tagMENUGETOBJECTINFO {
+ DWORD dwFlags;
+ UINT uPos;
+ HMENU hmenu;
+ PVOID riid;
+ PVOID pvObj;
+} MENUGETOBJECTINFO,*PMENUGETOBJECTINFO;
+
typedef struct tagMENUITEMINFOA {
UINT cbSize;
UINT fMask;