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
e54b4602
Commit
e54b4602
authored
Dec 31, 2009
by
Christian Costa
Committed by
Alexandre Julliard
Dec 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Add stub for Direct3DRMCreate.
parent
f91d61a5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
54 additions
and
1 deletion
+54
-1
d3drm.spec
dlls/d3drm/d3drm.spec
+1
-1
d3drm_main.c
dlls/d3drm/d3drm_main.c
+15
-0
d3drm.h
include/d3drm.h
+38
-0
No files found.
dlls/d3drm/d3drm.spec
View file @
e54b4602
...
...
@@ -18,6 +18,6 @@
@ stdcall D3DRMVectorRotate(ptr ptr ptr long)
@ stdcall D3DRMVectorScale(ptr ptr long)
@ stdcall D3DRMVectorSubtract(ptr ptr ptr)
@ st
ub Direct3DRMCreate
@ st
dcall Direct3DRMCreate(ptr)
@ stub DllCanUnloadNow
@ stub DllGetClassObject
dlls/d3drm/d3drm_main.c
View file @
e54b4602
...
...
@@ -19,6 +19,11 @@
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "d3drm.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
d3drm
);
/***********************************************************************
* DllMain (D3DRM.@)
...
...
@@ -35,3 +40,13 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
}
return
TRUE
;
}
/***********************************************************************
* (D3DRM.@)
*/
HRESULT
WINAPI
Direct3DRMCreate
(
LPDIRECT3DRM
*
ppDirect3DRM
)
{
FIXME
(
"(%p): stub!
\n
"
,
ppDirect3DRM
);
return
D3DRMERR_INVALIDLIBRARY
;
}
include/d3drm.h
View file @
e54b4602
...
...
@@ -31,4 +31,42 @@ DEFINE_GUID(IID_IDirect3DRM, 0x2bc49361, 0x8327, 0x11cf, 0xac, 0x
DEFINE_GUID
(
IID_IDirect3DRM2
,
0x4516ecc8
,
0x8f20
,
0x11d0
,
0x9b
,
0x6d
,
0x00
,
0x00
,
0xc0
,
0x78
,
0x1b
,
0xc3
);
DEFINE_GUID
(
IID_IDirect3DRM3
,
0x4516ec83
,
0x8f20
,
0x11d0
,
0x9b
,
0x6d
,
0x00
,
0x00
,
0xc0
,
0x78
,
0x1b
,
0xc3
);
typedef
void
*
LPDIRECT3DRM
;
HRESULT
WINAPI
Direct3DRMCreate
(
LPDIRECT3DRM
*
ppDirect3DRM
);
#define D3DRM_OK DD_OK
#define D3DRMERR_BADOBJECT MAKE_DDHRESULT(781)
#define D3DRMERR_BADTYPE MAKE_DDHRESULT(782)
#define D3DRMERR_BADALLOC MAKE_DDHRESULT(783)
#define D3DRMERR_FACEUSED MAKE_DDHRESULT(784)
#define D3DRMERR_NOTFOUND MAKE_DDHRESULT(785)
#define D3DRMERR_NOTDONEYET MAKE_DDHRESULT(786)
#define D3DRMERR_FILENOTFOUND MAKE_DDHRESULT(787)
#define D3DRMERR_BADFILE MAKE_DDHRESULT(788)
#define D3DRMERR_BADDEVICE MAKE_DDHRESULT(789)
#define D3DRMERR_BADVALUE MAKE_DDHRESULT(790)
#define D3DRMERR_BADMAJORVERSION MAKE_DDHRESULT(791)
#define D3DRMERR_BADMINORVERSION MAKE_DDHRESULT(792)
#define D3DRMERR_UNABLETOEXECUTE MAKE_DDHRESULT(793)
#define D3DRMERR_LIBRARYNOTFOUND MAKE_DDHRESULT(794)
#define D3DRMERR_INVALIDLIBRARY MAKE_DDHRESULT(795)
#define D3DRMERR_PENDING MAKE_DDHRESULT(796)
#define D3DRMERR_NOTENOUGHDATA MAKE_DDHRESULT(797)
#define D3DRMERR_REQUESTTOOLARGE MAKE_DDHRESULT(798)
#define D3DRMERR_REQUESTTOOSMALL MAKE_DDHRESULT(799)
#define D3DRMERR_CONNECTIONLOST MAKE_DDHRESULT(800)
#define D3DRMERR_LOADABORTED MAKE_DDHRESULT(801)
#define D3DRMERR_NOINTERNET MAKE_DDHRESULT(802)
#define D3DRMERR_BADCACHEFILE MAKE_DDHRESULT(803)
#define D3DRMERR_BOXNOTSET MAKE_DDHRESULT(804)
#define D3DRMERR_BADPMDATA MAKE_DDHRESULT(805)
#define D3DRMERR_CLIENTNOTREGISTERED MAKE_DDHRESULT(806)
#define D3DRMERR_NOTCREATEDFROMDDS MAKE_DDHRESULT(807)
#define D3DRMERR_NOSUCHKEY MAKE_DDHRESULT(808)
#define D3DRMERR_INCOMPATABLEKEY MAKE_DDHRESULT(809)
#define D3DRMERR_ELEMENTINUSE MAKE_DDHRESULT(810)
#define D3DRMERR_TEXTUREFORMATNOTFOUND MAKE_DDHRESULT(811)
#define D3DRMERR_NOTAGGREGATED MAKE_DDHRESULT(812)
#endif
/* __D3DRM_H__ */
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