d3drm: Add stub for Direct3DRMCreate.
[wine.git] / include / d3drm.h
blobc519d86b2b5860e618a0541479a5294d612ad2ff
1 /*
2 * Copyright (C) 2005 Peter Berg Larsen
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __D3DRM_H__
20 #define __D3DRM_H__
22 #include <ddraw.h>
23 #include <d3drmobj.h>
26 /* Direct3DRM Object CLSID */
27 DEFINE_GUID(CLSID_CDirect3DRM, 0x4516ec41, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
29 /* Direct3DRM Interface GUIDs */
30 DEFINE_GUID(IID_IDirect3DRM, 0x2bc49361, 0x8327, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1);
31 DEFINE_GUID(IID_IDirect3DRM2, 0x4516ecc8, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
32 DEFINE_GUID(IID_IDirect3DRM3, 0x4516ec83, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
34 typedef void *LPDIRECT3DRM;
36 HRESULT WINAPI Direct3DRMCreate(LPDIRECT3DRM* ppDirect3DRM);
38 #define D3DRM_OK DD_OK
39 #define D3DRMERR_BADOBJECT MAKE_DDHRESULT(781)
40 #define D3DRMERR_BADTYPE MAKE_DDHRESULT(782)
41 #define D3DRMERR_BADALLOC MAKE_DDHRESULT(783)
42 #define D3DRMERR_FACEUSED MAKE_DDHRESULT(784)
43 #define D3DRMERR_NOTFOUND MAKE_DDHRESULT(785)
44 #define D3DRMERR_NOTDONEYET MAKE_DDHRESULT(786)
45 #define D3DRMERR_FILENOTFOUND MAKE_DDHRESULT(787)
46 #define D3DRMERR_BADFILE MAKE_DDHRESULT(788)
47 #define D3DRMERR_BADDEVICE MAKE_DDHRESULT(789)
48 #define D3DRMERR_BADVALUE MAKE_DDHRESULT(790)
49 #define D3DRMERR_BADMAJORVERSION MAKE_DDHRESULT(791)
50 #define D3DRMERR_BADMINORVERSION MAKE_DDHRESULT(792)
51 #define D3DRMERR_UNABLETOEXECUTE MAKE_DDHRESULT(793)
52 #define D3DRMERR_LIBRARYNOTFOUND MAKE_DDHRESULT(794)
53 #define D3DRMERR_INVALIDLIBRARY MAKE_DDHRESULT(795)
54 #define D3DRMERR_PENDING MAKE_DDHRESULT(796)
55 #define D3DRMERR_NOTENOUGHDATA MAKE_DDHRESULT(797)
56 #define D3DRMERR_REQUESTTOOLARGE MAKE_DDHRESULT(798)
57 #define D3DRMERR_REQUESTTOOSMALL MAKE_DDHRESULT(799)
58 #define D3DRMERR_CONNECTIONLOST MAKE_DDHRESULT(800)
59 #define D3DRMERR_LOADABORTED MAKE_DDHRESULT(801)
60 #define D3DRMERR_NOINTERNET MAKE_DDHRESULT(802)
61 #define D3DRMERR_BADCACHEFILE MAKE_DDHRESULT(803)
62 #define D3DRMERR_BOXNOTSET MAKE_DDHRESULT(804)
63 #define D3DRMERR_BADPMDATA MAKE_DDHRESULT(805)
64 #define D3DRMERR_CLIENTNOTREGISTERED MAKE_DDHRESULT(806)
65 #define D3DRMERR_NOTCREATEDFROMDDS MAKE_DDHRESULT(807)
66 #define D3DRMERR_NOSUCHKEY MAKE_DDHRESULT(808)
67 #define D3DRMERR_INCOMPATABLEKEY MAKE_DDHRESULT(809)
68 #define D3DRMERR_ELEMENTINUSE MAKE_DDHRESULT(810)
69 #define D3DRMERR_TEXTUREFORMATNOTFOUND MAKE_DDHRESULT(811)
70 #define D3DRMERR_NOTAGGREGATED MAKE_DDHRESULT(812)
72 #endif /* __D3DRM_H__ */