Remember the allocated string to free it.
[wine/multimedia.git] / include / menu.h
blobf8c25b6ca5ee3f00e4dd31e6e113994b66bda7d9
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 );
23 #endif /* __WINE_MENU_H */