RegFlushKey: wrong error code.
[wine/testsucceed.git] / include / menu.h
blob99c153faba2baab174951cd8d20d20c5e3ce7a26
1 /*
2 * Menu definitions
3 */
5 #ifndef __WINE_MENU_H
6 #define __WINE_MENU_H
8 #define MAGIC_REDUCE 3
9 #define MAGIC_RESTORE 2
10 #define MAGIC_CLOSE 5
12 extern BOOL32 MENU_Init(void);
13 extern HMENU32 MENU_GetSysMenu(HWND32 hWndOwner, HMENU32 hSysPopup);
14 extern UINT32 MENU_GetMenuBarHeight( HWND32 hwnd, UINT32 menubarWidth,
15 INT32 orgX, INT32 orgY );
16 extern BOOL32 MENU_PatchResidentPopup( HQUEUE16, WND* );
17 extern void MENU_TrackMouseMenuBar( WND *wnd, INT32 ht, POINT32 pt );
18 extern void MENU_TrackKbdMenuBar( WND *wnd, UINT32 wParam, INT32 vkey );
19 extern UINT32 MENU_DrawMenuBar( HDC32 hDC, LPRECT32 lprect,
20 HWND32 hwnd, BOOL32 suppress_draw );
22 #endif /* __WINE_MENU_H */