Commit 307b20b9 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

shell32: Add stub for Shell_NotifyIconGetRect.

parent 72db61da
...@@ -452,6 +452,7 @@ ...@@ -452,6 +452,7 @@
@ stdcall Shell_NotifyIcon(long ptr) Shell_NotifyIconA @ stdcall Shell_NotifyIcon(long ptr) Shell_NotifyIconA
@ stdcall Shell_NotifyIconA(long ptr) @ stdcall Shell_NotifyIconA(long ptr)
@ stdcall Shell_NotifyIconW(long ptr) @ stdcall Shell_NotifyIconW(long ptr)
@ stdcall Shell_NotifyIconGetRect(ptr ptr)
@ stdcall StrChrA(str long) shlwapi.StrChrA @ stdcall StrChrA(str long) shlwapi.StrChrA
@ stdcall StrChrIA(str long) shlwapi.StrChrIA @ stdcall StrChrIA(str long) shlwapi.StrChrIA
@ stdcall StrChrIW(wstr long) shlwapi.StrChrIW @ stdcall StrChrIW(wstr long) shlwapi.StrChrIW
......
...@@ -243,3 +243,12 @@ noicon: ...@@ -243,3 +243,12 @@ noicon:
if (data != &data_buffer) HeapFree( GetProcessHeap(), 0, data ); if (data != &data_buffer) HeapFree( GetProcessHeap(), 0, data );
return ret; return ret;
} }
/*************************************************************************
* Shell_NotifyIconGetRect [SHELL32.@]
*/
HRESULT WINAPI Shell_NotifyIconGetRect(const NOTIFYICONIDENTIFIER* identifier, RECT* icon_location)
{
FIXME("stub (%p) (%p)\n", identifier, icon_location);
return E_NOTIMPL;
}
...@@ -434,6 +434,14 @@ typedef struct _NOTIFYICONDATAW ...@@ -434,6 +434,14 @@ typedef struct _NOTIFYICONDATAW
HICON hBalloonIcon; HICON hBalloonIcon;
} NOTIFYICONDATAW, *PNOTIFYICONDATAW; } NOTIFYICONDATAW, *PNOTIFYICONDATAW;
typedef struct _NOTIFYICONIDENTIFIER
{
DWORD cbSize;
HWND hWnd;
UINT uID;
GUID guidItem;
} NOTIFYICONIDENTIFIER, *PNOTIFYICONIDENTIFIER;
DECL_WINELIB_TYPE_AW(NOTIFYICONDATA) DECL_WINELIB_TYPE_AW(NOTIFYICONDATA)
DECL_WINELIB_TYPE_AW(PNOTIFYICONDATA) DECL_WINELIB_TYPE_AW(PNOTIFYICONDATA)
...@@ -442,6 +450,8 @@ BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData); ...@@ -442,6 +450,8 @@ BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
#define Shell_NotifyIcon WINELIB_NAME_AW(Shell_NotifyIcon) #define Shell_NotifyIcon WINELIB_NAME_AW(Shell_NotifyIcon)
HRESULT WINAPI Shell_NotifyIconGetRect(const NOTIFYICONIDENTIFIER* identifier, RECT* iconLocation);
/* pre IE 5.0 */ /* pre IE 5.0 */
#define NOTIFYICONDATAA_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAA, szTip[64]) #define NOTIFYICONDATAA_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAA, szTip[64])
#define NOTIFYICONDATAW_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAW, szTip[64]) #define NOTIFYICONDATAW_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAW, szTip[64])
......
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