Move definition of CPINFO structure from winbase.h to winnls.h
[wine.git] / include / menu.h
blob741def89956ed072c6df2d0c6bbde85872991952
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 HMENU MENU_GetSysMenu(HWND hWndOwner, HMENU hSysPopup);
15 extern UINT MENU_GetMenuBarHeight( HWND hwnd, UINT menubarWidth,
16 INT orgX, INT orgY );
17 extern BOOL MENU_PatchResidentPopup( HQUEUE16, WND* );
18 extern void MENU_TrackMouseMenuBar( WND *wnd, INT ht, POINT pt );
19 extern void MENU_TrackKbdMenuBar( WND *wnd, UINT wParam, INT vkey );
20 extern UINT MENU_DrawMenuBar( HDC hDC, LPRECT lprect,
21 HWND hwnd, BOOL suppress_draw );
22 extern UINT MENU_FindSubMenu( HMENU *hmenu, HMENU hSubTarget );
24 #endif /* __WINE_MENU_H */