Added support for mappings with no associated file.
[wine] / include / menu.h
1 /*
2  * Menu definitions
3  */
4
5 #ifndef __WINE_MENU_H
6 #define __WINE_MENU_H
7
8 #include "win.h"
9
10 #define MAGIC_REDUCE  3
11 #define MAGIC_RESTORE 2
12 #define MAGIC_CLOSE   5
13
14 extern BOOL MENU_Init(void);
15 extern HMENU MENU_GetSysMenu(HWND hWndOwner, HMENU hSysPopup);
16 extern UINT MENU_GetMenuBarHeight( HWND hwnd, UINT menubarWidth,
17                                      INT orgX, INT orgY );
18 extern BOOL MENU_PatchResidentPopup( HQUEUE16, WND* );
19 extern void MENU_TrackMouseMenuBar( WND *wnd, INT ht, POINT pt );
20 extern void MENU_TrackKbdMenuBar( WND *wnd, UINT wParam, INT vkey );
21 extern UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect,
22                                 HWND hwnd, BOOL suppress_draw );
23
24 #endif /* __WINE_MENU_H */