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
ab8237c8
Commit
ab8237c8
authored
Dec 30, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wiaservc: Remove unused IUnknown *outer parameter from object constructor.
parent
da0c4032
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
factory.c
dlls/wiaservc/factory.c
+1
-1
wiadevmgr.c
dlls/wiaservc/wiadevmgr.c
+2
-2
wiaservc_private.h
dlls/wiaservc/wiaservc_private.h
+1
-1
No files found.
dlls/wiaservc/factory.c
View file @
ab8237c8
...
...
@@ -77,7 +77,7 @@ WIASERVC_IClassFactory_CreateInstance(LPCLASSFACTORY iface, LPUNKNOWN pUnkOuter,
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
res
=
wiadevmgr_Constructor
(
pUnkOuter
,
(
LPVOID
*
)
&
punk
);
res
=
wiadevmgr_Constructor
((
LPVOID
*
)
&
punk
);
if
(
FAILED
(
res
))
return
res
;
...
...
dlls/wiaservc/wiadevmgr.c
View file @
ab8237c8
...
...
@@ -164,10 +164,10 @@ static const IWiaDevMgrVtbl WIASERVC_IWiaDevMgr_Vtbl =
wiadevmgr_AddDeviceDlg
};
HRESULT
wiadevmgr_Constructor
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
HRESULT
wiadevmgr_Constructor
(
LPVOID
*
ppObj
)
{
wiadevmgr
*
This
;
TRACE
(
"(%p
,%p)
\n
"
,
pUnkOuter
,
ppObj
);
TRACE
(
"(%p
)
\n
"
,
ppObj
);
This
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
wiadevmgr
));
if
(
This
)
{
...
...
dlls/wiaservc/wiaservc_private.h
View file @
ab8237c8
...
...
@@ -34,7 +34,7 @@ typedef struct
LONG
ref
;
}
wiadevmgr
;
HRESULT
wiadevmgr_Constructor
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
HRESULT
wiadevmgr_Constructor
(
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
/* Little helper functions */
static
inline
char
*
...
...
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