diff --git a/controls/combo.c b/controls/combo.c index d9a437b2dd0..5c34d137d0f 100644 --- a/controls/combo.c +++ b/controls/combo.c @@ -2322,3 +2322,14 @@ static LRESULT WINAPI ComboWndProcW( HWND hwnd, UINT message, WPARAM wParam, LPA if (!IsWindow(hwnd)) return 0; return ComboWndProc_common( hwnd, message, wParam, lParam, TRUE ); } + +/************************************************************************* + * GetComboBoxInfo (USER32.@) + */ +BOOL WINAPI GetComboBoxInfo(HWND hwndCombo, /* handle to combo box */ + PCOMBOBOXINFO pcbi /* combo box information */) +{ + FIXME("\n"); + return FALSE; + +} diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 23e8d4c1aed..19da4e62ce0 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -228,6 +228,7 @@ init UserClientDllInitialize @ stdcall GetClipboardFormatNameW(long ptr long) GetClipboardFormatNameW @ stdcall GetClipboardOwner() GetClipboardOwner @ stdcall GetClipboardViewer() GetClipboardViewer +@ stdcall GetComboBoxInfo(long ptr) GetComboBoxInfo @ stdcall GetCursor() GetCursor @ stdcall GetCursorInfo(ptr) GetCursorInfo @ stdcall GetCursorPos(ptr) GetCursorPos diff --git a/include/winuser.h b/include/winuser.h index 6cbe773a84b..cce01e4fe5b 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -1849,6 +1849,21 @@ typedef struct RECT rcExclude; } TPMPARAMS, *LPTPMPARAMS; + +/* + * Combobox information + */ +typedef struct tagCOMBOBOXINFO +{ + DWORD cbSize; + RECT rcItem; + RECT rcButton; + DWORD stateButton; + HWND hwndCombo; + HWND hwndItem; + HWND hwndList; +} COMBOBOXINFO, *PCOMBOBOXINFO, *LPCOMBOBOXINFO; + /* FIXME: not sure this one is correct */ typedef struct { UINT cbSize; @@ -3714,6 +3729,7 @@ BOOL WINAPI ExitWindowsEx(UINT,DWORD); BOOL WINAPI GetIconInfo(HICON,PICONINFO); HKL WINAPI GetKeyboardLayout(DWORD); INT WINAPI GetKeyboardLayoutList(INT,HKL *); +BOOL WINAPI GetComboBoxInfo(HWND,PCOMBOBOXINFO); DWORD WINAPI GetMenuContextHelpId(HMENU); UINT WINAPI GetMenuDefaultItem(HMENU,UINT,UINT); BOOL WINAPI GetMenuInfo(HMENU,LPMENUINFO);