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
feaf2904
Commit
feaf2904
authored
Mar 01, 2010
by
Christian Costa
Committed by
Alexandre Julliard
Mar 01, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Use proper macro for AddRef.
parent
b30509fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
d3dxof.c
dlls/d3dxof/d3dxof.c
+6
-6
No files found.
dlls/d3dxof/d3dxof.c
View file @
feaf2904
...
@@ -97,7 +97,7 @@ static HRESULT WINAPI IDirectXFileImpl_QueryInterface(IDirectXFile* iface, REFII
...
@@ -97,7 +97,7 @@ static HRESULT WINAPI IDirectXFileImpl_QueryInterface(IDirectXFile* iface, REFII
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFile
))
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFile
))
{
{
I
ClassFactory
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -482,7 +482,7 @@ static HRESULT WINAPI IDirectXFileBinaryImpl_QueryInterface(IDirectXFileBinary*
...
@@ -482,7 +482,7 @@ static HRESULT WINAPI IDirectXFileBinaryImpl_QueryInterface(IDirectXFileBinary*
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileObject
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileObject
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileBinary
))
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileBinary
))
{
{
I
ClassFactory
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -610,7 +610,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_QueryInterface(IDirectXFileData* ifac
...
@@ -610,7 +610,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_QueryInterface(IDirectXFileData* ifac
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileObject
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileObject
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileData
))
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileData
))
{
{
I
ClassFactory
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -853,7 +853,7 @@ static HRESULT WINAPI IDirectXFileDataReferenceImpl_QueryInterface(IDirectXFileD
...
@@ -853,7 +853,7 @@ static HRESULT WINAPI IDirectXFileDataReferenceImpl_QueryInterface(IDirectXFileD
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileObject
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileObject
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileDataReference
))
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileDataReference
))
{
{
I
ClassFactory
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -985,7 +985,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_QueryInterface(IDirectXFileEnum
...
@@ -985,7 +985,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_QueryInterface(IDirectXFileEnum
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileEnumObject
))
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileEnumObject
))
{
{
I
ClassFactory
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
@@ -1195,7 +1195,7 @@ static HRESULT WINAPI IDirectXFileSaveObjectImpl_QueryInterface(IDirectXFileSave
...
@@ -1195,7 +1195,7 @@ static HRESULT WINAPI IDirectXFileSaveObjectImpl_QueryInterface(IDirectXFileSave
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileSaveObject
))
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileSaveObject
))
{
{
I
ClassFactory
_AddRef
(
iface
);
I
Unknown
_AddRef
(
iface
);
*
ppvObject
=
This
;
*
ppvObject
=
This
;
return
S_OK
;
return
S_OK
;
}
}
...
...
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