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
c5d96f40
Commit
c5d96f40
authored
Jan 10, 2013
by
Christian Costa
Committed by
Alexandre Julliard
Jan 10, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Implement ID3DXFileEnumObjectImpl_GetChildren and ID3DXFileEnumObjectImpl_GetChild.
parent
1e31182c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
xfile.c
dlls/d3dx9_36/xfile.c
+19
-4
No files found.
dlls/d3dx9_36/xfile.c
View file @
c5d96f40
...
...
@@ -300,17 +300,32 @@ static HRESULT WINAPI ID3DXFileEnumObjectImpl_GetFile(ID3DXFileEnumObject *iface
static
HRESULT
WINAPI
ID3DXFileEnumObjectImpl_GetChildren
(
ID3DXFileEnumObject
*
iface
,
SIZE_T
*
children
)
{
FIXME
(
"(%p)->(%p): stub
\n
"
,
iface
,
children
);
ID3DXFileEnumObjectImpl
*
This
=
impl_from_ID3DXFileEnumObject
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%p)
\n
"
,
iface
,
children
);
if
(
!
children
)
return
E_POINTER
;
*
children
=
This
->
nb_children
;
return
S_OK
;
}
static
HRESULT
WINAPI
ID3DXFileEnumObjectImpl_GetChild
(
ID3DXFileEnumObject
*
iface
,
SIZE_T
id
,
ID3DXFileData
**
object
)
{
FIXME
(
"(%p)->(%lu, %p): stub
\n
"
,
iface
,
id
,
object
);
ID3DXFileEnumObjectImpl
*
This
=
impl_from_ID3DXFileEnumObject
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"(%p)->(%lu, %p)
\n
"
,
iface
,
id
,
object
);
if
(
!
object
)
return
E_POINTER
;
*
object
=
This
->
children
[
id
];
(
*
object
)
->
lpVtbl
->
AddRef
(
*
object
);
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