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
92c62e23
Commit
92c62e23
authored
Jun 04, 2004
by
Christian Costa
Committed by
Alexandre Julliard
Jun 04, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed compilation warnings + some fixes.
parent
6d53c650
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
141 additions
and
30 deletions
+141
-30
d3dxof.c
dlls/d3dxof/d3dxof.c
+128
-25
d3dxof_private.h
dlls/d3dxof/d3dxof_private.h
+8
-2
main.c
dlls/d3dxof/main.c
+5
-3
No files found.
dlls/d3dxof/d3dxof.c
View file @
92c62e23
This diff is collapsed.
Click to expand it.
dlls/d3dxof/d3dxof_private.h
View file @
92c62e23
...
...
@@ -33,8 +33,6 @@
#include "winuser.h"
#include "dxfile.h"
HRESULT
XF_create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
);
typedef
struct
{
IDirectXFile
lpVtbl
;
int
ref
;
...
...
@@ -70,4 +68,12 @@ typedef struct {
int
ref
;
}
IDirectXFileSaveObjectImpl
;
HRESULT
IDirectXFileImpl_Create
(
IUnknown
*
pUnkOuter
,
LPVOID
*
ppObj
);
HRESULT
IDirectXFileBinaryImpl_Create
(
IDirectXFileBinaryImpl
**
ppObj
);
HRESULT
IDirectXFileDataImpl_Create
(
IDirectXFileDataImpl
**
ppObj
);
HRESULT
IDirectXFileDataReferenceImpl_Create
(
IDirectXFileDataReferenceImpl
**
ppObj
);
HRESULT
IDirectXFileEnumObjectImpl_Create
(
IDirectXFileEnumObjectImpl
**
ppObj
);
HRESULT
IDirectXFileFileObjectImpl_Create
(
IDirectXFileObjectImpl
**
ppObj
);
HRESULT
IDirectXFileFileSaveObjectImpl_Create
(
IDirectXFileSaveObjectImpl
**
ppObj
);
#endif
/* __D3DXOF_PRIVATE_INCLUDED__ */
dlls/d3dxof/main.c
View file @
92c62e23
...
...
@@ -75,7 +75,7 @@ struct object_creation_info
static
const
struct
object_creation_info
object_creation
[]
=
{
{
&
CLSID_CDirectXFile
,
XF_c
reate
},
{
&
CLSID_CDirectXFile
,
IDirectXFileImpl_C
reate
},
};
static
HRESULT
WINAPI
XFCF_QueryInterface
(
LPCLASSFACTORY
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
...
...
@@ -157,11 +157,13 @@ static ICOM_VTABLE(IClassFactory) XFCF_Vtbl =
HRESULT
WINAPI
DirectXFileCreate
(
LPDIRECTXFILE
*
lplpDirectXFile
)
{
HRESULT
hr
;
FIXME
(
"(%p) Stub
\n
"
,
lplpDirectXFile
);
TRACE
(
"(%p)
\n
"
,
lplpDirectXFile
);
if
(
!
lplpDirectXFile
)
return
DXFILEERR_BADVALUE
;
hr
=
XF_c
reate
(
NULL
,
(
LPVOID
)
lplpDirectXFile
);
hr
=
IDirectXFileImpl_C
reate
(
NULL
,
(
LPVOID
)
lplpDirectXFile
);
if
(
FAILED
(
hr
))
return
DXFILEERR_BADALLOC
;
...
...
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