UserThreadWOWInformation,
UserThreadHungStatus,
UserThreadInitiateShutdown,
-
UserThreadEndShutdown,
UserThreadUseActiveDesktop,
UserThreadUseDesktop,
/* Menu Item fType. */
#define MFT_RTOL 0x6000
+/* Menu Item fState. */
+#define MFS_HBMMENUBMP 0x20000000
+
typedef struct tagITEM
{
UINT fType;
INT cyBmp; /* Height " */
//// ReactOS
UNICODE_STRING lpstr;
- struct tagITEM *Next;
} ITEM, *PITEM;
typedef struct tagMENULIST
#define MNF_DESKTOPMN 0x0040
#define MNF_SYSDESKMN 0x0080
#define MNF_SYSSUBMENU 0x0100
+// Hack
+#define MNF_SYSMENU 0x0200
typedef struct tagMENU
{
DWORD dwArrowsOn:2; /* Arrows: 0 off, 1 on, 2 to the top, 3 to the bottom. */
//// ReactOS
LIST_ENTRY ListEntry;
- HWND hWnd; /* Window containing the menu */
+ HWND hWnd; /* Window containing the menu, use POPUPMENU */
BOOL TimeToHide;
} MENU, *PMENU;
#define MSQ_STATE_MENUOWNER 0x4
#define MSQ_STATE_MOVESIZE 0x5
#define MSQ_STATE_CARET 0x6
-#define TWOPARAM_ROUTINE_SETCARETPOS 0xfffd0060
#define TWOPARAM_ROUTINE_ROS_UPDATEUISTATE 0x1004
#define HWNDPARAM_ROUTINE_ROS_NOTIFYWINEVENT 0x1005