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
Hide 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)
/*** IDirectXFile methods ***/
static
HRESULT
WINAPI
IDirectXFileImpl_CreateEnumObject
(
IDirectXFile
*
iface
,
LPVOID
pvSource
,
DXFILELOADOPTIONS
dwLoadOptions
,
LPDIRECTXFILEENUMOBJECT
*
ppEnumObj
)
{
IDirectXFileImpl
*
This
=
(
IDirectXFileImpl
*
)
iface
;
IDirectXFileEnumObjectImpl
*
object
;
...
...
@@ -1126,17 +1125,17 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
{
IDirectXFileEnumObjectImpl
*
This
=
(
IDirectXFileEnumObjectImpl
*
)
iface
;
IDirectXFileDataImpl
*
object
;
HRESULT
hr
;
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
ppDataObj
);
object
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectXFileDataImpl
));
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileData_Vtbl
;
object
->
ref
=
1
;
hr
=
IDirectXFileDataImpl_Create
(
&
object
);
if
(
!
SUCCEEDED
(
hr
))
return
hr
;
*
ppDataObj
=
(
LPDIRECTXFILEDATA
)
object
;
return
DXFILE
ERR_BADVALUE
;
return
DXFILE
_OK
;
}
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