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
c6670526
Commit
c6670526
authored
Aug 29, 2003
by
Rolf Kalbermatter
Committed by
Alexandre Julliard
Aug 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change protoype of SHChangeNotifyRegister to what MSDN says.
Remove an unsigned mismatch warning.
parent
a3f6410f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
changenotify.c
dlls/shell32/changenotify.c
+4
-4
undocshell.h
dlls/shell32/undocshell.h
+5
-4
No files found.
dlls/shell32/changenotify.c
View file @
c6670526
...
...
@@ -185,17 +185,17 @@ SHChangeNotifyRegister(
HWND
hwnd
,
LONG
dwFlags
,
LONG
wEventMask
,
DWORD
uMsg
,
UINT
uMsg
,
int
cItems
,
LPCNOTIFYREGISTER
lpItems
)
{
LPNOTIFICATIONLIST
item
;
DWORD
i
;
int
i
;
item
=
SHAlloc
(
sizeof
(
NOTIFICATIONLIST
));
TRACE
(
"(%p,0x%08lx,0x%08lx,0x%08
l
x,0x%08x,%p) item=%p
\n
"
,
hwnd
,
dwFlags
,
wEventMask
,
uMsg
,
cItems
,
lpItems
,
item
);
TRACE
(
"(%p,0x%08lx,0x%08lx,0x%08x,0x%08x,%p) item=%p
\n
"
,
hwnd
,
dwFlags
,
wEventMask
,
uMsg
,
cItems
,
lpItems
,
item
);
item
->
next
=
NULL
;
item
->
prev
=
NULL
;
...
...
dlls/shell32/undocshell.h
View file @
c6670526
...
...
@@ -137,9 +137,10 @@ HRESULT WINAPI StrRetToStrNAW (
/****************************************************************************
* SHChangeNotifyRegister API
*/
#define SHCNF_ACCEPT_INTERRUPTS 0x0001
#define SHCNF_ACCEPT_NON_INTERRUPTS 0x0002
#define SHCNF_NO_PROXY 0x8001
#define SHCNRF_InterruptLevel 0x0001
#define SHCNRF_ShellLevel 0x0002
#define SHCNRF_RecursiveInterrupt 0x1000
/* Must be combined with SHCNRF_InterruptLevel */
#define SHCNRF_NewDelivery 0x8000
/* Messages use shared memory */
typedef
struct
{
...
...
@@ -160,7 +161,7 @@ HANDLE WINAPI SHChangeNotifyRegister(
HWND
hwnd
,
LONG
dwFlags
,
LONG
wEventMask
,
DWORD
uMsg
,
UINT
uMsg
,
int
cItems
,
LPCNOTIFYREGISTER
lpItems
);
...
...
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