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
fa4950c3
Commit
fa4950c3
authored
Mar 29, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Mar 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dplayx: Get rid of LPCLASSFACTORY and use a better name for the methods.
parent
2f425fb8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
14 deletions
+17
-14
dpclassfactory.c
dlls/dplayx/dpclassfactory.c
+17
-14
No files found.
dlls/dplayx/dpclassfactory.c
View file @
fa4950c3
...
...
@@ -52,8 +52,9 @@ static inline IClassFactoryImpl *impl_from_IClassFactory(IClassFactory *iface)
return
CONTAINING_RECORD
(
iface
,
IClassFactoryImpl
,
IClassFactory_iface
);
}
static
HRESULT
WINAPI
DP_and_DPL_QueryInterface
(
LPCLASSFACTORY
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IClassFactoryImpl_QueryInterface
(
IClassFactory
*
iface
,
REFIID
riid
,
void
**
ppobj
)
{
IClassFactoryImpl
*
This
=
impl_from_IClassFactory
(
iface
);
FIXME
(
"(%p)->(%s,%p),stub!
\n
"
,
This
,
debugstr_guid
(
riid
),
ppobj
);
...
...
@@ -61,21 +62,22 @@ DP_and_DPL_QueryInterface(LPCLASSFACTORY iface,REFIID riid,LPVOID *ppobj) {
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
DP_and_DPL_AddRef
(
LPCLASSFACTORY
iface
)
{
static
ULONG
WINAPI
IClassFactoryImpl_AddRef
(
IClassFactory
*
iface
)
{
IClassFactoryImpl
*
This
=
impl_from_IClassFactory
(
iface
);
return
InterlockedIncrement
(
&
This
->
ref
);
}
static
ULONG
WINAPI
DP_and_DPL_Release
(
LPCLASSFACTORY
iface
)
{
static
ULONG
WINAPI
IClassFactoryImpl_Release
(
IClassFactory
*
iface
)
{
IClassFactoryImpl
*
This
=
impl_from_IClassFactory
(
iface
);
/* static class (reference starts @ 1), won't ever be freed */
return
InterlockedDecrement
(
&
This
->
ref
);
}
static
HRESULT
WINAPI
DP_and_DPL_CreateInstance
(
LPCLASSFACTORY
iface
,
LPUNKNOWN
pOuter
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
static
HRESULT
WINAPI
IClassFactoryImpl_CreateInstance
(
IClassFactory
*
iface
,
IUnknown
*
pOuter
,
REFIID
riid
,
void
**
ppobj
)
{
IClassFactoryImpl
*
This
=
impl_from_IClassFactory
(
iface
);
TRACE
(
"(%p)->(%p,%s,%p)
\n
"
,
This
,
pOuter
,
debugstr_guid
(
riid
),
ppobj
);
...
...
@@ -92,18 +94,19 @@ static HRESULT WINAPI DP_and_DPL_CreateInstance(
return
E_NOINTERFACE
;
}
static
HRESULT
WINAPI
DP_and_DPL_LockServer
(
LPCLASSFACTORY
iface
,
BOOL
dolock
)
{
static
HRESULT
WINAPI
IClassFactoryImpl_LockServer
(
IClassFactory
*
iface
,
BOOL
dolock
)
{
IClassFactoryImpl
*
This
=
impl_from_IClassFactory
(
iface
);
FIXME
(
"(%p)->(%d),stub!
\n
"
,
This
,
dolock
);
return
S_OK
;
}
static
const
IClassFactoryVtbl
DP_and_DPL_Vtbl
=
{
DP_and_DPL
_QueryInterface
,
DP_and_DPL
_AddRef
,
DP_and_DPL
_Release
,
DP_and_DPL
_CreateInstance
,
DP_and_DPL
_LockServer
IClassFactoryImpl
_QueryInterface
,
IClassFactoryImpl
_AddRef
,
IClassFactoryImpl
_Release
,
IClassFactoryImpl
_CreateInstance
,
IClassFactoryImpl
_LockServer
};
static
IClassFactoryImpl
DP_and_DPL_CF
=
{{
&
DP_and_DPL_Vtbl
},
1
};
...
...
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