home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Internet 2000 May / MICD_2000_05.iso / CBuilder5 / INSTALL / DATA1.CAB / Program_Built_Files / Include / d3drm.h < prev    next >
C/C++ Source or Header  |  2000-02-01  |  15KB  |  345 lines

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