Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ab5c3ad8
Commit
ab5c3ad8
authored
Aug 19, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
browseui: Call interface methods properly.
parent
bd102b52
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
aclmulti.c
dlls/browseui/aclmulti.c
+1
-1
aclsource.c
dlls/browseui/aclsource.c
+1
-1
progressdlg.c
dlls/browseui/progressdlg.c
+1
-1
progressdlg.c
dlls/browseui/tests/progressdlg.c
+4
-4
No files found.
dlls/browseui/aclmulti.c
View file @
ab5c3ad8
...
...
@@ -113,7 +113,7 @@ static HRESULT WINAPI ACLMulti_QueryInterface(IEnumString *iface, REFIID iid, LP
if
(
*
ppvOut
)
{
I
Unknown
_AddRef
(
iface
);
I
EnumString
_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/browseui/aclsource.c
View file @
ab5c3ad8
...
...
@@ -72,7 +72,7 @@ static HRESULT WINAPI ACLShellSource_QueryInterface(IACList2 *iface, REFIID iid,
if
(
*
ppvOut
)
{
I
Unknown
_AddRef
(
iface
);
I
ACList2
_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/browseui/progressdlg.c
View file @
ab5c3ad8
...
...
@@ -291,7 +291,7 @@ static HRESULT WINAPI ProgressDialog_QueryInterface(IProgressDialog *iface, REFI
if
(
*
ppvOut
)
{
I
Unknown
_AddRef
(
iface
);
I
ProgressDialog
_AddRef
(
iface
);
return
S_OK
;
}
...
...
dlls/browseui/tests/progressdlg.c
View file @
ab5c3ad8
...
...
@@ -39,19 +39,19 @@ static void test_IProgressDialog_QueryInterface(void)
return
;
}
hr
=
I
Unknown
_QueryInterface
(
dlg
,
&
IID_IUnknown
,
NULL
);
hr
=
I
ProgressDialog
_QueryInterface
(
dlg
,
&
IID_IUnknown
,
NULL
);
ok
(
hr
==
E_POINTER
,
"got 0x%x (expected E_POINTER)
\n
"
,
hr
);
hr
=
I
Unknown
_QueryInterface
(
dlg
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
hr
=
I
ProgressDialog
_QueryInterface
(
dlg
,
&
IID_IUnknown
,
(
void
**
)
&
unk
);
ok
(
hr
==
S_OK
,
"QueryInterface (IUnknown) returned 0x%x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
IUnknown_Release
(
unk
);
}
hr
=
I
Unknown
_QueryInterface
(
dlg
,
&
IID_IOleWindow
,
(
void
**
)
&
olewindow
);
hr
=
I
ProgressDialog
_QueryInterface
(
dlg
,
&
IID_IOleWindow
,
(
void
**
)
&
olewindow
);
ok
(
hr
==
S_OK
,
"QueryInterface (IOleWindow) returned 0x%x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
I
Unknown
_QueryInterface
(
olewindow
,
&
IID_IProgressDialog
,
(
void
**
)
&
dlg2
);
hr
=
I
OleWindow
_QueryInterface
(
olewindow
,
&
IID_IProgressDialog
,
(
void
**
)
&
dlg2
);
ok
(
hr
==
S_OK
,
"QueryInterface (IProgressDialog) returned 0x%x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
IProgressDialog_Release
(
dlg2
);
...
...
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