ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

d3dcaps.h
Go to the documentation of this file.
00001 
00002 #ifndef _D3DCAPS_H
00003 #define _D3DCAPS_H
00004 
00005 #include "ddraw.h"
00006 
00007 #ifndef DIRECT3D_VERSION
00008 #define DIRECT3D_VERSION         0x0700
00009 #endif
00010 
00011 #if defined(_X86_) || defined(_IA64_)
00012 #pragma pack(4)
00013 #endif
00014 
00015 #define D3DTRANSFORMCAPS_CLIP                       0x00000001
00016 #define D3DLIGHTINGMODEL_RGB                        0x00000001
00017 #define D3DLIGHTINGMODEL_MONO                       0x00000002
00018 #define D3DLIGHTCAPS_POINT                          0x00000001
00019 #define D3DLIGHTCAPS_SPOT                           0x00000002
00020 #define D3DLIGHTCAPS_DIRECTIONAL                    0x00000004
00021 #define D3DLIGHTCAPS_PARALLELPOINT                  0x00000008
00022 #define D3DPMISCCAPS_MASKPLANES                     0x00000001
00023 #define D3DPMISCCAPS_MASKZ                          0x00000002
00024 #define D3DPMISCCAPS_LINEPATTERNREP                 0x00000004
00025 #define D3DPMISCCAPS_CONFORMANT                     0x00000008
00026 #define D3DPMISCCAPS_CULLNONE                       0x00000010
00027 #define D3DPMISCCAPS_CULLCW                         0x00000020
00028 #define D3DPMISCCAPS_CULLCCW                        0x00000040
00029 #define D3DPRASTERCAPS_DITHER                       0x00000001
00030 #define D3DPRASTERCAPS_ROP2                         0x00000002
00031 #define D3DPRASTERCAPS_XOR                          0x00000004
00032 #define D3DPRASTERCAPS_PAT                          0x00000008
00033 #define D3DPRASTERCAPS_ZTEST                        0x00000010
00034 #define D3DPRASTERCAPS_SUBPIXEL                     0x00000020
00035 #define D3DPRASTERCAPS_SUBPIXELX                    0x00000040
00036 #define D3DPRASTERCAPS_FOGVERTEX                    0x00000080
00037 #define D3DPRASTERCAPS_FOGTABLE                     0x00000100
00038 #define D3DPRASTERCAPS_STIPPLE                      0x00000200
00039 #define D3DPCMPCAPS_NEVER                           0x00000001
00040 #define D3DPCMPCAPS_LESS                            0x00000002
00041 #define D3DPCMPCAPS_EQUAL                           0x00000004
00042 #define D3DPCMPCAPS_LESSEQUAL                       0x00000008
00043 #define D3DPCMPCAPS_GREATER                         0x00000010
00044 #define D3DPCMPCAPS_NOTEQUAL                        0x00000020
00045 #define D3DPCMPCAPS_GREATEREQUAL                    0x00000040
00046 #define D3DPCMPCAPS_ALWAYS                          0x00000080
00047 #define D3DPBLENDCAPS_ZERO                          0x00000001
00048 #define D3DPBLENDCAPS_ONE                           0x00000002
00049 #define D3DPBLENDCAPS_SRCCOLOR                      0x00000004
00050 #define D3DPBLENDCAPS_INVSRCCOLOR                   0x00000008
00051 #define D3DPBLENDCAPS_SRCALPHA                      0x00000010
00052 #define D3DPBLENDCAPS_INVSRCALPHA                   0x00000020
00053 #define D3DPBLENDCAPS_DESTALPHA                     0x00000040
00054 #define D3DPBLENDCAPS_INVDESTALPHA                  0x00000080
00055 #define D3DPBLENDCAPS_DESTCOLOR                     0x00000100
00056 #define D3DPBLENDCAPS_INVDESTCOLOR                  0x00000200
00057 #define D3DPBLENDCAPS_SRCALPHASAT                   0x00000400
00058 #define D3DPBLENDCAPS_BOTHSRCALPHA                  0x00000800
00059 #define D3DPBLENDCAPS_BOTHINVSRCALPHA               0x00001000
00060 #define D3DPSHADECAPS_COLORFLATMONO                 0x00000001
00061 #define D3DPSHADECAPS_COLORFLATRGB                  0x00000002
00062 #define D3DPSHADECAPS_COLORGOURAUDMONO              0x00000004
00063 #define D3DPSHADECAPS_COLORGOURAUDRGB               0x00000008
00064 #define D3DPSHADECAPS_COLORPHONGMONO                0x00000010
00065 #define D3DPSHADECAPS_COLORPHONGRGB                 0x00000020
00066 #define D3DPSHADECAPS_SPECULARFLATMONO              0x00000040
00067 #define D3DPSHADECAPS_SPECULARFLATRGB               0x00000080
00068 #define D3DPSHADECAPS_SPECULARGOURAUDMONO           0x00000100
00069 #define D3DPSHADECAPS_SPECULARGOURAUDRGB            0x00000200
00070 #define D3DPSHADECAPS_SPECULARPHONGMONO             0x00000400
00071 #define D3DPSHADECAPS_SPECULARPHONGRGB              0x00000800
00072 #define D3DPSHADECAPS_ALPHAFLATBLEND                0x00001000
00073 #define D3DPSHADECAPS_ALPHAFLATSTIPPLED             0x00002000
00074 #define D3DPSHADECAPS_ALPHAGOURAUDBLEND             0x00004000
00075 #define D3DPSHADECAPS_ALPHAGOURAUDSTIPPLED          0x00008000
00076 #define D3DPSHADECAPS_ALPHAPHONGBLEND               0x00010000
00077 #define D3DPSHADECAPS_ALPHAPHONGSTIPPLED            0x00020000
00078 #define D3DPSHADECAPS_FOGFLAT                       0x00040000
00079 #define D3DPSHADECAPS_FOGGOURAUD                    0x00080000
00080 #define D3DPSHADECAPS_FOGPHONG                      0x00100000
00081 #define D3DPTEXTURECAPS_PERSPECTIVE                 0x00000001
00082 #define D3DPTEXTURECAPS_POW2                        0x00000002
00083 #define D3DPTEXTURECAPS_ALPHA                       0x00000004
00084 #define D3DPTEXTURECAPS_TRANSPARENCY                0x00000008
00085 #define D3DPTEXTURECAPS_BORDER                      0x00000010
00086 #define D3DPTEXTURECAPS_SQUAREONLY                  0x00000020
00087 #define D3DPTFILTERCAPS_NEAREST                     0x00000001
00088 #define D3DPTFILTERCAPS_LINEAR                      0x00000002
00089 #define D3DPTFILTERCAPS_MIPNEAREST                  0x00000004
00090 #define D3DPTFILTERCAPS_MIPLINEAR                   0x00000008
00091 #define D3DPTFILTERCAPS_LINEARMIPNEAREST            0x00000010
00092 #define D3DPTFILTERCAPS_LINEARMIPLINEAR             0x00000020
00093 #define D3DPTBLENDCAPS_DECAL                        0x00000001
00094 #define D3DPTBLENDCAPS_MODULATE                     0x00000002
00095 #define D3DPTBLENDCAPS_DECALALPHA                   0x00000004
00096 #define D3DPTBLENDCAPS_MODULATEALPHA                0x00000008
00097 #define D3DPTBLENDCAPS_DECALMASK                    0x00000010
00098 #define D3DPTBLENDCAPS_MODULATEMASK                 0x00000020
00099 #define D3DPTBLENDCAPS_COPY                         0x00000040
00100 #define D3DPTADDRESSCAPS_WRAP                       0x00000001
00101 #define D3DPTADDRESSCAPS_MIRROR                     0x00000002
00102 #define D3DPTADDRESSCAPS_CLAMP                      0x00000004
00103 #define D3DDEVICEDESCSIZE                           (sizeof(D3DDEVICEDESC))
00104 #define D3DDEVICEDESC7SIZE                          (sizeof(D3DDEVICEDESC7))
00105 #define D3DDD_COLORMODEL                            0x00000001
00106 #define D3DDD_DEVCAPS                               0x00000002
00107 #define D3DDD_TRANSFORMCAPS                         0x00000004
00108 #define D3DDD_LIGHTINGCAPS                          0x00000008
00109 #define D3DDD_BCLIPPING                             0x00000010
00110 #define D3DDD_LINECAPS                              0x00000020
00111 #define D3DDD_TRICAPS                               0x00000040
00112 #define D3DDD_DEVICERENDERBITDEPTH                  0x00000080
00113 #define D3DDD_DEVICEZBUFFERBITDEPTH                 0x00000100
00114 #define D3DDD_MAXBUFFERSIZE                         0x00000200
00115 #define D3DDD_MAXVERTEXCOUNT                        0x00000400
00116 #define D3DDEVCAPS_FLOATTLVERTEX                    0x00000001
00117 #define D3DDEVCAPS_SORTINCREASINGZ                  0x00000002
00118 #define D3DDEVCAPS_SORTDECREASINGZ                  0X00000004
00119 #define D3DDEVCAPS_SORTEXACT                        0x00000008
00120 #define D3DDEVCAPS_EXECUTESYSTEMMEMORY              0x00000010
00121 #define D3DDEVCAPS_EXECUTEVIDEOMEMORY               0x00000020
00122 #define D3DDEVCAPS_TLVERTEXSYSTEMMEMORY             0x00000040
00123 #define D3DDEVCAPS_TLVERTEXVIDEOMEMORY              0x00000080
00124 #define D3DDEVCAPS_TEXTURESYSTEMMEMORY              0x00000100
00125 #define D3DDEVCAPS_TEXTUREVIDEOMEMORY               0x00000200
00126 #define D3DFDS_COLORMODEL                           0x00000001
00127 #define D3DFDS_GUID                                 0x00000002
00128 #define D3DFDS_HARDWARE                             0x00000004
00129 #define D3DFDS_TRIANGLES                            0x00000008
00130 #define D3DFDS_LINES                                0x00000010
00131 #define D3DFDS_MISCCAPS                             0x00000020
00132 #define D3DFDS_RASTERCAPS                           0x00000040
00133 #define D3DFDS_ZCMPCAPS                             0x00000080
00134 #define D3DFDS_ALPHACMPCAPS                         0x00000100
00135 #define D3DFDS_SRCBLENDCAPS                         0x00000200
00136 #define D3DFDS_DSTBLENDCAPS                         0x00000400
00137 #define D3DFDS_SHADECAPS                            0x00000800
00138 #define D3DFDS_TEXTURECAPS                          0x00001000
00139 #define D3DFDS_TEXTUREFILTERCAPS                    0x00002000
00140 #define D3DFDS_TEXTUREBLENDCAPS                     0x00004000
00141 #define D3DFDS_TEXTUREADDRESSCAPS                   0x00008000
00142 #define D3DDEB_BUFSIZE                              0x00000001
00143 #define D3DDEB_CAPS                                 0x00000002
00144 #define D3DDEB_LPDATA                               0x00000004
00145 #define D3DDEBCAPS_SYSTEMMEMORY                     0x00000001
00146 #define D3DDEBCAPS_VIDEOMEMORY                      0x00000002
00147 #define D3DDEBCAPS_MEM                              (D3DDEBCAPS_SYSTEMMEMORY|D3DDEBCAPS_VIDEOMEMORY)
00148 
00149 
00150 
00151 #if(DIRECT3D_VERSION < 0x700)
00152 #define D3DLIGHTCAPS_PARALLELPOINT                  0x00000008
00153 #endif
00154 #if(DIRECT3D_VERSION < 0x500)
00155 #define D3DLIGHTCAPS_GLSPOT                         0x00000010
00156 #endif
00157 
00158 #if(DIRECT3D_VERSION >= 0x0500)
00159 #define D3DPRASTERCAPS_ANTIALIASSORTDEPENDENT       0x00000400
00160 #define D3DPRASTERCAPS_ANTIALIASSORTINDEPENDENT     0x00000800
00161 #define D3DPRASTERCAPS_ANTIALIASEDGES               0x00001000
00162 #define D3DPRASTERCAPS_MIPMAPLODBIAS                0x00002000
00163 #define D3DPRASTERCAPS_ZBIAS                        0x00004000
00164 #define D3DPRASTERCAPS_ZBUFFERLESSHSR               0x00008000
00165 #define D3DPRASTERCAPS_FOGRANGE                     0x00010000
00166 #define D3DPRASTERCAPS_ANISOTROPY                   0x00020000
00167 #define D3DPTBLENDCAPS_ADD                          0x00000080
00168 #define D3DPTADDRESSCAPS_BORDER                     0x00000008
00169 #define D3DPTADDRESSCAPS_INDEPENDENTUV              0x00000010
00170 #define D3DDEVCAPS_DRAWPRIMTLVERTEX                 0x00000400
00171 #define D3DDEVCAPS_CANRENDERAFTERFLIP               0x00000800
00172 #define D3DDEVCAPS_TEXTURENONLOCALVIDMEM            0x00001000
00173 #endif
00174 
00175 #if(DIRECT3D_VERSION >= 0x0600)
00176 #define D3DPRASTERCAPS_WBUFFER                      0x00040000
00177 #define D3DPRASTERCAPS_TRANSLUCENTSORTINDEPENDENT   0x00080000
00178 #define D3DPRASTERCAPS_WFOG                         0x00100000
00179 #define D3DPRASTERCAPS_ZFOG                         0x00200000
00180 #define D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE    0x00000040
00181 #define D3DPTEXTURECAPS_ALPHAPALETTE                0x00000080
00182 #define D3DPTEXTURECAPS_NONPOW2CONDITIONAL          0x00000100
00183 #define D3DPTFILTERCAPS_MINFPOINT                   0x00000100
00184 #define D3DPTFILTERCAPS_MINFLINEAR                  0x00000200
00185 #define D3DPTFILTERCAPS_MINFANISOTROPIC             0x00000400
00186 #define D3DPTFILTERCAPS_MIPFPOINT                   0x00010000
00187 #define D3DPTFILTERCAPS_MIPFLINEAR                  0x00020000
00188 #define D3DPTFILTERCAPS_MAGFPOINT                   0x01000000
00189 #define D3DPTFILTERCAPS_MAGFLINEAR                  0x02000000
00190 #define D3DPTFILTERCAPS_MAGFANISOTROPIC             0x04000000
00191 #define D3DPTFILTERCAPS_MAGFAFLATCUBIC              0x08000000
00192 #define D3DPTFILTERCAPS_MAGFGAUSSIANCUBIC           0x10000000
00193 #define D3DSTENCILCAPS_KEEP                         0x00000001
00194 #define D3DSTENCILCAPS_ZERO                         0x00000002
00195 #define D3DSTENCILCAPS_REPLACE                      0x00000004
00196 #define D3DSTENCILCAPS_INCRSAT                      0x00000008
00197 #define D3DSTENCILCAPS_DECRSAT                      0x00000010
00198 #define D3DSTENCILCAPS_INVERT                       0x00000020
00199 #define D3DSTENCILCAPS_INCR                         0x00000040
00200 #define D3DSTENCILCAPS_DECR                         0x00000080
00201 #define D3DSTENCILCAPS_TWOSIDED                     0x00000100
00202 #define D3DTEXOPCAPS_DISABLE                        0x00000001
00203 #define D3DTEXOPCAPS_SELECTARG1                     0x00000002
00204 #define D3DTEXOPCAPS_SELECTARG2                     0x00000004
00205 #define D3DTEXOPCAPS_MODULATE                       0x00000008
00206 #define D3DTEXOPCAPS_MODULATE2X                     0x00000010
00207 #define D3DTEXOPCAPS_MODULATE4X                     0x00000020
00208 #define D3DTEXOPCAPS_ADD                            0x00000040
00209 #define D3DTEXOPCAPS_ADDSIGNED                      0x00000080
00210 #define D3DTEXOPCAPS_ADDSIGNED2X                    0x00000100
00211 #define D3DTEXOPCAPS_SUBTRACT                       0x00000200
00212 #define D3DTEXOPCAPS_ADDSMOOTH                      0x00000400
00213 #define D3DTEXOPCAPS_BLENDDIFFUSEALPHA              0x00000800
00214 #define D3DTEXOPCAPS_BLENDTEXTUREALPHA              0x00001000
00215 #define D3DTEXOPCAPS_BLENDFACTORALPHA               0x00002000
00216 #define D3DTEXOPCAPS_BLENDTEXTUREALPHAPM            0x00004000
00217 #define D3DTEXOPCAPS_BLENDCURRENTALPHA              0x00008000
00218 #define D3DTEXOPCAPS_PREMODULATE                    0x00010000
00219 #define D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR         0x00020000
00220 #define D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA         0x00040000
00221 #define D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR      0x00080000
00222 #define D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA      0x00100000
00223 #define D3DTEXOPCAPS_BUMPENVMAP                     0x00200000
00224 #define D3DTEXOPCAPS_BUMPENVMAPLUMINANCE            0x00400000
00225 #define D3DTEXOPCAPS_DOTPRODUCT3                    0x00800000
00226 #define D3DFVFCAPS_TEXCOORDCOUNTMASK                0x0000FFFF
00227 #define D3DFVFCAPS_DONOTSTRIPELEMENTS               0x00080000
00228 #define D3DDEVCAPS_DRAWPRIMITIVES2                  0x00002000
00229 #define D3DDEVCAPS_SEPARATETEXTUREMEMORIES          0x00004000
00230 #define D3DDEVCAPS_DRAWPRIMITIVES2EX                0x00008000
00231 #endif
00232 
00233 #if(DIRECT3D_VERSION >= 0x0700)
00234 #define D3DPTEXTURECAPS_PROJECTED                   0x00000400
00235 #define D3DPTEXTURECAPS_CUBEMAP                     0x00000800
00236 #define D3DPTEXTURECAPS_COLORKEYBLEND               0x00001000
00237 #define D3DDEVCAPS_HWTRANSFORMANDLIGHT              0x00010000
00238 #define D3DDEVCAPS_CANBLTSYSTONONLOCAL              0x00020000
00239 #define D3DDEVCAPS_HWRASTERIZATION                  0x00080000
00240 #define D3DVTXPCAPS_TEXGEN                          0x00000001
00241 #define D3DVTXPCAPS_MATERIALSOURCE7                 0x00000002
00242 #define D3DVTXPCAPS_VERTEXFOG                       0x00000004
00243 #define D3DVTXPCAPS_DIRECTIONALLIGHTS               0x00000008
00244 #define D3DVTXPCAPS_POSITIONALLIGHTS                0x00000010
00245 #define D3DVTXPCAPS_LOCALVIEWER                     0x00000020
00246 #endif
00247 
00248 typedef struct _D3DTRANSFORMCAPS
00249 {
00250   DWORD dwSize;
00251   DWORD dwCaps;
00252 } D3DTRANSFORMCAPS, *LPD3DTRANSFORMCAPS;
00253 
00254 typedef struct _D3DLIGHTINGCAPS
00255 {
00256   DWORD dwSize;
00257   DWORD dwCaps;
00258   DWORD dwLightingModel;
00259   DWORD dwNumLights;
00260 } D3DLIGHTINGCAPS, *LPD3DLIGHTINGCAPS;
00261 
00262 typedef struct _D3DPrimCaps
00263 {
00264   DWORD dwSize;
00265   DWORD dwMiscCaps;
00266   DWORD dwRasterCaps;
00267   DWORD dwZCmpCaps;
00268   DWORD dwSrcBlendCaps;
00269   DWORD dwDestBlendCaps;
00270   DWORD dwAlphaCmpCaps;
00271   DWORD dwShadeCaps;
00272   DWORD dwTextureCaps;
00273   DWORD dwTextureFilterCaps;
00274   DWORD dwTextureBlendCaps;
00275   DWORD dwTextureAddressCaps;
00276   DWORD dwStippleWidth;
00277   DWORD dwStippleHeight;
00278 } D3DPRIMCAPS, *LPD3DPRIMCAPS;
00279 
00280 typedef struct _D3DDeviceDesc
00281 {
00282   DWORD dwSize;
00283   DWORD dwFlags;
00284   D3DCOLORMODEL dcmColorModel;
00285   DWORD dwDevCaps;
00286   D3DTRANSFORMCAPS dtcTransformCaps;
00287   BOOL bClipping;
00288   D3DLIGHTINGCAPS dlcLightingCaps;
00289   D3DPRIMCAPS dpcLineCaps;
00290   D3DPRIMCAPS dpcTriCaps;
00291   DWORD dwDeviceRenderBitDepth;
00292   DWORD dwDeviceZBufferBitDepth;
00293   DWORD dwMaxBufferSize;
00294   DWORD dwMaxVertexCount;
00295 #if(DIRECT3D_VERSION >= 0x0500)
00296   DWORD dwMinTextureWidth, dwMinTextureHeight;
00297   DWORD dwMaxTextureWidth, dwMaxTextureHeight;
00298   DWORD dwMinStippleWidth, dwMaxStippleWidth;
00299   DWORD dwMinStippleHeight, dwMaxStippleHeight;
00300 #endif
00301 
00302 #if(DIRECT3D_VERSION >= 0x0600)
00303   DWORD dwMaxTextureRepeat;
00304   DWORD dwMaxTextureAspectRatio;
00305   DWORD dwMaxAnisotropy;
00306   D3DVALUE dvGuardBandLeft;
00307   D3DVALUE dvGuardBandTop;
00308   D3DVALUE dvGuardBandRight;
00309   D3DVALUE dvGuardBandBottom;
00310   D3DVALUE dvExtentsAdjust;
00311   DWORD dwStencilCaps;
00312   DWORD dwFVFCaps;
00313   DWORD dwTextureOpCaps;
00314   WORD wMaxTextureBlendStages;
00315   WORD wMaxSimultaneousTextures;
00316 #endif
00317 } D3DDEVICEDESC, *LPD3DDEVICEDESC;
00318 
00319 #if(DIRECT3D_VERSION >= 0x0700)
00320   typedef struct _D3DDeviceDesc7
00321   {
00322     DWORD dwDevCaps;
00323     D3DPRIMCAPS dpcLineCaps;
00324     D3DPRIMCAPS dpcTriCaps;
00325     DWORD dwDeviceRenderBitDepth;
00326     DWORD dwDeviceZBufferBitDepth;
00327     DWORD dwMinTextureWidth;
00328     DWORD dwMinTextureHeight;
00329     DWORD dwMaxTextureWidth;
00330     DWORD dwMaxTextureHeight;
00331     DWORD dwMaxTextureRepeat;
00332     DWORD dwMaxTextureAspectRatio;
00333     DWORD dwMaxAnisotropy;
00334     D3DVALUE dvGuardBandLeft;
00335     D3DVALUE dvGuardBandTop;
00336     D3DVALUE dvGuardBandRight;
00337     D3DVALUE dvGuardBandBottom;
00338     D3DVALUE dvExtentsAdjust;
00339     DWORD dwStencilCaps;
00340     DWORD dwFVFCaps;
00341     DWORD dwTextureOpCaps;
00342     WORD wMaxTextureBlendStages;
00343     WORD wMaxSimultaneousTextures;
00344     DWORD dwMaxActiveLights;
00345     D3DVALUE dvMaxVertexW;
00346     GUID deviceGUID;
00347     WORD wMaxUserClipPlanes;
00348     WORD wMaxVertexBlendMatrices;
00349     DWORD dwVertexProcessingCaps;
00350     DWORD dwReserved1;
00351     DWORD dwReserved2;
00352     DWORD dwReserved3;
00353     DWORD dwReserved4;
00354 } D3DDEVICEDESC7, *LPD3DDEVICEDESC7;
00355 #endif
00356 
00357 typedef struct _D3DFINDDEVICESEARCH
00358 {
00359   DWORD dwSize;
00360   DWORD dwFlags;
00361   BOOL bHardware;
00362   D3DCOLORMODEL dcmColorModel;
00363   GUID guid;
00364   DWORD dwCaps;
00365   D3DPRIMCAPS dpcPrimCaps;
00366 } D3DFINDDEVICESEARCH, *LPD3DFINDDEVICESEARCH;
00367 
00368 typedef struct _D3DFINDDEVICERESULT
00369 {
00370   DWORD dwSize;
00371   GUID guid;
00372   D3DDEVICEDESC ddHwDesc;
00373   D3DDEVICEDESC ddSwDesc;
00374 } D3DFINDDEVICERESULT, *LPD3DFINDDEVICERESULT;
00375 
00376 typedef struct _D3DExecuteBufferDesc
00377 {
00378   DWORD dwSize;
00379   DWORD dwFlags;
00380   DWORD dwCaps;
00381   DWORD dwBufferSize;
00382   LPVOID lpData;
00383 } D3DEXECUTEBUFFERDESC, *LPD3DEXECUTEBUFFERDESC;
00384 
00385 #if(DIRECT3D_VERSION == 0x0700)
00386 typedef struct _D3DDEVINFO_TEXTUREMANAGER
00387 {
00388   BOOL bThrashing;
00389   DWORD dwApproxBytesDownloaded;
00390   DWORD dwNumEvicts;
00391   DWORD dwNumVidCreates;
00392   DWORD dwNumTexturesUsed;
00393   DWORD dwNumUsedTexInVid;
00394   DWORD dwWorkingSet;
00395   DWORD dwWorkingSetBytes;
00396   DWORD dwTotalManaged;
00397   DWORD dwTotalBytes;
00398   DWORD dwLastPri;
00399 } D3DDEVINFO_TEXTUREMANAGER, *LPD3DDEVINFO_TEXTUREMANAGER;
00400 
00401 typedef struct _D3DDEVINFO_TEXTURING
00402 {
00403   DWORD dwNumLoads;
00404   DWORD dwApproxBytesLoaded;
00405   DWORD dwNumPreLoads;
00406   DWORD dwNumSet;
00407   DWORD dwNumCreates;
00408   DWORD dwNumDestroys;
00409   DWORD dwNumSetPriorities;
00410   DWORD dwNumSetLODs;
00411   DWORD dwNumLocks;
00412   DWORD dwNumGetDCs;
00413 } D3DDEVINFO_TEXTURING, *LPD3DDEVINFO_TEXTURING;
00414 #endif
00415 
00416 typedef HRESULT (CALLBACK * LPD3DENUMDEVICESCALLBACK)(GUID  *lpGuid, LPSTR lpDeviceDescription, LPSTR lpDeviceName, LPD3DDEVICEDESC, LPD3DDEVICEDESC, LPVOID);
00417 
00418 #if(DIRECT3D_VERSION >= 0x0700)
00419   typedef HRESULT (CALLBACK * LPD3DENUMDEVICESCALLBACK7)(LPSTR lpDeviceDescription, LPSTR lpDeviceName, LPD3DDEVICEDESC7, LPVOID);
00420 #endif
00421 
00422 #pragma pack()
00423 
00424 #endif
00425 

Generated on Sat May 26 2012 04:29:15 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.