Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
307b20b9
Commit
307b20b9
authored
Nov 29, 2017
by
Louis Lenders
Committed by
Alexandre Julliard
Dec 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Add stub for Shell_NotifyIconGetRect.
Signed-off-by:
Louis Lenders
<
xerox.xerox2000x@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
72db61da
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
shell32.spec
dlls/shell32/shell32.spec
+1
-0
systray.c
dlls/shell32/systray.c
+9
-0
shellapi.h
include/shellapi.h
+10
-0
No files found.
dlls/shell32/shell32.spec
View file @
307b20b9
...
...
@@ -452,6 +452,7 @@
@ stdcall Shell_NotifyIcon(long ptr) Shell_NotifyIconA
@ stdcall Shell_NotifyIconA(long ptr)
@ stdcall Shell_NotifyIconW(long ptr)
@ stdcall Shell_NotifyIconGetRect(ptr ptr)
@ stdcall StrChrA(str long) shlwapi.StrChrA
@ stdcall StrChrIA(str long) shlwapi.StrChrIA
@ stdcall StrChrIW(wstr long) shlwapi.StrChrIW
...
...
dlls/shell32/systray.c
View file @
307b20b9
...
...
@@ -243,3 +243,12 @@ noicon:
if
(
data
!=
&
data_buffer
)
HeapFree
(
GetProcessHeap
(),
0
,
data
);
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
;
}
include/shellapi.h
View file @
307b20b9
...
...
@@ -434,6 +434,14 @@ typedef struct _NOTIFYICONDATAW
HICON
hBalloonIcon
;
}
NOTIFYICONDATAW
,
*
PNOTIFYICONDATAW
;
typedef
struct
_NOTIFYICONIDENTIFIER
{
DWORD
cbSize
;
HWND
hWnd
;
UINT
uID
;
GUID
guidItem
;
}
NOTIFYICONIDENTIFIER
,
*
PNOTIFYICONIDENTIFIER
;
DECL_WINELIB_TYPE_AW
(
NOTIFYICONDATA
)
DECL_WINELIB_TYPE_AW
(
PNOTIFYICONDATA
)
...
...
@@ -442,6 +450,8 @@ BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
#define Shell_NotifyIcon WINELIB_NAME_AW(Shell_NotifyIcon)
HRESULT
WINAPI
Shell_NotifyIconGetRect
(
const
NOTIFYICONIDENTIFIER
*
identifier
,
RECT
*
iconLocation
);
/* pre IE 5.0 */
#define NOTIFYICONDATAA_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAA, szTip[64])
#define NOTIFYICONDATAW_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAW, szTip[64])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment