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
c6b2529f
Commit
c6b2529f
authored
Aug 19, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Aug 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Create FileData object using its constructor. Fix return value of CreateEnumObject.
parent
1b1f8aa8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
d3dxof.c
dlls/d3dxof/d3dxof.c
+5
-6
No files found.
dlls/d3dxof/d3dxof.c
View file @
c6b2529f
...
@@ -156,7 +156,6 @@ static ULONG WINAPI IDirectXFileImpl_Release(IDirectXFile* iface)
...
@@ -156,7 +156,6 @@ static ULONG WINAPI IDirectXFileImpl_Release(IDirectXFile* iface)
/*** IDirectXFile methods ***/
/*** IDirectXFile methods ***/
static
HRESULT
WINAPI
IDirectXFileImpl_CreateEnumObject
(
IDirectXFile
*
iface
,
LPVOID
pvSource
,
DXFILELOADOPTIONS
dwLoadOptions
,
LPDIRECTXFILEENUMOBJECT
*
ppEnumObj
)
static
HRESULT
WINAPI
IDirectXFileImpl_CreateEnumObject
(
IDirectXFile
*
iface
,
LPVOID
pvSource
,
DXFILELOADOPTIONS
dwLoadOptions
,
LPDIRECTXFILEENUMOBJECT
*
ppEnumObj
)
{
{
IDirectXFileImpl
*
This
=
(
IDirectXFileImpl
*
)
iface
;
IDirectXFileImpl
*
This
=
(
IDirectXFileImpl
*
)
iface
;
IDirectXFileEnumObjectImpl
*
object
;
IDirectXFileEnumObjectImpl
*
object
;
...
@@ -1126,17 +1125,17 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
...
@@ -1126,17 +1125,17 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
{
{
IDirectXFileEnumObjectImpl
*
This
=
(
IDirectXFileEnumObjectImpl
*
)
iface
;
IDirectXFileEnumObjectImpl
*
This
=
(
IDirectXFileEnumObjectImpl
*
)
iface
;
IDirectXFileDataImpl
*
object
;
IDirectXFileDataImpl
*
object
;
HRESULT
hr
;
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
ppDataObj
);
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
ppDataObj
);
object
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectXFileDataImpl
));
hr
=
IDirectXFileDataImpl_Create
(
&
object
);
if
(
!
SUCCEEDED
(
hr
))
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileData_Vtbl
;
return
hr
;
object
->
ref
=
1
;
*
ppDataObj
=
(
LPDIRECTXFILEDATA
)
object
;
*
ppDataObj
=
(
LPDIRECTXFILEDATA
)
object
;
return
DXFILE
ERR_BADVALUE
;
return
DXFILE
_OK
;
}
}
static
HRESULT
WINAPI
IDirectXFileEnumObjectImpl_GetDataObjectById
(
IDirectXFileEnumObject
*
iface
,
REFGUID
rguid
,
LPDIRECTXFILEDATA
*
ppDataObj
)
static
HRESULT
WINAPI
IDirectXFileEnumObjectImpl_GetDataObjectById
(
IDirectXFileEnumObject
*
iface
,
REFGUID
rguid
,
LPDIRECTXFILEDATA
*
ppDataObj
)
...
...
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