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
55b4e4e3
Commit
55b4e4e3
authored
Mar 27, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 29, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Fix IUnknown_AtomicRelease prototype and simplify body a bit.
parent
076676d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
9 deletions
+6
-9
ordinal.c
dlls/shlwapi/ordinal.c
+6
-9
No files found.
dlls/shlwapi/ordinal.c
View file @
55b4e4e3
...
...
@@ -1210,7 +1210,7 @@ HRESULT WINAPI ConnectToConnectionPoint(IUnknown* lpUnkSink, REFIID riid, BOOL f
/*************************************************************************
* @ [SHLWAPI.169]
*
* Release an interface.
* Release an interface
and zero a supplied pointer
.
*
* PARAMS
* lpUnknown [I] Object to release
...
...
@@ -1218,19 +1218,16 @@ HRESULT WINAPI ConnectToConnectionPoint(IUnknown* lpUnkSink, REFIID riid, BOOL f
* RETURNS
* Nothing.
*/
DWORD
WINAPI
IUnknown_AtomicRelease
(
IUnknown
**
lpUnknown
)
void
WINAPI
IUnknown_AtomicRelease
(
IUnknown
**
lpUnknown
)
{
IUnknown
*
temp
;
TRACE
(
"(%p)
\n
"
,
lpUnknown
)
;
TRACE
(
"(%p)
\n
"
,
lpUnknown
);
if
(
!
lpUnknown
||
!*
((
LPDWORD
)
lpUnknown
))
return
0
;
temp
=
*
lpUnknown
;
*
lpUnknown
=
NULL
;
if
(
!
lpUnknown
||
!*
lpUnknown
)
return
;
TRACE
(
"doing Release
\n
"
);
return
IUnknown_Release
(
temp
);
IUnknown_Release
(
*
lpUnknown
);
*
lpUnknown
=
NULL
;
}
/*************************************************************************
...
...
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