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
9bd7e602
Commit
9bd7e602
authored
Dec 04, 2001
by
Guy L. Albertelli
Committed by
Alexandre Julliard
Dec 04, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Correct implementation of _169 (call of Release). This fixes crashes
when actually attempting to call Release. - Correct some traces.
parent
8cd55d0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
ordinal.c
dlls/shlwapi/ordinal.c
+10
-5
No files found.
dlls/shlwapi/ordinal.c
View file @
9bd7e602
...
...
@@ -843,11 +843,16 @@ LONG WINAPI SHLWAPI_165(HWND hwnd, INT offset, UINT wFlags, UINT wMask)
*
* Do IUnknown::Release on passed object.
*/
DWORD
WINAPI
SHLWAPI_169
(
IUnknown
*
lpUnknown
)
DWORD
WINAPI
SHLWAPI_169
(
IUnknown
*
*
lpUnknown
)
{
IUnknown
*
temp
;
TRACE
(
"(%p)
\n
"
,
lpUnknown
);
if
(
!
lpUnknown
||
!*
((
LPDWORD
)
lpUnknown
))
return
0
;
return
IUnknown_Release
(
lpUnknown
);
temp
=
*
lpUnknown
;
*
lpUnknown
=
NULL
;
TRACE
(
"doing Release
\n
"
);
return
IUnknown_Release
(
temp
);
}
/*************************************************************************
...
...
@@ -904,12 +909,12 @@ DWORD WINAPI SHLWAPI_174(
/* see if SetSite interface exists for IObjectWithSite object */
ret
=
IUnknown_QueryInterface
((
IUnknown
*
)
p1
,
(
REFIID
)
id1
,
(
LPVOID
*
)
&
p1
);
TRACE
(
"first IU_QI ret=%08lx, p1=%
08lx
\n
"
,
ret
,
(
DWORD
)
p1
);
TRACE
(
"first IU_QI ret=%08lx, p1=%
p
\n
"
,
ret
,
p1
);
if
(
ret
)
{
/* see if GetClassId interface exists for IPersistMoniker object */
ret
=
IUnknown_QueryInterface
((
IUnknown
*
)
p1
,
(
REFIID
)
id2
,
(
LPVOID
*
)
&
aa
);
TRACE
(
"second IU_QI ret=%08lx,
p1
=%08lx
\n
"
,
ret
,
aa
);
TRACE
(
"second IU_QI ret=%08lx,
aa
=%08lx
\n
"
,
ret
,
aa
);
if
(
ret
)
return
ret
;
/* fake a GetClassId call */
...
...
@@ -1422,7 +1427,7 @@ HWND WINAPI SHLWAPI_278 (
HCURSOR
hCursor
;
char
*
clsname
=
"WorkerA"
;
FIXME
(
"(0x%08lx 0x%08x 0x%08lx 0x%08lx 0x%08x 0x%08lx)stub
\n
"
,
FIXME
(
"(0x%08lx 0x%08x 0x%08lx 0x%08lx 0x%08x 0x%08lx)
partial
stub
\n
"
,
wndProc
,
hWndParent
,
dwExStyle
,
dwStyle
,
hMenu
,
z
);
hCursor
=
LoadCursorA
(
0x00000000
,
IDC_ARROWA
);
...
...
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