Stub implementation for GetMenuBarInfo.

This commit is contained in:
Hans Leidekker 2005-06-20 11:45:21 +00:00 committed by Alexandre Julliard
parent 9cb94b276f
commit 4f27582cc8
3 changed files with 19 additions and 1 deletions

View file

@ -3758,6 +3758,14 @@ HMENU WINAPI GetMenu( HWND hWnd )
return retvalue; 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 * MENU_SetMenu

View file

@ -266,7 +266,7 @@
@ stdcall GetLastInputInfo(ptr) @ stdcall GetLastInputInfo(ptr)
# @ stub GetListBoxInfo # @ stub GetListBoxInfo
@ stdcall GetMenu(long) @ stdcall GetMenu(long)
# @ stub GetMenuBarInfo @ stdcall GetMenuBarInfo(long long long ptr)
@ stdcall GetMenuCheckMarkDimensions() @ stdcall GetMenuCheckMarkDimensions()
@ stdcall GetMenuContextHelpId(long) @ stdcall GetMenuContextHelpId(long)
@ stdcall GetMenuDefaultItem(long long long) @ stdcall GetMenuDefaultItem(long long long)

View file

@ -1977,6 +1977,15 @@ typedef const MENUITEMINFOA *LPCMENUITEMINFOA;
typedef const MENUITEMINFOW *LPCMENUITEMINFOW; typedef const MENUITEMINFOW *LPCMENUITEMINFOW;
DECL_WINELIB_TYPE_AW(LPCMENUITEMINFO) 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 { typedef struct tagMENUINFO {
DWORD cbSize; DWORD cbSize;
DWORD fMask; DWORD fMask;
@ -3934,6 +3943,7 @@ BOOL WINAPI GetIconInfo(HICON,PICONINFO);
HKL WINAPI GetKeyboardLayout(DWORD); HKL WINAPI GetKeyboardLayout(DWORD);
UINT WINAPI GetKeyboardLayoutList(INT,HKL *); UINT WINAPI GetKeyboardLayoutList(INT,HKL *);
BOOL WINAPI GetComboBoxInfo(HWND,PCOMBOBOXINFO); BOOL WINAPI GetComboBoxInfo(HWND,PCOMBOBOXINFO);
BOOL WINAPI GetMenuBarInfo(HWND,LONG,LONG,PMENUBARINFO);
DWORD WINAPI GetMenuContextHelpId(HMENU); DWORD WINAPI GetMenuContextHelpId(HMENU);
UINT WINAPI GetMenuDefaultItem(HMENU,UINT,UINT); UINT WINAPI GetMenuDefaultItem(HMENU,UINT,UINT);
BOOL WINAPI GetMenuInfo(HMENU,LPMENUINFO); BOOL WINAPI GetMenuInfo(HMENU,LPMENUINFO);