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
c66a9cd4
Commit
c66a9cd4
authored
Dec 16, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Dec 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Remove IDirectXFileObjectImpl stuff. That's not needed.
parent
76d52393
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
70 deletions
+0
-70
d3dxof.c
dlls/d3dxof/d3dxof.c
+0
-70
No files found.
dlls/d3dxof/d3dxof.c
View file @
c66a9cd4
...
...
@@ -2317,76 +2317,6 @@ static const IDirectXFileEnumObjectVtbl IDirectXFileEnumObject_Vtbl =
IDirectXFileEnumObjectImpl_GetDataObjectByName
};
/*** IUnknown methods ***/
static
HRESULT
WINAPI
IDirectXFileObjectImpl_QueryInterface
(
IDirectXFileObject
*
iface
,
REFIID
riid
,
void
**
ppvObject
)
{
IDirectXFileObjectImpl
*
This
=
(
IDirectXFileObjectImpl
*
)
iface
;
TRACE
(
"(%p/%p)->(%s,%p)
\n
"
,
iface
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
if
(
IsEqualGUID
(
riid
,
&
IID_IUnknown
)
||
IsEqualGUID
(
riid
,
&
IID_IDirectXFileObject
))
{
IClassFactory_AddRef
(
iface
);
*
ppvObject
=
This
;
return
S_OK
;
}
ERR
(
"(%p)->(%s,%p),not found
\n
"
,
This
,
debugstr_guid
(
riid
),
ppvObject
);
return
E_NOINTERFACE
;
}
static
ULONG
WINAPI
IDirectXFileObjectImpl_AddRef
(
IDirectXFileObject
*
iface
)
{
IDirectXFileObjectImpl
*
This
=
(
IDirectXFileObjectImpl
*
)
iface
;
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p): AddRef from %d
\n
"
,
iface
,
This
,
ref
-
1
);
return
ref
;
}
static
ULONG
WINAPI
IDirectXFileObjectImpl_Release
(
IDirectXFileObject
*
iface
)
{
IDirectXFileObjectImpl
*
This
=
(
IDirectXFileObjectImpl
*
)
iface
;
ULONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p/%p): ReleaseRef to %d
\n
"
,
iface
,
This
,
ref
);
if
(
!
ref
)
HeapFree
(
GetProcessHeap
(),
0
,
This
);
return
ref
;
}
/*** IDirectXFileObject methods ***/
static
HRESULT
WINAPI
IDirectXFileObjectImpl_GetName
(
IDirectXFileObject
*
iface
,
LPSTR
pstrNameBuf
,
LPDWORD
pdwBufLen
)
{
IDirectXFileDataReferenceImpl
*
This
=
(
IDirectXFileDataReferenceImpl
*
)
iface
;
FIXME
(
"(%p/%p)->(%p,%p) stub!
\n
"
,
This
,
iface
,
pstrNameBuf
,
pdwBufLen
);
return
DXFILEERR_BADVALUE
;
}
static
HRESULT
WINAPI
IDirectXFileObjectImpl_GetId
(
IDirectXFileObject
*
iface
,
LPGUID
pGuid
)
{
IDirectXFileObjectImpl
*
This
=
(
IDirectXFileObjectImpl
*
)
iface
;
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pGuid
);
return
DXFILEERR_BADVALUE
;
}
static
const
IDirectXFileObjectVtbl
IDirectXFileObject_Vtbl
=
{
IDirectXFileObjectImpl_QueryInterface
,
IDirectXFileObjectImpl_AddRef
,
IDirectXFileObjectImpl_Release
,
IDirectXFileObjectImpl_GetName
,
IDirectXFileObjectImpl_GetId
};
static
HRESULT
IDirectXFileSaveObjectImpl_Create
(
IDirectXFileSaveObjectImpl
**
ppObj
)
{
IDirectXFileSaveObjectImpl
*
object
;
...
...
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