d3drm.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:14k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /*==========================================================================;
  2.  *
  3.  *  Copyright (C) 1995-1997 Microsoft Corporation.  All Rights Reserved.
  4.  *
  5.  *  File: d3drm.h
  6.  *  Content: Direct3DRM include file
  7.  *
  8.  ***************************************************************************/
  9. #ifndef __D3DRM_H__
  10. #define __D3DRM_H__
  11. #include "ddraw.h"
  12. #ifdef __cplusplus
  13. struct IDirect3DRM;
  14. #endif
  15. typedef struct IDirect3DRM *LPDIRECT3DRM;
  16. #include "d3drmobj.h"
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. DEFINE_GUID(IID_IDirect3DRM, 0x2bc49361, 0x8327, 0x11cf, 0xac, 0x4a, 0x0, 0x0, 0xc0, 0x38, 0x25, 0xa1);
  21. DEFINE_GUID(IID_IDirect3DRM2, 0x4516ecc8, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
  22. DEFINE_GUID(IID_IDirect3DRM3,   0x4516ec83, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
  23. WIN_TYPES(IDirect3DRM, DIRECT3DRM);
  24. WIN_TYPES(IDirect3DRM2, DIRECT3DRM2);
  25. WIN_TYPES(IDirect3DRM3, DIRECT3DRM3);
  26. /*
  27.  * Direct3DRM Object Class (for CoCreateInstance())
  28.  */
  29. DEFINE_GUID(CLSID_CDirect3DRM,  0x4516ec41, 0x8f20, 0x11d0, 0x9b, 0x6d, 0x00, 0x00, 0xc0, 0x78, 0x1b, 0xc3);
  30. /* Create a Direct3DRM API */
  31. STDAPI Direct3DRMCreate(LPDIRECT3DRM FAR *lplpDirect3DRM);
  32. #undef INTERFACE
  33. #define INTERFACE IDirect3DRM
  34. DECLARE_INTERFACE_(IDirect3DRM, IUnknown)
  35. {
  36.     IUNKNOWN_METHODS(PURE);
  37.     STDMETHOD(CreateObject)
  38. (THIS_ REFCLSID rclsid, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID FAR* ppv) PURE;
  39.     STDMETHOD(CreateFrame) (THIS_ LPDIRECT3DRMFRAME, LPDIRECT3DRMFRAME *) PURE;
  40.     STDMETHOD(CreateMesh) (THIS_ LPDIRECT3DRMMESH *) PURE;
  41.     STDMETHOD(CreateMeshBuilder)(THIS_ LPDIRECT3DRMMESHBUILDER *) PURE;
  42.     STDMETHOD(CreateFace) (THIS_ LPDIRECT3DRMFACE *) PURE;
  43.     STDMETHOD(CreateAnimation) (THIS_ LPDIRECT3DRMANIMATION *) PURE;
  44.     STDMETHOD(CreateAnimationSet)(THIS_ LPDIRECT3DRMANIMATIONSET *) PURE;
  45.     STDMETHOD(CreateTexture) (THIS_ LPD3DRMIMAGE, LPDIRECT3DRMTEXTURE *) PURE;
  46.     STDMETHOD(CreateLight) (THIS_ D3DRMLIGHTTYPE, D3DCOLOR, LPDIRECT3DRMLIGHT *) PURE;
  47.     STDMETHOD(CreateLightRGB)
  48. (THIS_ D3DRMLIGHTTYPE, D3DVALUE, D3DVALUE, D3DVALUE, LPDIRECT3DRMLIGHT *) PURE;
  49.     STDMETHOD(CreateMaterial) (THIS_ D3DVALUE, LPDIRECT3DRMMATERIAL *) PURE;
  50.     STDMETHOD(CreateDevice) (THIS_ DWORD, DWORD, LPDIRECT3DRMDEVICE *) PURE;
  51.     /* Create a Windows Device using DirectDraw surfaces */
  52.     STDMETHOD(CreateDeviceFromSurface)
  53.     ( THIS_ LPGUID lpGUID, LPDIRECTDRAW lpDD,
  54. LPDIRECTDRAWSURFACE lpDDSBack, LPDIRECT3DRMDEVICE *
  55.     ) PURE;
  56.     /* Create a Windows Device using D3D objects */
  57.     STDMETHOD(CreateDeviceFromD3D)
  58.     ( THIS_ LPDIRECT3D lpD3D, LPDIRECT3DDEVICE lpD3DDev,
  59. LPDIRECT3DRMDEVICE *
  60.     ) PURE;
  61.     STDMETHOD(CreateDeviceFromClipper)
  62.     ( THIS_ LPDIRECTDRAWCLIPPER lpDDClipper, LPGUID lpGUID,
  63. int width, int height, LPDIRECT3DRMDEVICE *) PURE;
  64.     STDMETHOD(CreateTextureFromSurface)(THIS_ LPDIRECTDRAWSURFACE lpDDS, LPDIRECT3DRMTEXTURE *) PURE;
  65.    
  66.     STDMETHOD(CreateShadow)
  67.     ( THIS_ LPDIRECT3DRMVISUAL, LPDIRECT3DRMLIGHT,
  68. D3DVALUE px, D3DVALUE py, D3DVALUE pz,
  69. D3DVALUE nx, D3DVALUE ny, D3DVALUE nz,
  70. LPDIRECT3DRMVISUAL *
  71.     ) PURE;
  72.     STDMETHOD(CreateViewport)
  73.     ( THIS_ LPDIRECT3DRMDEVICE, LPDIRECT3DRMFRAME, DWORD, DWORD,
  74. DWORD, DWORD, LPDIRECT3DRMVIEWPORT *
  75.     ) PURE;
  76.     STDMETHOD(CreateWrap)
  77.     ( THIS_ D3DRMWRAPTYPE, LPDIRECT3DRMFRAME,
  78. D3DVALUE ox, D3DVALUE oy, D3DVALUE oz,
  79. D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
  80. D3DVALUE ux, D3DVALUE uy, D3DVALUE uz,
  81. D3DVALUE ou, D3DVALUE ov,
  82. D3DVALUE su, D3DVALUE sv,
  83. LPDIRECT3DRMWRAP *
  84.     ) PURE;
  85.     STDMETHOD(CreateUserVisual) (THIS_ D3DRMUSERVISUALCALLBACK, LPVOID lPArg, LPDIRECT3DRMUSERVISUAL *) PURE;
  86.     STDMETHOD(LoadTexture) (THIS_ const char *, LPDIRECT3DRMTEXTURE *) PURE;
  87.     STDMETHOD(LoadTextureFromResource) (THIS_ HRSRC rs, LPDIRECT3DRMTEXTURE *) PURE;
  88.    
  89.     STDMETHOD(SetSearchPath) (THIS_ LPCSTR) PURE;
  90.     STDMETHOD(AddSearchPath) (THIS_ LPCSTR) PURE;
  91.     STDMETHOD(GetSearchPath) (THIS_ DWORD *size_return, LPSTR path_return) PURE;
  92.     STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
  93.     STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
  94.    
  95.     STDMETHOD(GetDevices) (THIS_ LPDIRECT3DRMDEVICEARRAY *) PURE;
  96.     STDMETHOD(GetNamedObject) (THIS_ const char *, LPDIRECT3DRMOBJECT *) PURE;
  97.    
  98.     STDMETHOD(EnumerateObjects) (THIS_ D3DRMOBJECTCALLBACK, LPVOID) PURE;
  99.    
  100.     STDMETHOD(Load)
  101.     (   THIS_ LPVOID, LPVOID, LPIID *, DWORD, D3DRMLOADOPTIONS,
  102.      D3DRMLOADCALLBACK, LPVOID, D3DRMLOADTEXTURECALLBACK, LPVOID,
  103. LPDIRECT3DRMFRAME
  104.     ) PURE;
  105.     STDMETHOD(Tick) (THIS_ D3DVALUE) PURE;
  106. };
  107. #undef INTERFACE
  108. #define INTERFACE IDirect3DRM2
  109. DECLARE_INTERFACE_(IDirect3DRM2, IUnknown)
  110. {
  111.     IUNKNOWN_METHODS(PURE);
  112.     STDMETHOD(CreateObject)
  113. (THIS_ REFCLSID rclsid, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID FAR* ppv) PURE;
  114.     STDMETHOD(CreateFrame) (THIS_ LPDIRECT3DRMFRAME, LPDIRECT3DRMFRAME2 *) PURE;
  115.     STDMETHOD(CreateMesh) (THIS_ LPDIRECT3DRMMESH *) PURE;
  116.     STDMETHOD(CreateMeshBuilder)(THIS_ LPDIRECT3DRMMESHBUILDER2 *) PURE;
  117.     STDMETHOD(CreateFace) (THIS_ LPDIRECT3DRMFACE *) PURE;
  118.     STDMETHOD(CreateAnimation) (THIS_ LPDIRECT3DRMANIMATION *) PURE;
  119.     STDMETHOD(CreateAnimationSet)(THIS_ LPDIRECT3DRMANIMATIONSET *) PURE;
  120.     STDMETHOD(CreateTexture) (THIS_ LPD3DRMIMAGE, LPDIRECT3DRMTEXTURE2 *) PURE;
  121.     STDMETHOD(CreateLight) (THIS_ D3DRMLIGHTTYPE, D3DCOLOR, LPDIRECT3DRMLIGHT *) PURE;
  122.     STDMETHOD(CreateLightRGB)
  123. (THIS_ D3DRMLIGHTTYPE, D3DVALUE, D3DVALUE, D3DVALUE, LPDIRECT3DRMLIGHT *) PURE;
  124.     STDMETHOD(CreateMaterial) (THIS_ D3DVALUE, LPDIRECT3DRMMATERIAL *) PURE;
  125.     STDMETHOD(CreateDevice) (THIS_ DWORD, DWORD, LPDIRECT3DRMDEVICE2 *) PURE;
  126.     /* Create a Windows Device using DirectDraw surfaces */
  127.     STDMETHOD(CreateDeviceFromSurface)
  128.     ( THIS_ LPGUID lpGUID, LPDIRECTDRAW lpDD,
  129. LPDIRECTDRAWSURFACE lpDDSBack, LPDIRECT3DRMDEVICE2 *
  130.     ) PURE;
  131.     /* Create a Windows Device using D3D objects */
  132.     STDMETHOD(CreateDeviceFromD3D)
  133.     ( THIS_ LPDIRECT3D2 lpD3D, LPDIRECT3DDEVICE2 lpD3DDev,
  134. LPDIRECT3DRMDEVICE2 *
  135.     ) PURE;
  136.     STDMETHOD(CreateDeviceFromClipper)
  137.     ( THIS_ LPDIRECTDRAWCLIPPER lpDDClipper, LPGUID lpGUID,
  138. int width, int height, LPDIRECT3DRMDEVICE2 *) PURE;
  139.     STDMETHOD(CreateTextureFromSurface)(THIS_ LPDIRECTDRAWSURFACE lpDDS, LPDIRECT3DRMTEXTURE2 *) PURE;
  140.    
  141.     STDMETHOD(CreateShadow)
  142.     ( THIS_ LPDIRECT3DRMVISUAL, LPDIRECT3DRMLIGHT,
  143. D3DVALUE px, D3DVALUE py, D3DVALUE pz,
  144. D3DVALUE nx, D3DVALUE ny, D3DVALUE nz,
  145. LPDIRECT3DRMVISUAL *
  146.     ) PURE;
  147.     STDMETHOD(CreateViewport)
  148.     ( THIS_ LPDIRECT3DRMDEVICE, LPDIRECT3DRMFRAME, DWORD, DWORD,
  149. DWORD, DWORD, LPDIRECT3DRMVIEWPORT *
  150.     ) PURE;
  151.     STDMETHOD(CreateWrap)
  152.     ( THIS_ D3DRMWRAPTYPE, LPDIRECT3DRMFRAME,
  153. D3DVALUE ox, D3DVALUE oy, D3DVALUE oz,
  154. D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
  155. D3DVALUE ux, D3DVALUE uy, D3DVALUE uz,
  156. D3DVALUE ou, D3DVALUE ov,
  157. D3DVALUE su, D3DVALUE sv,
  158. LPDIRECT3DRMWRAP *
  159.     ) PURE;
  160.     STDMETHOD(CreateUserVisual) (THIS_ D3DRMUSERVISUALCALLBACK, LPVOID lPArg, LPDIRECT3DRMUSERVISUAL *) PURE;
  161.     STDMETHOD(LoadTexture) (THIS_ const char *, LPDIRECT3DRMTEXTURE2 *) PURE;
  162.     STDMETHOD(LoadTextureFromResource) (THIS_ HMODULE hModule, LPCTSTR strName, LPCTSTR strType, LPDIRECT3DRMTEXTURE2 *) PURE;
  163.    
  164.     STDMETHOD(SetSearchPath) (THIS_ LPCSTR) PURE;
  165.     STDMETHOD(AddSearchPath) (THIS_ LPCSTR) PURE;
  166.     STDMETHOD(GetSearchPath) (THIS_ DWORD *size_return, LPSTR path_return) PURE;
  167.     STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
  168.     STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
  169.    
  170.     STDMETHOD(GetDevices) (THIS_ LPDIRECT3DRMDEVICEARRAY *) PURE;
  171.     STDMETHOD(GetNamedObject) (THIS_ const char *, LPDIRECT3DRMOBJECT *) PURE;
  172.    
  173.     STDMETHOD(EnumerateObjects) (THIS_ D3DRMOBJECTCALLBACK, LPVOID) PURE;
  174.    
  175.     STDMETHOD(Load)
  176.     (   THIS_ LPVOID, LPVOID, LPIID *, DWORD, D3DRMLOADOPTIONS,
  177.      D3DRMLOADCALLBACK, LPVOID, D3DRMLOADTEXTURECALLBACK, LPVOID,
  178. LPDIRECT3DRMFRAME
  179.     ) PURE;
  180.     STDMETHOD(Tick) (THIS_ D3DVALUE) PURE;
  181.     STDMETHOD(CreateProgressiveMesh)(THIS_ LPDIRECT3DRMPROGRESSIVEMESH *) PURE;
  182. };
  183. #undef INTERFACE
  184. #define INTERFACE IDirect3DRM3
  185. DECLARE_INTERFACE_(IDirect3DRM3, IUnknown)
  186. {
  187.     IUNKNOWN_METHODS(PURE);
  188.     STDMETHOD(CreateObject)
  189. (THIS_ REFCLSID rclsid, LPUNKNOWN pUnkOuter, REFIID riid, LPVOID FAR* ppv) PURE;
  190.     STDMETHOD(CreateFrame) (THIS_ LPDIRECT3DRMFRAME3, LPDIRECT3DRMFRAME3 *) PURE;
  191.     STDMETHOD(CreateMesh) (THIS_ LPDIRECT3DRMMESH *) PURE;
  192.     STDMETHOD(CreateMeshBuilder)(THIS_ LPDIRECT3DRMMESHBUILDER3 *) PURE;
  193.     STDMETHOD(CreateFace) (THIS_ LPDIRECT3DRMFACE2 *) PURE;
  194.     STDMETHOD(CreateAnimation) (THIS_ LPDIRECT3DRMANIMATION2 *) PURE;
  195.     STDMETHOD(CreateAnimationSet)(THIS_ LPDIRECT3DRMANIMATIONSET2 *) PURE;
  196.     STDMETHOD(CreateTexture) (THIS_ LPD3DRMIMAGE, LPDIRECT3DRMTEXTURE3 *) PURE;
  197.     STDMETHOD(CreateLight) (THIS_ D3DRMLIGHTTYPE, D3DCOLOR, LPDIRECT3DRMLIGHT *) PURE;
  198.     STDMETHOD(CreateLightRGB)
  199. (THIS_ D3DRMLIGHTTYPE, D3DVALUE, D3DVALUE, D3DVALUE, LPDIRECT3DRMLIGHT *) PURE;
  200.     STDMETHOD(CreateMaterial) (THIS_ D3DVALUE, LPDIRECT3DRMMATERIAL2 *) PURE;
  201.     STDMETHOD(CreateDevice) (THIS_ DWORD, DWORD, LPDIRECT3DRMDEVICE3 *) PURE;
  202.     /* Create a Windows Device using DirectDraw surfaces */
  203.     STDMETHOD(CreateDeviceFromSurface)
  204.     ( THIS_ LPGUID lpGUID, LPDIRECTDRAW lpDD,
  205. LPDIRECTDRAWSURFACE lpDDSBack, DWORD dwFlags, LPDIRECT3DRMDEVICE3 *
  206.     ) PURE;
  207.     /* Create a Windows Device using D3D objects */
  208.     STDMETHOD(CreateDeviceFromD3D)
  209.     ( THIS_ LPDIRECT3D2 lpD3D, LPDIRECT3DDEVICE2 lpD3DDev,
  210. LPDIRECT3DRMDEVICE3 *
  211.     ) PURE;
  212.     STDMETHOD(CreateDeviceFromClipper)
  213.     ( THIS_ LPDIRECTDRAWCLIPPER lpDDClipper, LPGUID lpGUID,
  214. int width, int height, LPDIRECT3DRMDEVICE3 *) PURE;
  215.     STDMETHOD(CreateTextureFromSurface)(THIS_ LPDIRECTDRAWSURFACE lpDDS, LPDIRECT3DRMTEXTURE3 *) PURE;
  216.    
  217.     STDMETHOD(CreateShadow)
  218.     ( THIS_ LPUNKNOWN, LPDIRECT3DRMLIGHT,
  219. D3DVALUE px, D3DVALUE py, D3DVALUE pz,
  220. D3DVALUE nx, D3DVALUE ny, D3DVALUE nz,
  221. LPDIRECT3DRMSHADOW2 *
  222.     ) PURE;
  223.     STDMETHOD(CreateViewport)
  224.     ( THIS_ LPDIRECT3DRMDEVICE3, LPDIRECT3DRMFRAME3, DWORD, DWORD,
  225. DWORD, DWORD, LPDIRECT3DRMVIEWPORT2 *
  226.     ) PURE;
  227.     STDMETHOD(CreateWrap)
  228.     ( THIS_ D3DRMWRAPTYPE, LPDIRECT3DRMFRAME3,
  229. D3DVALUE ox, D3DVALUE oy, D3DVALUE oz,
  230. D3DVALUE dx, D3DVALUE dy, D3DVALUE dz,
  231. D3DVALUE ux, D3DVALUE uy, D3DVALUE uz,
  232. D3DVALUE ou, D3DVALUE ov,
  233. D3DVALUE su, D3DVALUE sv,
  234. LPDIRECT3DRMWRAP *
  235.     ) PURE;
  236.     STDMETHOD(CreateUserVisual) (THIS_ D3DRMUSERVISUALCALLBACK, LPVOID lPArg, LPDIRECT3DRMUSERVISUAL *) PURE;
  237.     STDMETHOD(LoadTexture) (THIS_ const char *, LPDIRECT3DRMTEXTURE3 *) PURE;
  238.     STDMETHOD(LoadTextureFromResource) (THIS_ HMODULE hModule, LPCTSTR strName, LPCTSTR strType, LPDIRECT3DRMTEXTURE3 *) PURE;
  239.    
  240.     STDMETHOD(SetSearchPath) (THIS_ LPCSTR) PURE;
  241.     STDMETHOD(AddSearchPath) (THIS_ LPCSTR) PURE;
  242.     STDMETHOD(GetSearchPath) (THIS_ DWORD *size_return, LPSTR path_return) PURE;
  243.     STDMETHOD(SetDefaultTextureColors)(THIS_ DWORD) PURE;
  244.     STDMETHOD(SetDefaultTextureShades)(THIS_ DWORD) PURE;
  245.    
  246.     STDMETHOD(GetDevices) (THIS_ LPDIRECT3DRMDEVICEARRAY *) PURE;
  247.     STDMETHOD(GetNamedObject) (THIS_ const char *, LPDIRECT3DRMOBJECT *) PURE;
  248.    
  249.     STDMETHOD(EnumerateObjects) (THIS_ D3DRMOBJECTCALLBACK, LPVOID) PURE;
  250.    
  251.     STDMETHOD(Load)
  252.     (   THIS_ LPVOID, LPVOID, LPIID *, DWORD, D3DRMLOADOPTIONS,
  253.      D3DRMLOADCALLBACK, LPVOID, D3DRMLOADTEXTURE3CALLBACK, LPVOID,
  254. LPDIRECT3DRMFRAME3
  255.     ) PURE;
  256.     STDMETHOD(Tick) (THIS_ D3DVALUE) PURE;
  257.     STDMETHOD(CreateProgressiveMesh)(THIS_ LPDIRECT3DRMPROGRESSIVEMESH *) PURE;
  258.     /* Used with IDirect3DRMObject2 */
  259.     STDMETHOD(RegisterClient)   (THIS_ REFGUID rguid, LPDWORD lpdwID) PURE;
  260.     STDMETHOD(UnregisterClient) (THIS_ REFGUID rguid) PURE;
  261.     STDMETHOD(CreateClippedVisual) (THIS_ LPDIRECT3DRMVISUAL, LPDIRECT3DRMCLIPPEDVISUAL *) PURE;
  262.     STDMETHOD(SetOptions) (THIS_ DWORD);
  263.     STDMETHOD(GetOptions) (THIS_ LPDWORD);
  264. };
  265. #define D3DRM_OK DD_OK
  266. #define D3DRMERR_BADOBJECT MAKE_DDHRESULT(781)
  267. #define D3DRMERR_BADTYPE MAKE_DDHRESULT(782)
  268. #define D3DRMERR_BADALLOC MAKE_DDHRESULT(783)
  269. #define D3DRMERR_FACEUSED MAKE_DDHRESULT(784)
  270. #define D3DRMERR_NOTFOUND MAKE_DDHRESULT(785)
  271. #define D3DRMERR_NOTDONEYET MAKE_DDHRESULT(786)
  272. #define D3DRMERR_FILENOTFOUND MAKE_DDHRESULT(787)
  273. #define D3DRMERR_BADFILE MAKE_DDHRESULT(788)
  274. #define D3DRMERR_BADDEVICE MAKE_DDHRESULT(789)
  275. #define D3DRMERR_BADVALUE MAKE_DDHRESULT(790)
  276. #define D3DRMERR_BADMAJORVERSION MAKE_DDHRESULT(791)
  277. #define D3DRMERR_BADMINORVERSION MAKE_DDHRESULT(792)
  278. #define D3DRMERR_UNABLETOEXECUTE MAKE_DDHRESULT(793)
  279. #define D3DRMERR_LIBRARYNOTFOUND        MAKE_DDHRESULT(794)
  280. #define D3DRMERR_INVALIDLIBRARY         MAKE_DDHRESULT(795)
  281. #define D3DRMERR_PENDING                MAKE_DDHRESULT(796)
  282. #define D3DRMERR_NOTENOUGHDATA          MAKE_DDHRESULT(797)
  283. #define D3DRMERR_REQUESTTOOLARGE        MAKE_DDHRESULT(798)
  284. #define D3DRMERR_REQUESTTOOSMALL        MAKE_DDHRESULT(799)
  285. #define D3DRMERR_CONNECTIONLOST         MAKE_DDHRESULT(800)
  286. #define D3DRMERR_LOADABORTED            MAKE_DDHRESULT(801)
  287. #define D3DRMERR_NOINTERNET             MAKE_DDHRESULT(802)
  288. #define D3DRMERR_BADCACHEFILE           MAKE_DDHRESULT(803)
  289. #define D3DRMERR_BOXNOTSET MAKE_DDHRESULT(804)
  290. #define D3DRMERR_BADPMDATA              MAKE_DDHRESULT(805)
  291. #define D3DRMERR_CLIENTNOTREGISTERED    MAKE_DDHRESULT(806)
  292. #define D3DRMERR_NOTCREATEDFROMDDS MAKE_DDHRESULT(807)
  293. #define D3DRMERR_NOSUCHKEY              MAKE_DDHRESULT(808)
  294. #define D3DRMERR_INCOMPATABLEKEY        MAKE_DDHRESULT(809)
  295. #define D3DRMERR_ELEMENTINUSE MAKE_DDHRESULT(810)
  296. #define D3DRMERR_TEXTUREFORMATNOTFOUND  MAKE_DDHRESULT(811)
  297. #define D3DRMERR_NOTAGGREGATED          MAKE_DDHRESULT(812)
  298. #ifdef __cplusplus
  299. };
  300. #endif
  301. #endif /* _D3DRMAPI_H_ */