1 /* 2 * Copyright 2011 Joakim Sindholt <opensource@zhasha.com> 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * on the rights to use, copy, modify, merge, publish, distribute, sub 8 * license, and/or sell copies of the Software, and to permit persons to whom 9 * the Software is furnished to do so, subject to the following conditions: 10 * 11 * The above copyright notice and this permission notice (including the next 12 * paragraph) shall be included in all copies or substantial portions of the 13 * Software. 14 * 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 18 * THE AUTHOR(S) AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, 19 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 20 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 21 * USE OR OTHER DEALINGS IN THE SOFTWARE. */ 22 23 #ifndef _D3D9CAPS_H_ 24 #define _D3D9CAPS_H_ 25 26 #include "d3d9types.h" 27 28 /* Caps flags */ 29 #define D3DCAPS_OVERLAY 0x00000800 30 #define D3DCAPS_READ_SCANLINE 0x00020000 31 32 #define D3DCAPS2_FULLSCREENGAMMA 0x00020000 33 #define D3DCAPS2_CANCALIBRATEGAMMA 0x00100000 34 #define D3DCAPS2_RESERVED 0x02000000 35 #define D3DCAPS2_CANMANAGERESOURCE 0x10000000 36 #define D3DCAPS2_DYNAMICTEXTURES 0x20000000 37 #define D3DCAPS2_CANAUTOGENMIPMAP 0x40000000 38 #define D3DCAPS2_CANSHARERESOURCE 0x80000000 39 40 #define D3DCAPS3_ALPHA_FULLSCREEN_FLIP_OR_DISCARD 0x00000020 41 #define D3DCAPS3_LINEAR_TO_SRGB_PRESENTATION 0x00000080 42 #define D3DCAPS3_COPY_TO_VIDMEM 0x00000100 43 #define D3DCAPS3_COPY_TO_SYSTEMMEM 0x00000200 44 #define D3DCAPS3_DXVAHD 0x00000400 45 #define D3DCAPS3_RESERVED 0x8000001F 46 47 #define D3DPRESENT_INTERVAL_DEFAULT 0x00000000 48 #define D3DPRESENT_INTERVAL_ONE 0x00000001 49 #define D3DPRESENT_INTERVAL_TWO 0x00000002 50 #define D3DPRESENT_INTERVAL_THREE 0x00000004 51 #define D3DPRESENT_INTERVAL_FOUR 0x00000008 52 #define D3DPRESENT_INTERVAL_IMMEDIATE 0x80000000 53 54 #define D3DCURSORCAPS_COLOR 0x00000001 55 #define D3DCURSORCAPS_LOWRES 0x00000002 56 57 #define D3DDEVCAPS_EXECUTESYSTEMMEMORY 0x00000010 58 #define D3DDEVCAPS_EXECUTEVIDEOMEMORY 0x00000020 59 #define D3DDEVCAPS_TLVERTEXSYSTEMMEMORY 0x00000040 60 #define D3DDEVCAPS_TLVERTEXVIDEOMEMORY 0x00000080 61 #define D3DDEVCAPS_TEXTURESYSTEMMEMORY 0x00000100 62 #define D3DDEVCAPS_TEXTUREVIDEOMEMORY 0x00000200 63 #define D3DDEVCAPS_DRAWPRIMTLVERTEX 0x00000400 64 #define D3DDEVCAPS_CANRENDERAFTERFLIP 0x00000800 65 #define D3DDEVCAPS_TEXTURENONLOCALVIDMEM 0x00001000 66 #define D3DDEVCAPS_DRAWPRIMITIVES2 0x00002000 67 #define D3DDEVCAPS_SEPARATETEXTUREMEMORIES 0x00004000 68 #define D3DDEVCAPS_DRAWPRIMITIVES2EX 0x00008000 69 #define D3DDEVCAPS_HWTRANSFORMANDLIGHT 0x00010000 70 #define D3DDEVCAPS_CANBLTSYSTONONLOCAL 0x00020000 71 #define D3DDEVCAPS_HWRASTERIZATION 0x00080000 72 #define D3DDEVCAPS_PUREDEVICE 0x00100000 73 #define D3DDEVCAPS_QUINTICRTPATCHES 0x00200000 74 #define D3DDEVCAPS_RTPATCHES 0x00400000 75 #define D3DDEVCAPS_RTPATCHHANDLEZERO 0x00800000 76 #define D3DDEVCAPS_NPATCHES 0x01000000 77 78 #define D3DPMISCCAPS_MASKZ 0x00000002 79 #define D3DPMISCCAPS_CULLNONE 0x00000010 80 #define D3DPMISCCAPS_CULLCW 0x00000020 81 #define D3DPMISCCAPS_CULLCCW 0x00000040 82 #define D3DPMISCCAPS_COLORWRITEENABLE 0x00000080 83 #define D3DPMISCCAPS_CLIPPLANESCALEDPOINTS 0x00000100 84 #define D3DPMISCCAPS_CLIPTLVERTS 0x00000200 85 #define D3DPMISCCAPS_TSSARGTEMP 0x00000400 86 #define D3DPMISCCAPS_BLENDOP 0x00000800 87 #define D3DPMISCCAPS_NULLREFERENCE 0x00001000 88 #define D3DPMISCCAPS_INDEPENDENTWRITEMASKS 0x00004000 89 #define D3DPMISCCAPS_PERSTAGECONSTANT 0x00008000 90 #define D3DPMISCCAPS_FOGANDSPECULARALPHA 0x00010000 91 #define D3DPMISCCAPS_SEPARATEALPHABLEND 0x00020000 92 #define D3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS 0x00040000 93 #define D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING 0x00080000 94 #define D3DPMISCCAPS_FOGVERTEXCLAMPED 0x00100000 95 #define D3DPMISCCAPS_POSTBLENDSRGBCONVERT 0x00200000 96 97 #define D3DPRASTERCAPS_DITHER 0x00000001 98 #define D3DPRASTERCAPS_ZTEST 0x00000010 99 #define D3DPRASTERCAPS_FOGVERTEX 0x00000080 100 #define D3DPRASTERCAPS_FOGTABLE 0x00000100 101 #define D3DPRASTERCAPS_MIPMAPLODBIAS 0x00002000 102 #define D3DPRASTERCAPS_ZBUFFERLESSHSR 0x00008000 103 #define D3DPRASTERCAPS_FOGRANGE 0x00010000 104 #define D3DPRASTERCAPS_ANISOTROPY 0x00020000 105 #define D3DPRASTERCAPS_WBUFFER 0x00040000 106 #define D3DPRASTERCAPS_WFOG 0x00100000 107 #define D3DPRASTERCAPS_ZFOG 0x00200000 108 #define D3DPRASTERCAPS_COLORPERSPECTIVE 0x00400000 109 #define D3DPRASTERCAPS_SCISSORTEST 0x01000000 110 #define D3DPRASTERCAPS_SLOPESCALEDEPTHBIAS 0x02000000 111 #define D3DPRASTERCAPS_DEPTHBIAS 0x04000000 112 #define D3DPRASTERCAPS_MULTISAMPLE_TOGGLE 0x08000000 113 114 #define D3DPCMPCAPS_NEVER 0x00000001 115 #define D3DPCMPCAPS_LESS 0x00000002 116 #define D3DPCMPCAPS_EQUAL 0x00000004 117 #define D3DPCMPCAPS_LESSEQUAL 0x00000008 118 #define D3DPCMPCAPS_GREATER 0x00000010 119 #define D3DPCMPCAPS_NOTEQUAL 0x00000020 120 #define D3DPCMPCAPS_GREATEREQUAL 0x00000040 121 #define D3DPCMPCAPS_ALWAYS 0x00000080 122 123 #define D3DPBLENDCAPS_ZERO 0x00000001 124 #define D3DPBLENDCAPS_ONE 0x00000002 125 #define D3DPBLENDCAPS_SRCCOLOR 0x00000004 126 #define D3DPBLENDCAPS_INVSRCCOLOR 0x00000008 127 #define D3DPBLENDCAPS_SRCALPHA 0x00000010 128 #define D3DPBLENDCAPS_INVSRCALPHA 0x00000020 129 #define D3DPBLENDCAPS_DESTALPHA 0x00000040 130 #define D3DPBLENDCAPS_INVDESTALPHA 0x00000080 131 #define D3DPBLENDCAPS_DESTCOLOR 0x00000100 132 #define D3DPBLENDCAPS_INVDESTCOLOR 0x00000200 133 #define D3DPBLENDCAPS_SRCALPHASAT 0x00000400 134 #define D3DPBLENDCAPS_BOTHSRCALPHA 0x00000800 135 #define D3DPBLENDCAPS_BOTHINVSRCALPHA 0x00001000 136 #define D3DPBLENDCAPS_BLENDFACTOR 0x00002000 137 #ifndef D3D_DISABLE_9EX 138 # define D3DPBLENDCAPS_SRCCOLOR2 0x00004000 139 # define D3DPBLENDCAPS_INVSRCCOLOR2 0x00008000 140 #endif 141 142 #define D3DPSHADECAPS_COLORGOURAUDRGB 0x00000008 143 #define D3DPSHADECAPS_SPECULARGOURAUDRGB 0x00000200 144 #define D3DPSHADECAPS_ALPHAGOURAUDBLEND 0x00004000 145 #define D3DPSHADECAPS_FOGGOURAUD 0x00080000 146 147 #define D3DPTEXTURECAPS_PERSPECTIVE 0x00000001 148 #define D3DPTEXTURECAPS_POW2 0x00000002 149 #define D3DPTEXTURECAPS_ALPHA 0x00000004 150 #define D3DPTEXTURECAPS_SQUAREONLY 0x00000020 151 #define D3DPTEXTURECAPS_TEXREPEATNOTSCALEDBYSIZE 0x00000040 152 #define D3DPTEXTURECAPS_ALPHAPALETTE 0x00000080 153 #define D3DPTEXTURECAPS_NONPOW2CONDITIONAL 0x00000100 154 #define D3DPTEXTURECAPS_PROJECTED 0x00000400 155 #define D3DPTEXTURECAPS_CUBEMAP 0x00000800 156 #define D3DPTEXTURECAPS_VOLUMEMAP 0x00002000 157 #define D3DPTEXTURECAPS_MIPMAP 0x00004000 158 #define D3DPTEXTURECAPS_MIPVOLUMEMAP 0x00008000 159 #define D3DPTEXTURECAPS_MIPCUBEMAP 0x00010000 160 #define D3DPTEXTURECAPS_CUBEMAP_POW2 0x00020000 161 #define D3DPTEXTURECAPS_VOLUMEMAP_POW2 0x00040000 162 #define D3DPTEXTURECAPS_NOPROJECTEDBUMPENV 0x00200000 163 164 #define D3DPTFILTERCAPS_MINFPOINT 0x00000100 165 #define D3DPTFILTERCAPS_MINFLINEAR 0x00000200 166 #define D3DPTFILTERCAPS_MINFANISOTROPIC 0x00000400 167 #define D3DPTFILTERCAPS_MINFPYRAMIDALQUAD 0x00000800 168 #define D3DPTFILTERCAPS_MINFGAUSSIANQUAD 0x00001000 169 #define D3DPTFILTERCAPS_MIPFPOINT 0x00010000 170 #define D3DPTFILTERCAPS_MIPFLINEAR 0x00020000 171 #define D3DPTFILTERCAPS_MAGFPOINT 0x01000000 172 #define D3DPTFILTERCAPS_MAGFLINEAR 0x02000000 173 #define D3DPTFILTERCAPS_MAGFANISOTROPIC 0x04000000 174 #define D3DPTFILTERCAPS_MAGFPYRAMIDALQUAD 0x08000000 175 #define D3DPTFILTERCAPS_MAGFGAUSSIANQUAD 0x10000000 176 177 #define D3DPTADDRESSCAPS_WRAP 0x00000001 178 #define D3DPTADDRESSCAPS_MIRROR 0x00000002 179 #define D3DPTADDRESSCAPS_CLAMP 0x00000004 180 #define D3DPTADDRESSCAPS_BORDER 0x00000008 181 #define D3DPTADDRESSCAPS_INDEPENDENTUV 0x00000010 182 #define D3DPTADDRESSCAPS_MIRRORONCE 0x00000020 183 184 #define D3DLINECAPS_TEXTURE 0x00000001 185 #define D3DLINECAPS_ZTEST 0x00000002 186 #define D3DLINECAPS_BLEND 0x00000004 187 #define D3DLINECAPS_ALPHACMP 0x00000008 188 #define D3DLINECAPS_FOG 0x00000010 189 #define D3DLINECAPS_ANTIALIAS 0x00000020 190 191 #define D3DSTENCILCAPS_KEEP 0x00000001 192 #define D3DSTENCILCAPS_ZERO 0x00000002 193 #define D3DSTENCILCAPS_REPLACE 0x00000004 194 #define D3DSTENCILCAPS_INCRSAT 0x00000008 195 #define D3DSTENCILCAPS_DECRSAT 0x00000010 196 #define D3DSTENCILCAPS_INVERT 0x00000020 197 #define D3DSTENCILCAPS_INCR 0x00000040 198 #define D3DSTENCILCAPS_DECR 0x00000080 199 #define D3DSTENCILCAPS_TWOSIDED 0x00000100 200 201 #define D3DFVFCAPS_TEXCOORDCOUNTMASK 0x0000FFFF 202 #define D3DFVFCAPS_DONOTSTRIPELEMENTS 0x00080000 203 #define D3DFVFCAPS_PSIZE 0x00100000 204 205 #define D3DTEXOPCAPS_DISABLE 0x00000001 206 #define D3DTEXOPCAPS_SELECTARG1 0x00000002 207 #define D3DTEXOPCAPS_SELECTARG2 0x00000004 208 #define D3DTEXOPCAPS_MODULATE 0x00000008 209 #define D3DTEXOPCAPS_MODULATE2X 0x00000010 210 #define D3DTEXOPCAPS_MODULATE4X 0x00000020 211 #define D3DTEXOPCAPS_ADD 0x00000040 212 #define D3DTEXOPCAPS_ADDSIGNED 0x00000080 213 #define D3DTEXOPCAPS_ADDSIGNED2X 0x00000100 214 #define D3DTEXOPCAPS_SUBTRACT 0x00000200 215 #define D3DTEXOPCAPS_ADDSMOOTH 0x00000400 216 #define D3DTEXOPCAPS_BLENDDIFFUSEALPHA 0x00000800 217 #define D3DTEXOPCAPS_BLENDTEXTUREALPHA 0x00001000 218 #define D3DTEXOPCAPS_BLENDFACTORALPHA 0x00002000 219 #define D3DTEXOPCAPS_BLENDTEXTUREALPHAPM 0x00004000 220 #define D3DTEXOPCAPS_BLENDCURRENTALPHA 0x00008000 221 #define D3DTEXOPCAPS_PREMODULATE 0x00010000 222 #define D3DTEXOPCAPS_MODULATEALPHA_ADDCOLOR 0x00020000 223 #define D3DTEXOPCAPS_MODULATECOLOR_ADDALPHA 0x00040000 224 #define D3DTEXOPCAPS_MODULATEINVALPHA_ADDCOLOR 0x00080000 225 #define D3DTEXOPCAPS_MODULATEINVCOLOR_ADDALPHA 0x00100000 226 #define D3DTEXOPCAPS_BUMPENVMAP 0x00200000 227 #define D3DTEXOPCAPS_BUMPENVMAPLUMINANCE 0x00400000 228 #define D3DTEXOPCAPS_DOTPRODUCT3 0x00800000 229 #define D3DTEXOPCAPS_MULTIPLYADD 0x01000000 230 #define D3DTEXOPCAPS_LERP 0x02000000 231 232 #define D3DVTXPCAPS_TEXGEN 0x00000001 233 #define D3DVTXPCAPS_MATERIALSOURCE7 0x00000002 234 #define D3DVTXPCAPS_DIRECTIONALLIGHTS 0x00000008 235 #define D3DVTXPCAPS_POSITIONALLIGHTS 0x00000010 236 #define D3DVTXPCAPS_LOCALVIEWER 0x00000020 237 #define D3DVTXPCAPS_TWEENING 0x00000040 238 #define D3DVTXPCAPS_TEXGEN_SPHEREMAP 0x00000100 239 #define D3DVTXPCAPS_NO_TEXGEN_NONLOCALVIEWER 0x00000200 240 241 #define D3DDEVCAPS2_STREAMOFFSET 0x00000001 242 #define D3DDEVCAPS2_DMAPNPATCH 0x00000002 243 #define D3DDEVCAPS2_ADAPTIVETESSRTPATCH 0x00000004 244 #define D3DDEVCAPS2_ADAPTIVETESSNPATCH 0x00000008 245 #define D3DDEVCAPS2_CAN_STRETCHRECT_FROM_TEXTURES 0x00000010 246 #define D3DDEVCAPS2_PRESAMPLEDDMAPNPATCH 0x00000020 247 #define D3DDEVCAPS2_VERTEXELEMENTSCANSHARESTREAMOFFSET 0x00000040 248 249 #define D3DDTCAPS_UBYTE4 0x00000001 250 #define D3DDTCAPS_UBYTE4N 0x00000002 251 #define D3DDTCAPS_SHORT2N 0x00000004 252 #define D3DDTCAPS_SHORT4N 0x00000008 253 #define D3DDTCAPS_USHORT2N 0x00000010 254 #define D3DDTCAPS_USHORT4N 0x00000020 255 #define D3DDTCAPS_UDEC3 0x00000040 256 #define D3DDTCAPS_DEC3N 0x00000080 257 #define D3DDTCAPS_FLOAT16_2 0x00000100 258 #define D3DDTCAPS_FLOAT16_4 0x00000200 259 260 261 #define D3DVS20_MAX_DYNAMICFLOWCONTROLDEPTH 24 262 #define D3DVS20_MIN_DYNAMICFLOWCONTROLDEPTH 0 263 #define D3DVS20_MAX_NUMTEMPS 32 264 #define D3DVS20_MIN_NUMTEMPS 12 265 #define D3DVS20_MAX_STATICFLOWCONTROLDEPTH 4 266 #define D3DVS20_MIN_STATICFLOWCONTROLDEPTH 1 267 268 #define D3DVS20CAPS_PREDICATION (1 << 0) 269 270 #define D3DPS20CAPS_ARBITRARYSWIZZLE (1 << 0) 271 #define D3DPS20CAPS_GRADIENTINSTRUCTIONS (1 << 1) 272 #define D3DPS20CAPS_PREDICATION (1 << 2) 273 #define D3DPS20CAPS_NODEPENDENTREADLIMIT (1 << 3) 274 #define D3DPS20CAPS_NOTEXINSTRUCTIONLIMIT (1 << 4) 275 276 #define D3DPS20_MAX_DYNAMICFLOWCONTROLDEPTH 24 277 #define D3DPS20_MIN_DYNAMICFLOWCONTROLDEPTH 0 278 #define D3DPS20_MAX_NUMTEMPS 32 279 #define D3DPS20_MIN_NUMTEMPS 12 280 #define D3DPS20_MAX_STATICFLOWCONTROLDEPTH 4 281 #define D3DPS20_MIN_STATICFLOWCONTROLDEPTH 0 282 #define D3DPS20_MAX_NUMINSTRUCTIONSLOTS 512 283 #define D3DPS20_MIN_NUMINSTRUCTIONSLOTS 96 284 285 #define D3DMIN30SHADERINSTRUCTIONS 512 286 #define D3DMAX30SHADERINSTRUCTIONS 32768 287 288 /* Structs */ 289 typedef struct _D3DVSHADERCAPS2_0 { 290 DWORD Caps; 291 INT DynamicFlowControlDepth; 292 INT NumTemps; 293 INT StaticFlowControlDepth; 294 } D3DVSHADERCAPS2_0, *PD3DVSHADERCAPS2_0, *LPD3DVSHADERCAPS2_0; 295 296 typedef struct _D3DPSHADERCAPS2_0 { 297 DWORD Caps; 298 INT DynamicFlowControlDepth; 299 INT NumTemps; 300 INT StaticFlowControlDepth; 301 INT NumInstructionSlots; 302 } D3DPSHADERCAPS2_0, *PD3DPSHADERCAPS2_0, *LPD3DPSHADERCAPS2_0; 303 304 typedef struct _D3DCAPS9 { 305 D3DDEVTYPE DeviceType; 306 UINT AdapterOrdinal; 307 DWORD Caps; 308 DWORD Caps2; 309 DWORD Caps3; 310 DWORD PresentationIntervals; 311 DWORD CursorCaps; 312 DWORD DevCaps; 313 DWORD PrimitiveMiscCaps; 314 DWORD RasterCaps; 315 DWORD ZCmpCaps; 316 DWORD SrcBlendCaps; 317 DWORD DestBlendCaps; 318 DWORD AlphaCmpCaps; 319 DWORD ShadeCaps; 320 DWORD TextureCaps; 321 DWORD TextureFilterCaps; 322 DWORD CubeTextureFilterCaps; 323 DWORD VolumeTextureFilterCaps; 324 DWORD TextureAddressCaps; 325 DWORD VolumeTextureAddressCaps; 326 DWORD LineCaps; 327 DWORD MaxTextureWidth; 328 DWORD MaxTextureHeight; 329 DWORD MaxVolumeExtent; 330 DWORD MaxTextureRepeat; 331 DWORD MaxTextureAspectRatio; 332 DWORD MaxAnisotropy; 333 float MaxVertexW; 334 float GuardBandLeft; 335 float GuardBandTop; 336 float GuardBandRight; 337 float GuardBandBottom; 338 float ExtentsAdjust; 339 DWORD StencilCaps; 340 DWORD FVFCaps; 341 DWORD TextureOpCaps; 342 DWORD MaxTextureBlendStages; 343 DWORD MaxSimultaneousTextures; 344 DWORD VertexProcessingCaps; 345 DWORD MaxActiveLights; 346 DWORD MaxUserClipPlanes; 347 DWORD MaxVertexBlendMatrices; 348 DWORD MaxVertexBlendMatrixIndex; 349 float MaxPointSize; 350 DWORD MaxPrimitiveCount; 351 DWORD MaxVertexIndex; 352 DWORD MaxStreams; 353 DWORD MaxStreamStride; 354 DWORD VertexShaderVersion; 355 DWORD MaxVertexShaderConst; 356 DWORD PixelShaderVersion; 357 float PixelShader1xMaxValue; 358 DWORD DevCaps2; 359 float MaxNpatchTessellationLevel; 360 DWORD Reserved5; 361 UINT MasterAdapterOrdinal; 362 UINT AdapterOrdinalInGroup; 363 UINT NumberOfAdaptersInGroup; 364 DWORD DeclTypes; 365 DWORD NumSimultaneousRTs; 366 DWORD StretchRectFilterCaps; 367 D3DVSHADERCAPS2_0 VS20Caps; 368 D3DPSHADERCAPS2_0 PS20Caps; 369 DWORD VertexTextureFilterCaps; 370 DWORD MaxVShaderInstructionsExecuted; 371 DWORD MaxPShaderInstructionsExecuted; 372 DWORD MaxVertexShader30InstructionSlots; 373 DWORD MaxPixelShader30InstructionSlots; 374 } D3DCAPS9, *PD3DCAPS9, *LPD3DCAPS9; 375 376 typedef struct _D3DCONTENTPROTECTIONCAPS { 377 DWORD Caps; 378 GUID KeyExchangeType; 379 UINT BufferAlignmentStart; 380 UINT BlockAlignmentSize; 381 ULONGLONG ProtectedMemorySize; 382 } D3DCONTENTPROTECTIONCAPS, *PD3DCONTENTPROTECTIONCAPS, *LPD3DCONTENTPROTECTIONCAPS; 383 384 typedef struct _D3DOVERLAYCAPS { 385 UINT Caps; 386 UINT MaxOverlayDisplayWidth; 387 UINT MaxOverlayDisplayHeight; 388 } D3DOVERLAYCAPS, *PD3DOVERLAYCAPS, *LPD3DOVERLAYCAPS; 389 390 #endif /* _D3D9CAPS_H_ */ 391