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
da0c4032
Commit
da0c4032
authored
Dec 30, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 07, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qmgr: Remove unused IUnknown *outer parameter from object constructor.
parent
a53179da
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
factory.c
dlls/qmgr/factory.c
+1
-1
qmgr.c
dlls/qmgr/qmgr.c
+2
-2
qmgr.h
dlls/qmgr/qmgr.h
+1
-1
No files found.
dlls/qmgr/factory.c
View file @
da0c4032
...
...
@@ -62,7 +62,7 @@ BITS_IClassFactory_CreateInstance(IClassFactory *iface, IUnknown *pUnkOuter, REF
if
(
pUnkOuter
)
return
CLASS_E_NOAGGREGATION
;
res
=
BackgroundCopyManagerConstructor
(
pUnkOuter
,
(
LPVOID
*
)
&
punk
);
res
=
BackgroundCopyManagerConstructor
((
LPVOID
*
)
&
punk
);
if
(
FAILED
(
res
))
return
res
;
...
...
dlls/qmgr/qmgr.c
View file @
da0c4032
...
...
@@ -138,9 +138,9 @@ BackgroundCopyManagerImpl globalMgr = {
};
/* Constructor for instances of background copy manager */
HRESULT
BackgroundCopyManagerConstructor
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
HRESULT
BackgroundCopyManagerConstructor
(
LPVOID
*
ppObj
)
{
TRACE
(
"(%p
,%p)
\n
"
,
pUnkOuter
,
ppObj
);
TRACE
(
"(%p
)
\n
"
,
ppObj
);
*
ppObj
=
&
globalMgr
;
return
S_OK
;
}
...
...
dlls/qmgr/qmgr.h
View file @
da0c4032
...
...
@@ -84,7 +84,7 @@ extern HANDLE stop_event DECLSPEC_HIDDEN;
extern
ClassFactoryImpl
BITS_ClassFactory
DECLSPEC_HIDDEN
;
extern
BackgroundCopyManagerImpl
globalMgr
DECLSPEC_HIDDEN
;
HRESULT
BackgroundCopyManagerConstructor
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
HRESULT
BackgroundCopyManagerConstructor
(
LPVOID
*
ppObj
)
DECLSPEC_HIDDEN
;
HRESULT
BackgroundCopyJobConstructor
(
LPCWSTR
displayName
,
BG_JOB_TYPE
type
,
GUID
*
pJobId
,
BackgroundCopyJobImpl
**
job
)
DECLSPEC_HIDDEN
;
HRESULT
enum_copy_job_create
(
BackgroundCopyManagerImpl
*
qmgr
,
...
...
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