Commit 4f27582c authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

Stub implementation for GetMenuBarInfo.

parent 9cb94b27
......@@ -3758,6 +3758,14 @@ HMENU WINAPI GetMenu( HWND hWnd )
return retvalue;
}
/**********************************************************************
* GetMenuBarInfo (USER32.@)
*/
BOOL WINAPI GetMenuBarInfo( HWND hwnd, LONG idObject, LONG idItem, PMENUBARINFO pmbi )
{
FIXME( "(%p,0x%08lx,0x%08lx,%p)\n", hwnd, idObject, idItem, pmbi );
return FALSE;
}
/**********************************************************************
* MENU_SetMenu
......
......@@ -266,7 +266,7 @@
@ stdcall GetLastInputInfo(ptr)
# @ stub GetListBoxInfo
@ stdcall GetMenu(long)
# @ stub GetMenuBarInfo
@ stdcall GetMenuBarInfo(long long long ptr)
@ stdcall GetMenuCheckMarkDimensions()
@ stdcall GetMenuContextHelpId(long)
@ stdcall GetMenuDefaultItem(long long long)
......
......@@ -1977,6 +1977,15 @@ typedef const MENUITEMINFOA *LPCMENUITEMINFOA;
typedef const MENUITEMINFOW *LPCMENUITEMINFOW;
DECL_WINELIB_TYPE_AW(LPCMENUITEMINFO)
typedef struct tagMENUBARINFO {
DWORD cbSize;
RECT rcBar;
HMENU hMenu;
HWND hwndMenu;
BOOL fBarFocused:1;
BOOL fFocused:1;
} MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO;
typedef struct tagMENUINFO {
DWORD cbSize;
DWORD fMask;
......@@ -3934,6 +3943,7 @@ BOOL WINAPI GetIconInfo(HICON,PICONINFO);
HKL WINAPI GetKeyboardLayout(DWORD);
UINT WINAPI GetKeyboardLayoutList(INT,HKL *);
BOOL WINAPI GetComboBoxInfo(HWND,PCOMBOBOXINFO);
BOOL WINAPI GetMenuBarInfo(HWND,LONG,LONG,PMENUBARINFO);
DWORD WINAPI GetMenuContextHelpId(HMENU);
UINT WINAPI GetMenuDefaultItem(HMENU,UINT,UINT);
BOOL WINAPI GetMenuInfo(HMENU,LPMENUINFO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment