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
1b1f8aa8
Commit
1b1f8aa8
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 FileEnumObject using its constructor.
parent
2bc401ef
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 @
1b1f8aa8
...
...
@@ -159,7 +159,8 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
{
IDirectXFileImpl
*
This
=
(
IDirectXFileImpl
*
)
iface
;
IDirectXFileEnumObjectImpl
*
object
;
IDirectXFileEnumObjectImpl
*
object
;
HRESULT
hr
;
FIXME
(
"(%p/%p)->(%p,%x,%p) stub!
\n
"
,
This
,
iface
,
pvSource
,
dwLoadOptions
,
ppEnumObj
);
...
...
@@ -180,13 +181,12 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
FIXME
(
"Source type %d is not handled yet
\n
"
,
dwLoadOptions
);
}
object
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
IDirectXFileEnumObjectImpl
));
object
->
lpVtbl
.
lpVtbl
=
&
IDirectXFileEnumObject_Vtbl
;
object
->
ref
=
1
;
hr
=
IDirectXFileEnumObjectImpl_Create
(
&
object
);
if
(
!
SUCCEEDED
(
hr
))
return
hr
;
*
ppEnumObj
=
(
LPDIRECTXFILEENUMOBJECT
)
object
;
return
DXFILE_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