Moved some stubs and added forwards in order to make both winapi_check
[wine.git] / include / menu.h
blob88e4a5eaf5e8543d434815dcbebf167bed6dc42d
1 /*
2 * Menu definitions
3 */
5 #ifndef __WINE_MENU_H
6 #define __WINE_MENU_H
8 #include "win.h"
10 LRESULT WINAPI PopupMenuWndProc( HWND hwnd, UINT message, WPARAM wParam,
11 LPARAM lParam );
13 extern BOOL MENU_Init(void);
14 extern BOOL MENU_IsMenuActive(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 extern UINT MENU_FindSubMenu( HMENU *hmenu, HMENU hSubTarget );
25 #endif /* __WINE_MENU_H */