Microsoft SDK for Java

DirectXConstants Interface Fields

The DirectXConstants Interface contains the following fields.

D3DBLEND_BOTHINVSRCALPHA The destination blend selection is overridden when the source blend factor is (1-As, 1-As, 1-As, 1-As), and destination blend factor is (As, As, As, As).
D3DBLEND_BOTHSRCALPHA The destination blend selection is overridden when the source blend factor is (As, As, As, As), and destination blend factor is (1-As, 1-As, 1-As, 1-As).
D3DBLEND_DESTALPHA Blend factor is (Ad, Ad, Ad, Ad).
D3DBLEND_DESTCOLOR Blend factor is (Rd, Gd, Bd, Ad).
D3DBLEND_INVDESTALPHA Blend factor is (1-Ad, 1-Ad, 1-Ad, 1-Ad).
D3DBLEND_INVDESTCOLOR Blend factor is (1-Rd, 1-Gd, 1-Bd, 1-Ad).
D3DBLEND_INVSRCALPHA Blend factor is (1-As, 1-As, 1-As).
D3DBLEND_INVSRCCOLOR Blend factor is (As, As, As, As, 1-As).
D3DBLEND_ONE Blend factor is (1, 1, 1, 1).
D3DBLEND_SRCALPHA Blend factor is (As, As, As, As).
D3DBLEND_SRCALPHASAT Blend factor is (f, f, f, 1); f = min(As, 1-Ad).
D3DBLEND_SRCCOLOR Blend factor is (Rs, Gs, Bs, As).
D3DBLEND_ZERO Blend factor is (0, 0, 0, 0).
D3DCLEAR_TARGET Clear the rendering target to the background material (if set).
D3DCLEAR_ZBUFFER Clear the z-buffer or set it to the current background depth field (if set).
D3DCLIP_BACK Clipped by the back plane of the viewing frustum.;
D3DCLIP_BOTTOM Clipped by the bottom plane of the viewing frustum.
D3DCLIP_FRONT Clipped by the front plane of the viewing frustum.
D3DCLIP_GEN0 Application-defined clipping plane.
D3DCLIP_GEN1 Application-defined clipping plane.
D3DCLIP_GEN2 Application-defined clipping plane.
D3DCLIP_GEN3 Application-defined clipping plane.
D3DCLIP_GEN4 Application-defined clipping plane.
D3DCLIP_GEN5 Application-defined clipping plane.
D3DCLIP_LEFT Clipped by the left plane of the viewing frustum.
D3DCLIP_RIGHT Clipped by the right plane of the viewing frustum.
D3DCLIP_TOP Clipped by the top plane of the viewing frustum.
D3DCMP_ALWAYS Always pass the test.
D3DCMP_EQUAL Accept the new pixel if its value equals the value of the current pixel.
D3DCMP_GREATER Accept the new pixel if its value is greater than the value of the current pixel.
D3DCMP_GREATEREQUAL Accept the new pixel if its value is greater than or equal to the value of the current pixel.
D3DCMP_LESS Accept the new pixel if its value is less than the value of the current pixel.
D3DCMP_LESSEQUAL Accept the new pixel if its value is less than or equal to the value of the current pixel.
D3DCMP_NEVER Always fail the test.
D3DCMP_NOTEQUAL Accept the new pixel if its value does not equal the value of the current pixel.
D3DCOLOR_MONO Use a monochromatic model (or ramp model). In this model, the blue component of a vertex color is used to define the brightness of a lit vertex.
D3DCOLOR_RGB Use a full RGB model.
D3DCULL_CCW Cull faces with counterclockwise vertices.
D3DCULL_CW Cull faces with clockwise vertices.
D3DCULL_NONE Do not cull faces.
D3DDD_BCLIPPING The D3dDeviceDesc.clipping field is valid.
D3DDD_COLORMODEL The D3dDeviceDesc.dcmColorModel field is valid.
D3DDD_DEVCAPS The D3dDeviceDesc.devCaps field is valid.
D3DDD_DEVICERENDERBITDEPTH The D3dDeviceDesc.deviceRenderBitDepth field is valid.
D3DDD_DEVICEZBUFFERBITDEPTH The D3dDeviceDesc.deviceZBufferBitDepth field is valid.
D3DDD_LIGHTINGCAPS The D3dDeviceDesc.dlcLightingCaps field is valid.
D3DDD_LINECAPS Reserved.
D3DDD_MAXBUFFERSIZE The D3dDeviceDesc.maxBufferSize field is valid.
D3DDD_MAXVERTEXCOUNT The D3dDeviceDesc.maxVertexCount field is valid.
D3DDD_TRANSFORMCAPS The D3dDeviceDesc.dtcTransformCaps field is valid.
D3DDD_TRICAPS Reserved.
D3DDEB_BUFSIZE The D3dExecuteBufferDesc.bufferSize field is valid.
D3DDEB_CAPS The D3dExecuteBufferDesc.caps field is valid.
D3DDEB_LPDATA The D3dExecuteBufferDesc.data field is valid.
D3DDEBCAPS_MEM A logical OR of D3DDEBCAPS_SYSTEMMEMORY and D3DDEBCAPS_VIDEOMEMORY.
D3DDEBCAPS_SYSTEMMEMORY The execute buffer data resides in system memory.
D3DDEBCAPS_VIDEOMEMORY The execute buffer data resides in device memory.
D3DDEVCAPS_EXECUTESYSTEMMEMORY Device can use execute buffers from system memory.
D3DDEVCAPS_EXECUTEVIDEOMEMORY Device can use execute buffers from video memory.
D3DDEVCAPS_FLOATTLVERTEX Device accepts floating point for post-transform vertex data.
D3DDEVCAPS_SORTDECREASINGZ Device needs data sorted for decreasing depth.
D3DDEVCAPS_SORTEXACT Device needs data sorted exactly.
D3DDEVCAPS_SORTINCREASINGZ Device needs data sorted for increasing depth.
D3DDEVCAPS_TEXTURESYSTEMMEMORY Device can retrieve textures from system memory.
D3DDEVCAPS_TEXTUREVIDEOMEMORY Device can retrieves textures from device memory.
D3DDEVCAPS_TLVERTEXSYSTEMMEMORY Device can use buffers from system memory for transformed and lit vertices.
D3DDEVCAPS_TLVERTEXVIDEOMEMORY Device can use buffers from video memory for transformed and lit vertices.
D3DEXECUTE_CLIPPED Clip any primitives in the buffer that are outside or partially outside the viewport.
D3DEXECUTE_UNCLIPPED All primitives in the buffer are contained within the viewport.
D3DFDS_ALPHACMPCAPS Match the D3dFindDeviceSearch.alphaCmpCaps field.
D3DFDS_COLORMODEL Match the color model specified in the D3dFindDeviceSearch.dcmColorModel field.
D3DFDS_DSTBLENDCAPS Match the D3dFindDeviceSearch.destBlendCaps field.
D3DFDS_GUID Match the globally unique identifier (GUID).
D3DFDS_HARDWARE Match the hardware or software search specification given in the D3dFindDeviceSearch.hardware field.
D3DFDS_LINES Reserved.
D3DFDS_MISCCAPS Match the D3dFindDeviceSearch.miscCaps field.
D3DFDS_RASTERCAPS Match the D3dFindDeviceSearch.rasterCaps field.
D3DFDS_SHADECAPS Match the D3dFindDeviceSearch.shadeCaps field.
D3DFDS_SRCBLENDCAPS Match the D3dFindDeviceSearch.srcBlendCaps field.
D3DFDS_TEXTUREADDRESSCAPS Match the D3dFindDeviceSearch.textureAddressCaps field.
D3DFDS_TEXTUREBLENDCAPS Match the D3dFindDeviceSearch.textureBlendCaps field.
D3DFDS_TEXTURECAPS Match the D3dFindDeviceSearch.textureCaps field.
D3DFDS_TEXTUREFILTERCAPS Match the D3dFindDeviceSearch.textureFilterCaps field.
D3DFDS_TRIANGLES Reserved.
D3DFDS_ZCMPCAPS Match the D3dFindDeviceSearch.zCmpCaps field.
D3DFILL_POINT Fill points.
D3DFILL_SOLID Fill solid.
D3DFILL_WIREFRAME Fill wire frames.
D3DFILTER_LINEAR Weighted average of a 2-by-2 area of texels surrounding the desired pixel is used. This applies to both zooming in and zooming out. If either is supported, both zooming in and zooming out must be supported.
D3DFILTER_LINEARMIPLINEAR Similar to D3DFILTER_MIPLINEAR, but interpolates between the two nearest mipmaps.
D3DFILTER_LINEARMIPNEAREST Similar to D3DFILTER_MIPNEAREST, but interpolates between the two nearest mipmaps.
D3DFILTER_MIPLINEAR Similar to D3DFILTER_LINEAR, but uses the appropriate mipmap for texel selection.
D3DFILTER_MIPNEAREST Similar to D3DFILTER_NEAREST, but uses the appropriate mipmap for texel selection.
D3DFILTER_NEAREST Texel with coordinates nearest to the desired pixel value is used. This applies to both zooming in and zooming out. If either zooming in or zooming out is supported, both must be supported.
D3DFOG_EXP The fog effect intensifies exponentially.
D3DFOG_EXP2 The fog effect intensifies exponentially with the square of the distance.
D3DFOG_LINEAR The fog effect intensifies linearly between the start and end points.
D3DFOG_NONE No fog effect.
D3DLIGHT_DIRECTIONAL Light is a directional source.
D3DLIGHT_GLSPOT Light is a GL-style spotlight.
D3DLIGHT_PARALLELPOINT Light is a parallel point source.
D3DLIGHT_POINT Light is a point source.
D3DLIGHT_SPOT Light is a spotlight source.
D3DLIGHTSTATE_AMBIENT Set the color and intensity of the current ambient light. If an application specifies this value, it should not specify a light as a parameter. The default value is 0.
D3DLIGHTSTATE_COLORMODEL One value of D3DCOLOR_ type. The default value is D3DCOLOR_RGB.
D3DLIGHTSTATE_FOGDENSITY Define the density setting for fog. The default value is 1.0.
D3DLIGHTSTATE_FOGEND Define the ending value for fog. The default value is 100.0.
D3DLIGHTSTATE_FOGMODE One value of D3DFOG_ type. The default value is D3DFOG_NONE.
D3DLIGHTSTATE_FOGSTART Define the starting value for fog. The default value is 1.0.
D3DLIGHTSTATE_MATERIAL Define the material that is lit and used to compute the final color and intensity values during rasterization. The default value is null.
D3DOP_BRANCHFORWARD Enable a branching mechanism within the execute buffer.
D3DOP_EXIT Signal that the end of the list has been reached.
D3DOP_LINE Send a line to the renderer.
D3DOP_MATRIXLOAD Trigger a data transfer in the rendering engine.
D3DOP_MATRIXMULTIPLY Trigger a data transfer in the rendering engine.
D3DOP_POINT Send a point to the renderer.
D3DOP_PROCESSVERTICES Set both lighting and transformations for vertices.
D3DOP_SETSTATUS Reset the status of the execute buffer.
D3DOP_SPAN Span a list of points with the same y-value.
D3DOP_STATELIGHT Set the value of internal state variables in the rendering engine for the lighting module. Operand data is a variable token and the new value. The token identifies the internal state variable, and the new value is the value to which that variable should be set.
D3DOP_STATERENDER Set the value of internal state variables in the rendering engine for the rendering module. Operand data is a variable token and the new value. The token identifies the internal state variable, and the new value is the value to which that variable should be set.
D3DOP_STATETRANSFORM Set the value of internal state variables in the rendering engine for the transformation module. Operand data is a variable token and the new value. The token identifies the internal state variable, and the new value is the value to which that variable should be set.
D3DOP_TEXTURELOAD Trigger a data transfer in the rendering engine.
D3DOP_TRIANGLE Send a triangle to the renderer.
D3DPAL_FREE The renderer can use this entry freely.
D3DPAL_READONLY The renderer cannot set this entry.
D3DPAL_RESERVED The renderer cannot use this entry.
D3DPBLENDCAPS_BOTHINVSRCALPHA The destination blend selection is overridden when the source blend factor is (1-As, 1-As, 1-As, 1-As) and destination blend factor is (As, As, As, As).
D3DPBLENDCAPS_BOTHSRCALPHA The destination blend selection is overridden when the source blend factor is (As, As, As, As) and destination blend factor is (1-As, 1-As, 1-As, 1-As).
D3DPBLENDCAPS_DESTALPHA Blend factor is (Ad, Ad, Ad, Ad).
D3DPBLENDCAPS_DESTCOLOR Blend factor is (Rd, Gd, Bd, Ad).
D3DPBLENDCAPS_INVDESTALPHA Blend factor is (1-Ad, 1-Ad, 1-Ad, 1-Ad).
D3DPBLENDCAPS_INVDESTCOLOR Blend factor is (1-Rd, 1-Gd, 1-Bd, 1-Ad).
D3DPBLENDCAPS_INVSRCALPHA Blend factor is (1-As, 1-As, 1-As, 1-As).
D3DPBLENDCAPS_INVSRCCOLOR Blend factor is (1-Rd, 1-Gd, 1-Bd, 1-Ad).
D3DPBLENDCAPS_ONE Blend factor is (1, 1, 1, 1).
D3DPBLENDCAPS_SRCALPHA Blend factor is (As, As, As, As).
D3DPBLENDCAPS_SRCALPHASAT Blend factor is (f, f, f, 1); f = min(As, 1-Ad).
D3DPBLENDCAPS_SRCCOLOR Blend factor is (Rs, Gs, Bs, As).
D3DPBLENDCAPS_ZERO Blend factor is (0, 0, 0, 0).
D3DPCMPCAPS_ALWAYS Always pass the z-test.
D3DPCMPCAPS_EQUAL Pass the z-test if the new z-value equals the current z-value.
D3DPCMPCAPS_GREATER Pass the z-test if the new z-value is greater than the current z-value.
D3DPCMPCAPS_GREATEREQUAL Pass the z-test if the new z-value is greater than or equal to the current z-value.
D3DPCMPCAPS_LESS Pass the z-test if the new z-value is less than the current z-value.
D3DPCMPCAPS_LESSEQUAL Pass the z-test if the new z-value is less than or equal to the current z-value.
D3DPCMPCAPS_NEVER Always fail the z-test.
D3DPCMPCAPS_NOTEQUAL Pass the z-test if the new z-value does not equal the current z-value.
D3DPMISCCAPS_CONFORMANT The device conforms to the OpenGL standard.
D3DPMISCCAPS_CULLCCW The driver supports counterclockwise culling through the D3DRENDERSTATE_CULLMODE state. (This applies only to triangle primitives.) This corresponds to the D3DCULL_CCW value.
D3DPMISCCAPS_CULLCW The driver supports clockwise triangle culling through the D3DRENDERSTATE_CULLMODE state. (This applies only to triangle primitives.) This corresponds to the D3DCULL_CW value.
D3DPMISCCAPS_CULLNONE The driver does not perform triangle culling. This corresponds to the D3DCULL_NONE value.
D3DPMISCCAPS_LINEPATTERNREP Reserved.
D3DPMISCCAPS_MASKPLANES The device can perform a bitmask of color planes.
D3DPMISCCAPS_MASKZ The device can enable and disable modification of the z-buffer on pixel operations.
D3DPRASTERCAPS_DITHER The device can dither to improve color resolution.
D3DPRASTERCAPS_FOGTABLE The device calculates the fog value by referring to a lookup table containing fog values that are indexed to the depth of a given pixel.
D3DPRASTERCAPS_FOGVERTEX The device calculates the fog value during the lighting operation and places the value into the alpha component of the D3DCOLOR_ value given for the specular color in the D3dLightData.out field. It then interpolates the fog value during rasterization.
D3DPRASTERCAPS_PAT The driver can perform patterned drawing (lines or fills with D3DRENDERSTATE_LINEPATTERN or one of the D3DRENDERSTATE_STIPPLEPATTERN render states) for the primitive being queried.
D3DPRASTERCAPS_ROP2 The device can support raster operations other than R2_COPYPEN.
D3DPRASTERCAPS_STIPPLE The device can stipple polygons to simulate translucency.
D3DPRASTERCAPS_SUBPIXEL The device performs subpixel placement of color, texture, and z data, rather than working with the nearest integer pixel coordinate. This helps avoid bleed-through due to z-imprecision, and jitter of color and texture values for pixels. Note that there is no corresponding state that can be enabled and disabled. The device either performs subpixel placement or it does not, and this bit is present only so that the Microsoft® Direct3D™ client will be better able to determine what the rendering quality will be.
D3DPRASTERCAPS_SUBPIXELX The device is subpixel accurate along the x-axis only and is clamped to an integer y-axis scan line. For information about subpixel accuracy, see D3DPRASTERCAPS_SUBPIXEL .
D3DPRASTERCAPS_XOR The device can support XOR operations.
D3DPRASTERCAPS_ZTEST The device can perform z-test operations. This effectively renders a primitive and indicates whether any z-pixels would have been rendered.
D3DPROCESSVERTICES_COPY Vertices should be copied to the driver, because they have always been transformed and lit. If all the vertices in the execute buffer can be copied, the driver does not need to do the work of processing the vertices; the result is an improvement in performance.
D3DPROCESSVERTICES_NOCOLOR Vertices should not be colored.
D3DPROCESSVERTICES_OPMASK Specifies a bitmask of the other flags in the flags member, exclusive of D3DPROCESSVERTICES_NOCOLOR and D3DPROCESSVERTICES_UPDATEEXTENTS.
D3DPROCESSVERTICES_TRANSFORM Vertices should be transformed.
D3DPROCESSVERTICES_TRANSFORMLIGHT Vertices should be transformed and lit.
D3DPROCESSVERTICES_UPDATEEXTENTS Extents of all transformed vertices should be updated. This information is returned in the D3dStatus.x1, D3dStatus.y1, D3dStatus.x2, and D3dStatus.y2 fields.
D3DPSHADECAPS_ALPHAFLATBLEND Device can support an alpha component for flat blended transparency (the D3DSHADE_FLAT state).
D3DPSHADECAPS_ALPHAFLATSTIPPLED Device can support an alpha component for flat stippled transparency (the D3DSHADE_FLAT state). In these modes, the alpha color component for a primitive is provided as part of the color for the first vertex of the primitive.
D3DPSHADECAPS_ALPHAGOURAUDBLEND Device can support an alpha component for Gouraud blended transparency (the D3DSHADE_GOURAUD state).
D3DPSHADECAPS_ALPHAGOURAUDSTIPPLED Device can support an alpha component for Gouraud stippled transparency (the D3DSHADE_GOURAUD state). In these modes, the alpha color component for a primitive is provided at vertices and interpolated across a face along with the other color components.
D3DPSHADECAPS_ALPHAPHONGBLEND Device can support an alpha component for Phong blended transparency (the D3DSHADE_PHONG state).
D3DPSHADECAPS_ALPHAPHONGSTIPPLED Device can support an alpha component for Phong stippled transparency (the D3DSHADE_PHONG state). In these modes, vertex parameters are reevaluated on a per-pixel basis, applying lighting effects for the red, green, and blue color components. Phong shading is not currently supported.
D3DPSHADECAPS_COLORFLATMONO Device can support colored flat shading in the D3DCOLOR_MONO color model.
D3DPSHADECAPS_COLORFLATRGB Device can support colored flat shading in the D3DCOLOR_RGB color model. In these modes, the color component for a primitive is provided as part of the color for the first vertex of the primitive. In monochromatic lighting modes, only the blue component of the color is interpolated. In RGB lighting modes, the red, green, and blue components are interpolated.
D3DPSHADECAPS_COLORGOURAUDMONO Device can support colored Gouraud shading in the D3DCOLOR_MONOcolor model.
D3DPSHADECAPS_COLORGOURAUDRGB Device can support colored Gouraud shading in the D3DCOLOR_RGB color model. In these modes, the color component for a primitive is provided at vertices and interpolated across a face along with the other color components. In monochromatic lighting modes, only the blue component of the color is interpolated. In RGB lighting modes, the red, green, and blue components are interpolated.
D3DPSHADECAPS_COLORPHONGMONO Device can support colored Phong shading in the D3DCOLOR_MONO color model.
D3DPSHADECAPS_COLORPHONGRGB Device can support colored Phong shading in the D3DCOLOR_RGB color model. In these modes, vertex parameters are reevaluated on a per-pixel basis. Lighting effects are applied for the red, green, and blue color components in RGB mode, and for the blue component only for monochromatic mode. Phong shading is not currently supported.
D3DPSHADECAPS_FOGFLAT Device can support fog in the flat shading model.
D3DPSHADECAPS_FOGGOURAUD Device can support fog in the Gouraud shading model.
D3DPSHADECAPS_FOGPHONG Device can support fog in the Phong shading model. Phong shading is not currently supported.
D3DPSHADECAPS_SPECULARFLATMONO Device can support specular highlights in flat shading in the D3DCOLOR_MONO color model.
D3DPSHADECAPS_SPECULARFLATRGB Device can support specular highlights in flat shading in the D3DCOLOR_RGB color model.
D3DPSHADECAPS_SPECULARGOURAUDMONO Device can support specular highlights in Gouraud shading in the D3DCOLOR_MONO color model.
D3DPSHADECAPS_SPECULARGOURAUDRGB Device can support specular highlights in Gouraud shading in the D3DCOLOR_RGB color model.
D3DPSHADECAPS_SPECULARPHONGMONO Device can support specular highlights in Phong shading in the D3DCOLOR_MONO color model. Phong shading is not currently supported.
D3DPSHADECAPS_SPECULARPHONGRGB Device can support specular highlights in Phong shading in the D3DCOLOR_RGB color model. Phong shading is not currently supported.
D3DPTADDRESSCAPS_CLAMP Device can clamp textures to addresses.
D3DPTADDRESSCAPS_MIRROR Device can mirror textures to addresses.
D3DPTADDRESSCAPS_WRAP Device can wrap textures to addresses.
D3DPTBLENDCAPS_COPY Copy texture-blending mode (D3DTBLEND_COPY) is supported.
D3DPTBLENDCAPS_DECAL Decal texture-blending mode (D3DTBLEND_DECAL) is supported.
D3DPTBLENDCAPS_DECALALPHA Decal-alpha texture-blending mode (D3DTBLEND_DECALALPHA ) is supported.
D3DPTBLENDCAPS_DECALMASK Decal-mask texture-blending mode (D3DTBLEND_DECALMASK ) is supported.
D3DPTBLENDCAPS_MODULATE Modulate texture-blending mode (D3DTBLEND_MODULATE ) is supported.
D3DPTBLENDCAPS_MODULATEALPHA Modulate-alpha texture-blending mode (D3DTBLEND_MODULATEALPHA ) is supported.
D3DPTBLENDCAPS_MODULATEMASK Modulate-mask texture-blending mode (D3DTBLEND_MODULATEMASK ) is supported.
D3DPTEXTURECAPS_ALPHA RGBA textures are supported. If this capability is not set, only RGB textures are supported in those modes.
D3DPTEXTURECAPS_BORDER Texture mapping along borders is supported.
D3DPTEXTURECAPS_PERSPECTIVE Perspective correction is supported.
D3DPTEXTURECAPS_POW2 All non-mipmapped textures must have widths and heights specified as powers of two if this flag is set. (Note that all mipmapped textures must always have dimensions that are powers of two.)
D3DPTEXTURECAPS_SQUAREONLY All textures must be square.
D3DPTEXTURECAPS_TRANSPARENCY Texture transparency is supported. (Only those texels that are not the current transparent color are drawn.)
D3DPTFILTERCAPS_LINEAR A weighted average of a 2-by-2 area of texels surrounding the desired pixel is used. This applies to both zooming in and zooming out. If either is supported, both zooming in and zooming out must be supported.
D3DPTFILTERCAPS_LINEARMIPLINEAR Interpolate between the two nearest mipmaps.
D3DPTFILTERCAPS_LINEARMIPNEAREST Interpolate between the two nearest mipmaps.
D3DPTFILTERCAPS_MIPLINEAR Use the appropriate mipmap for texel selection.
D3DPTFILTERCAPS_MIPNEAREST Use the appropriate mipmap for texel selection.
D3DPTFILTERCAPS_NEAREST The texel with coordinates nearest to the desired pixel value is used. This applies to both zooming in and zooming out. If either is supported, both zooming in and zooming out must be supported.
D3DRENDERSTATE_ALPHAFUNC One D3DCMP_ value. The default value is D3DCMP_ALWAYS. This field enables an application to accept or reject a pixel based on its alpha value.
D3DRENDERSTATE_ALPHAREF Value specifying a reference alpha value against which pixels are tested when alpha-testing is enabled. The default value is 0.
D3DRENDERSTATE_ALPHATESTENABLE This member enables applications to turn off the tests that otherwise would accept or reject a pixel based on its alpha value. Set to TRUE to enable alpha tests. The default value is FALSE.
D3DRENDERSTATE_ANTIALIAS Antialiasing primitive edges. The default value is FALSE.
D3DRENDERSTATE_BLENDENABLE TRUE to enable alpha blending. The default value is FALSE.
D3DRENDERSTATE_CULLMODE One D3DCULL_ value. Software renderers have a fixed culling order and do not support changing the culling mode. The default value is D3DCULL_CCW.
D3DRENDERSTATE_DESTBLEND One D3DBLEND_ value. The default value is D3DBLEND_ZERO.
D3DRENDERSTATE_DITHERENABLE TRUE to enable dithering. The default value is FALSE.
D3DRENDERSTATE_FILLMODE One or more D3DFILL_ values. The default value is D3DFILL_SOLID.
D3DRENDERSTATE_FOGCOLOR A D3DCOLOR_ value. The default value is 0.
D3DRENDERSTATE_FOGENABLE TRUE to enable fog. The default value is FALSE.
D3DRENDERSTATE_FOGTABLEDENSITY Sets the maximum fog density for linear fog mode. This value can range from 0 to 1.
D3DRENDERSTATE_FOGTABLEEND Fog table end. This is the position at which fog effects reach their maximum density for linear fog mode.
D3DRENDERSTATE_FOGTABLEMODE A D3DFOG_ value. The default value is D3DFOG_NONE.
D3DRENDERSTATE_FOGTABLESTART Fog table start. This is the position at which fog effects begin for linear fog mode.
D3DRENDERSTATE_LASTPIXEL TRUE to prevent drawing the last pixel in a line. The default value is TRUE.
D3DRENDERSTATE_LINEPATTERN Reserved.
D3DRENDERSTATE_MONOENABLE TRUE to enable monochromatic rendering. The default value is FALSE. If the device does not support RGB rendering, the value will be TRUE. Applications can check whether the device supports RGB rendering by using the D3dDeviceDesc.dcmColorModel field.
D3DRENDERSTATE_PLANEMASK Physical plane mask. The default value is 0.
D3DRENDERSTATE_ROP2 One of the 16 ROP2 binary raster operations that specify how the supplied pixels are combined with the pixels of the display surface. Applications can use the D3DPRASTERCAPS_ROP2 flag in the D3dFindDeviceSearch.rasterCaps field to determine whether additional raster operations are supported. The default value is R2_COPYPEN.
D3DRENDERSTATE_SHADEMODE One or more D3DSHADE_ values. The default value is D3DSHADE_GOURAUD.
D3DRENDERSTATE_SPECULARENABLE TRUE to enable specular. The default value is TRUE.
D3DRENDERSTATE_SRCBLEND One D3DBLEND_ value. The default value is D3DBLEND_ONE.
D3DRENDERSTATE_STIPPLEDALPHA TRUE to enable stippled alpha. The default value is FALSE.
D3DRENDERSTATE_STIPPLEENABLE Enables stippling in the device driver. When stippled alpha is enabled, it must override the current stipple pattern. When stippled alpha is disabled, the stipple pattern must be returned.
D3DRENDERSTATE_STIPPLEPATTERN00 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN01 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN02 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN03 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN04 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN05 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN06 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN07 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN08 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN09 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN10 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN11 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN12 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN13 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN14 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN15 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN16 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN17 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN18 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN19 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN20 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN21 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN22 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN23 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN24 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN25 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN26 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN27 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN28 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN29 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN30 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_STIPPLEPATTERN31 Stipple pattern. Each render state applies to a separate line of the stipple pattern.
D3DRENDERSTATE_SUBPIXEL TRUE to enable subpixel correction. The default value is FALSE.
D3DRENDERSTATE_SUBPIXELX TRUE to enable correction in x-values only. The default value is FALSE.
D3DRENDERSTATE_TEXTUREADDRESS One D3DTADDRESS_ value. The default value is D3DTADDRESS_WRAP.
D3DRENDERSTATE_TEXTUREHANDLE Texture handle. The default value is null.
D3DRENDERSTATE_TEXTUREMAG One D3DFILTER_ value. The default value is D3DFILTER_NEAREST.
D3DRENDERSTATE_TEXTUREMAPBLEND One D3DTBLEND_ value. The default value is D3DTBLEND_MODULATE.
D3DRENDERSTATE_TEXTUREMIN One D3DFILTER_ value. The default value is D3DFILTER_NEAREST.
D3DRENDERSTATE_TEXTUREPERSPECTIVE TRUE for perspective correction. The default value is FALSE.
D3DRENDERSTATE_WRAPU TRUE for wrapping in u-direction. The default value is FALSE.
D3DRENDERSTATE_WRAPV TRUE for wrapping in v-direction. The default value is FALSE.
D3DRENDERSTATE_ZENABLE TRUE to enable the z-buffer comparison test when writing to the frame buffer. The default value is FALSE.
D3DRENDERSTATE_ZFUNC One D3DCMP_ value. This field enables an application to accept or reject a pixel based on its distance from the camera. The default value is D3DCMP_LESSEQUAL.
D3DRENDERSTATE_ZVISIBLE TRUE to enable z-checking. Z-checking is a culling technique in which a polygon representing the screen space of an entire group of polygons is tested against the z-buffer to discover whether any of the polygons should be drawn. The default value is FALSE.
D3DRENDERSTATE_ZWRITEENABLE TRUE to enable z-writes. This member enables an application to prevent the system from updating the z-buffer with new z-values. The default value is TRUE.
D3DRMANIMATION_CLOSED Animation plays continually, looping back to the beginning whenever it reaches the end. In a closed animation, the last key in the animation should be a repeat of the first. This repeated key is used to indicate the time difference between the last and first keys in the looping animation.
D3DRMANIMATION_LINEARPOSITION The animation's position is set linearly.
D3DRMANIMATION_OPEN The animation plays once and stops.
D3DRMANIMATION_POSITION The animation's position matrix overwrites any transformation matrices that could be set by other methods.
D3DRMANIMATION_SCALEANDROTATION The animation's scale and rotation matrix overwrites any transformation matrices that could be set by other methods.
D3DRMANIMATION_SPLINEPOSITION The animation's position is set using splines.
D3DRMCOLOR_FROMFACE The object's color source is a face.
D3DRMCOLOR_FROMVERTEX The object's color source is a vertex.
D3DRMCOMBINE_AFTER The supplied matrix is multiplied with the frame's current matrix and follows the current matrix in the calculation.
D3DRMCOMBINE_BEFORE The supplied matrix is multiplied with the frame's current matrix and precedes the current matrix in the calculation.
D3DRMCOMBINE_REPLACE The supplied matrix replaces the frame's current matrix.
D3DRMCONSTRAIN_X Use only y- and z-rotations.
D3DRMCONSTRAIN_Y Use only x- and z-rotations.
D3DRMCONSTRAIN_Z Use only x- and y-rotations.
D3DRMFILL_MASK Fill using a mask.
D3DRMFILL_MAX Maximum value for fill mode.
D3DRMFILL_POINTS Fill points only; minimum fill mode.
D3DRMFILL_SOLID Fill solid objects.
D3DRMFILL_WIREFRAME Fill wireframes.
D3DRMFOG_EXPONENTIAL The fog effect intensifies exponentially.
D3DRMFOG_EXPONENTIALSQUARED The fog effect intensifies exponentially with the square of the distance.
D3DRMFOG_LINEAR The fog effect intensifies linearly between the start and end points. This is the only fog mode currently supported.
D3DRMLIGHT_AMBIENT Light is an ambient source.
D3DRMLIGHT_DIRECTIONAL Light is a directional source.
D3DRMLIGHT_MASK Lighting uses a mask.
D3DRMLIGHT_MAX Maximum lighting mode.
D3DRMLIGHT_OFF Lighting is off.
D3DRMLIGHT_ON Lighting is on.
D3DRMLIGHT_PARALLELPOINT Light is a parallel point source.
D3DRMLIGHT_POINT Light is a point source.
D3DRMLIGHT_SPOT Light is a spotlight source.
D3DRMLOAD_BYGUID Load any object by using a specified globally unique identifier (GUID).
D3DRMLOAD_BYNAME Load any object by using a specified name.
D3DRMLOAD_BYPOSITION Load a stand-alone object based on a given zero-based position (that is, the nth object in the file). Stand-alone objects can contain other objects, but are not contained by any other objects.
D3DRMLOAD_FIRST This is the default setting. Load the first stand-alone object of the given type (for example, a mesh if the application calls Direct3drmMeshBuilder.loadFromFileByPos). Stand-alone objects can contain other objects, but are not contained by any other objects.
D3DRMLOAD_FROMFILE Load from a file. This is the default setting.
D3DRMLOAD_FROMMEMORY Reserved.
D3DRMLOAD_FROMRESOURCE Reserved.
D3DRMLOAD_FROMSTREAM Reserved.
D3DRMLOAD_INSTANCEBYCOPYING Check whether an object already exists with the same name as specified and, if so, copy that object.
D3DRMLOAD_INSTANCEBYREFERENCE Check whether an object already exists with the same name as specified and, if so, use an instance of that object instead of creating a new one.
D3DRMMATERIAL_FROMFRAME Material information is retrieved from the frame, overriding any previous material information that the visual object might have possessed.
D3DRMMATERIAL_FROMMESH Material information is retrieved from the visual object (the mesh) itself. This is the default setting.
D3DRMMATERIAL_FROMPARENT Material information, along with color or texture information, is inherited from the parent frame.
D3DRMPALETTE_FREE Renderer can use this entry freely.
D3DRMPALETTE_READONLY Fixed but can be used by renderer.
D3DRMPALETTE_RESERVED Cannot be used by renderer.
D3DRMPROJECT_ORTHOGRAPHIC The projection is orthographic.
D3DRMPROJECT_PERSPECTIVE The projection is perspective.
D3DRMRENDER_FLAT Flat shaded.
D3DRMRENDER_GOURAUD Gouraud shaded.
D3DRMRENDER_PHONG Phong shaded. Phong shading is not currently supported.
D3DRMRENDER_UNLITFLAT Flat shaded without lighting.
D3DRMRENDER_WIREFRAME Display only the edges.
D3DRMSHADE_FLAT Flat shaded.
D3DRMSHADE_GOURAUD Gouraud shaded.
D3DRMSHADE_MASK Shading uses a mask.
D3DRMSHADE_MAX Maximum shade.
D3DRMSHADE_PHONG Phong shaded. Phong shading is not currently supported.
D3DRMSORT_BACKTOFRONT Child frames are sorted back-to-front.
D3DRMSORT_FROMPARENT Child frames inherit the sorting order of their parents. This is the default setting.
D3DRMSORT_FRONTTOBACK Child frames are sorted front-to-back.
D3DRMSORT_NONE Child frames are not sorted.
D3DRMTEXTURE_LINEAR Linearly interpolate the four nearest pixels.
D3DRMTEXTURE_LINEARMIPLINEAR Similar to D3DRMTEXTURE_MIPLINEAR, but interpolates between the two nearest mipmaps.
D3DRMTEXTURE_LINEARMIPNEAREST Similar to D3DRMTEXTURE_MIPNEAREST, but interpolates between the two nearest mipmaps.
D3DRMTEXTURE_MIPLINEAR Similar to D3DRMTEXTURE_LINEAR, but uses the appropriate mipmap instead of the texture.
D3DRMTEXTURE_MIPNEAREST Similar to D3DRMTEXTURE_NEAREST, but uses the appropriate mipmap instead of the texture.
D3DRMTEXTURE_NEAREST Choose the nearest pixel in the texture.
D3DRMWIREFRAME_CULL The backfacing faces are not drawn.
D3DRMWIREFRAME_HIDDENLINE Wireframe-rendered lines are obscured by nearer objects.
D3DRMWRAP_CHROME The wrap allocates texture coordinates so that the texture appears to be reflected onto the objects.
D3DRMWRAP_CYLINDER The wrap is cylindrical.
D3DRMWRAP_FLAT The wrap is flat.
D3DRMWRAP_SPHERE The wrap is spherical.
D3DRMXOF_BINARY File is in binary format. This is the default setting.
D3DRMXOF_COMPRESSED Not currently supported.
D3DRMXOF_TEXT File is in text format.
D3DRMXOFSAVE_ALL Save normal vectors, texture coordinates, materials, and texture names in addition to the basic geometry.
D3DRMXOFSAVE_MATERIALS Save materials in addition to the basic geometry.
D3DRMXOFSAVE_NORMALS Save normal vectors in addition to the basic geometry.
D3DRMXOFSAVE_TEMPLATES Save templates with the file. By default, templates are not saved.
D3DRMXOFSAVE_TEXTURECOORDINATES Save texture coordinates in addition to the basic geometry.
D3DRMXOFSAVE_TEXTURENAMES Save texture names in addition to the basic geometry.
D3DRMZBUFFER_DISABLE Z-buffering is disabled.
D3DRMZBUFFER_ENABLE Z-buffering is enabled.
D3DRMZBUFFER_FROMPARENT The frame inherits the z-buffer setting from its parent frame. This is the default setting.
D3DSETSTATUS_ALL  
D3DSETSTATUS_EXTENTS Sets the extents of the bounding box specified in the D3dStatus.x1, D3dStatus.y1, D3dStatus.x2, and D3dStatus.y2 fields.
D3DSETSTATUS_STATUS Sets the status.
D3DSHADE_FLAT Flat shade mode. The color of the first vertex in the triangle is used to determine the color of the face.
D3DSHADE_GOURAUD Gouraud shade mode. The color of the face is determined by a linear interpolation between all three of the triangle's vertices.
D3DSHADE_PHONG Phong shade mode. This mode is not currently supported.
D3DSTATE_OVERRIDE_BIAS Override bias.
D3DSTATUS_CLIPINTERSECTIONALL Combination of all CLIPINTERSECTION flags.
D3DSTATUS_CLIPINTERSECTIONBACK Logical AND of the clip flags for the vertices compared to the back clipping plane of the viewing frustum.
D3DSTATUS_CLIPINTERSECTIONBOTTOM Logical AND of the clip flags for the vertices compared to the bottom of the viewing frustum.
D3DSTATUS_CLIPINTERSECTIONFRONT Logical AND of the clip flags for the vertices compared to the front clipping plane of the viewing frustum.
D3DSTATUS_CLIPINTERSECTIONGEN0 Logical AND of the clip flags for application-defined clipping planes.
D3DSTATUS_CLIPINTERSECTIONGEN1 Logical AND of the clip flags for application-defined clipping planes.
D3DSTATUS_CLIPINTERSECTIONGEN2 Logical AND of the clip flags for application-defined clipping planes.
D3DSTATUS_CLIPINTERSECTIONGEN3 Logical AND of the clip flags for application-defined clipping planes.
D3DSTATUS_CLIPINTERSECTIONGEN4 Logical AND of the clip flags for application-defined clipping planes.
D3DSTATUS_CLIPINTERSECTIONGEN5 Logical AND of the clip flags for application-defined clipping planes.
D3DSTATUS_CLIPINTERSECTIONLEFT Logical AND of the clip flags for the vertices compared to the left side of the viewing frustum.
D3DSTATUS_CLIPINTERSECTIONRIGHT Logical AND of the clip flags for the vertices compared to the right side of the viewing frustum.
D3DSTATUS_CLIPINTERSECTIONTOP Logical AND of the clip flags for the vertices compared to the top of the viewing frustum.
D3DSTATUS_CLIPUNIONALL Combination of all CLIPUNION flags.
D3DSTATUS_CLIPUNIONBACK Equal to D3DCLIP_BACK.
D3DSTATUS_CLIPUNIONBOTTOM Equal to D3DCLIP_BOTTOM.
D3DSTATUS_CLIPUNIONFRONT Equal to D3DCLIP_FRONT.
D3DSTATUS_CLIPUNIONGEN0 Equal to D3DCLIP_GEN0
D3DSTATUS_CLIPUNIONGEN1 Equal to D3DCLIP_GEN1.
D3DSTATUS_CLIPUNIONGEN2 Equal to D3DCLIP_GEN2.
D3DSTATUS_CLIPUNIONGEN3 Equal to D3DCLIP_GEN3.
D3DSTATUS_CLIPUNIONGEN4 Equal to D3DCLIP_GEN4.
D3DSTATUS_CLIPUNIONGEN5 Equal to D3DCLIP_GEN5.
D3DSTATUS_CLIPUNIONLEFT Equal to D3DCLIP_LEFT.
D3DSTATUS_CLIPUNIONRIGHT Equal to D3DCLIP_RIGHT.
D3DSTATUS_CLIPUNIONTOP Equal to D3DCLIP_TOP.
D3DSTATUS_DEFAULT Combination of D3DSTATUS_CLIPINTERSECTION and D3DSTATUS_ZNOTVISIBLE flags. This value is the default.
D3DSTATUS_ZNOTVISIBLE Reserved.
D3DTADDRESS_CLAMP Texture coordinates greater than 1.0 are set to 1.0, and values less than 0.0 are set to 0.0.
D3DTADDRESS_MIRROR Equivalent to a tiling texture-addressing mode (that is, when neither D3DRENDERSTATE_WRAPU nor D3DRENDERSTATE_WRAPV is used), except that the texture is flipped at every integer junction. For u-values between 0 and 1, for example, the texture is addressed normally; between 1 and 2, the texture is flipped (mirrored); between 2 and 3, the texture is normal again, and so on.
D3DTADDRESS_WRAP The D3DRENDERSTATE_WRAPU and D3DRENDERSTATE_WRAPV render states are used. This is the default setting.
D3DTBLEND_COPY Copy texture-blending is supported.
BLEND_DECAL Decal texture-blending is supported. In this mode, the RGB and alpha values of the texture replace the colors that would have been used with no texturing.
D3DTBLEND_DECALALPHA Decal-alpha texture-blending is supported. In this mode, the RGB and alpha values of the texture are blended with the colors that would have been used with no texturing.

In the D3DTBLEND_DECALALPHA mode, any alpha values in the texture replace the alpha values in the colors that would have been used with no texturing.

D3DTBLEND_DECALMASK Decal-mask texture-blending is supported.
D3DTBLEND_MODULATE Modulate texture-blending is supported. In this mode, the RGB values of the texture are multiplied with the RGB values that would have been used with no texturing. Any alpha values in the texture replace the alpha values that would have been used with no texturing.
D3DTBLEND_MODULATEALPHA Modulate-alpha texture-blending is supported. In this mode, the RGB values of the texture are multiplied with the RGB values that would have been used with no texturing, and the alpha values of the texture are multiplied with the alpha values that would have been used with no texturing.
D3DTBLEND_MODULATEMASK Modulate-mask texture-blending is supported.
D3DTRANSFORM_CLIPPED The method uses the current transformation matrix to transform a set of vertices, checking the resulting vertices to see if they are within the viewing frustum. The homogeneous part of the D3dTransformData.in field will be set if the vertex is clipped. Otherwise, only the screen coordinates will be set. The D3dTransformData.x1, D3dTransformData.y1, D3dTransformData.x2, and D3dTransformData.y2 fields will also be set to the 2D bounding rectangle of the resulting vertices.
D3DTRANSFORM_UNCLIPPED The method uses the current transformation matrix to transform a set of vertices. In this case, the system assumes that all the resulting coordinates will be within the viewing frustum. The D3dTransformData.x1, D3dTransformData.y1, D3dTransformData.x2, and D3dTransformData.y2 fields will be set to the bounding rectangle of the resulting vertices.
D3DTRANSFORMSTATE_PROJECTION Define the matrix for the projection transformation. The default value is null (the identity matrix).
D3DTRANSFORMSTATE_VIEW Define the matrix for the view transformation. The default value is null (the identity matrix).
D3DTRANSFORMSTATE_WORLD Define the matrix for the world transformation. The default values is null (the identity matrix).
D3DTRIFLAG_EDGEENABLE1 Edge defined by v1–v2.
D3DTRIFLAG_EDGEENABLE2 Edge defined by v2–v3.
D3DTRIFLAG_EDGEENABLE3 Edge defined by v3–v1.
D3DTRIFLAG_EDGEENABLETRIANGLE All edges.
D3DTRIFLAG_EVEN The v1–v2 edge of the current triangle is adjacent to the v3–v1 edge of the previous triangle; that is, v1 is the previous v1, and v2 is the previous v3.
D3DTRIFLAG_ODD The v1–v2 edge of the current triangle is adjacent to the v2–v3 edge of the previous triangle; that is, v1 is the previous v3, and v2 is the previous v2.
D3DTRIFLAG_START Begin the strip or fan, loading all three vertices.
DD_OK The request completed successfully.
DDBD_1 One bit per pixel.
DDBD_16 Sixteen bits per pixel.
DDBD_2 Two bits per pixel.
DDBD_24 Twenty-four bits per pixel.
DDBD_32 Thirty-two bits per pixel.
DDBD_4 Four bits per pixel.
DDBD_8 Eight bits per pixel.
DDBLT_ALPHADEST Use either the alpha information in the pixel format or the alpha channel surface attached to the destination surface as the alpha channel for this blit.
DDBLT_ALPHADESTCONSTOVERRIDE Uses the DDBltFx.alphaDestConst field as the alpha channel for the destination surface for this blit.
DDBLT_ALPHADESTNEG Indicates that the destination surface becomes more transparent as the alpha value increases (0 is opaque).
DDBLT_ALPHADESTSURFACEOVERRIDE Reserved.
DDBLT_ALPHAEDGEBLEND Uses the DDBltFx.alphaEdgeBlend field as the alpha channel for the edges of the image that border the colors of the color key.
DDBLT_ALPHASRC Uses either the alpha information in the pixel format or the alpha channel surface attached to the source surface as the alpha channel for this blit.
DDBLT_ALPHASRCCONSTOVERRIDE Uses the DDBltFx.alphaSrcConst field as the alpha channel for the source for this blit.
DDBLT_ALPHASRCNEG Indicates that the source surface becomes more transparent as the alpha value increases (0 is opaque).
DDBLT_ALPHASRCSURFACEOVERRIDE Reserved.
DDBLT_ASYNC Processes this blit asynchronously through the FIFO hardware in the order received. If there is no room in the FIFO hardware, the call fails.
DDBLT_COLORFILL Uses the DDBltFx.fillValue field as the RGB color with which to fill the destination rectangle on the destination surface.
DDBLT_DDFX Uses the DDBltFx.ddfx field to specify the effects to be used for this blit.
DDBLT_DDROPS Uses the DDBltFx.ddrop field to specify the raster operations that are not part of the Microsoft® Win32® API.
DDBLT_DEPTHFILL Reserved.
DDBLT_KEYDEST Uses the color key associated with the destination surface.
DDBLT_KEYDESTOVERRIDE Uses the DDBltFx.destColorSpaceLowValue and DDBltFx.destColorSpaceHighValue fields as the color key for the destination surface.
DDBLT_KEYSRC Uses the color key associated with the source surface.
DDBLT_KEYSRCOVERRIDE Uses the DDBltFx.srcColorSpaceLowValue and DDBltFx.srcColorSpaceHighValue fields as the color key for the source surface.
DDBLT_ROP Uses the DDBltFx.rop field for the raster operation for this blit. The raster operations are the same as those defined in the Win32 API.
DDBLT_ROTATIONANGLE Uses the DDBltFx.rotationAngle field as the rotation angle (specified in 1/100th of a degree) for the surface.
DDBLT_WAIT Returns as soon as the blit can be set up.
DDBLT_ZBUFFER Performs a z-buffered blit using the z-buffers attached to the source and destination surfaces and the DDBltFx.zbufferOpCode field as the z-buffer opcode.
DDBLT_ZBUFFERDESTCONSTOVERRIDE Performs a z-buffered blit using the DDBltFx.zDestConst and DDBltFx.zbufferOpCode fields as the z-buffer and z-buffer opcode, respectively, for the destination.
DDBLT_ZBUFFERDESTOVERRIDE Reserved.
DDBLT_ZBUFFERSRCCONSTOVERRIDE Performs a z-buffered blit using the DDBltFx.zSrcConst and DDBltFx.zbufferOpCode fields as the z-buffer and z-buffer opcode, respectively, for the source.
DDBLT_ZBUFFERSRCOVERRIDE Reserved.
DDBLTFAST_DESTCOLORKEY A transparent blit that uses the destination’s color key.
DDBLTFAST_NOCOLORKEY A normal copy blit with no transparency.
DDBLTFAST_SRCCOLORKEY A transparent blit that uses the source’s color key.
DDBLTFAST_WAIT Returns as soon as the blit can be set up.
DDBLTFX_ARITHSTRETCHY Use arithmetic stretching along the y-axis for this blit.
DDBLTFX_MIRRORLEFTRIGHT Turn the surface on its y-axis. This blit mirrors the surface from left to right.
DDBLTFX_MIRRORUPDOWN Turn the surface on its x-axis. This blit mirrors the surface from top to bottom.
DDBLTFX_NOTEARING Schedule this blit to avoid tearing.
DDBLTFX_ROTATE180 Rotate the surface 180 degrees clockwise during this blit.
DDBLTFX_ROTATE270 Rotate the surface 270 degrees clockwise during this blit.
DDBLTFX_ROTATE90 Rotate the surface 90 degrees clockwise during this blit.
DDBLTFX_ZBUFFERBASEDEST Adds the DDBltFx.zbufferBaseDest field to each of the source z-values before comparing them with the destination z-values during this z-blit.
DDBLTFX_ZBUFFERRANGE Use the DDBltFx.zbufferLow and DDBltFx.zbufferHigh fields as range values to specify limits to the bits copied from a source surface during this z-blit.
DDCAPS_3D Display hardware has 3D acceleration.
DDCAPS_ALIGNBOUNDARYDEST DirectDraw will support only those source rectangles with the x-axis aligned to the DDCaps.alignBoundaryDest boundaries of the surface.
DDCAPS_ALIGNBOUNDARYSRC DirectDraw will support only those source rectangles with the x-axis aligned to the DDCaps.alignBoundarySrc boundaries of the surface.
DDCAPS_ALIGNSIZEDEST DirectDraw will support only those source rectangles whose x-axis sizes, in bytes, are DDCaps.alignSizeDest multiples.
DDCAPS_ALIGNSIZESRC DirectDraw will support only those source rectangles whose x-axis sizes, in bytes, are DDCaps.alignSizeSrc multiples.
DDCAPS_ALIGNSTRIDE DirectDraw will create display memory surfaces that have a stride alignment equal to the DDCaps.alignStrideAlign value.
DDCAPS_ALPHA Indicates that the display hardware supports an alpha channel during blit operations.
DDCAPS_BANKSWITCHED Display hardware is bank-switched and is potentially very slow at random access to display memory.
DDCAPS_BLT Display hardware is capable of blit operations.
DDCAPS_BLTCOLORFILL Display hardware is capable of color filling with a blitter.
DDCAPS_BLTDEPTHFILL Display hardware is capable of depth filling z-buffers with a blitter.
DDCAPS_BLTFOURCC Display hardware is capable of color-space conversions during blit operations.
DDCAPS_BLTQUEUE Display hardware is capable of asynchronous blit operations.
DDCAPS_BLTSTRETCH Display hardware is capable of stretching during blit operations.
DDCAPS_CANBLTSYSMEM Display hardware is capable of blitting to or from system memory.
DDCAPS_CANCLIP Display hardware is capable of clipping with blitting.
DDCAPS_CANCLIPSTRETCHED Display hardware is capable of clipping while stretch blitting.
DDCAPS_COLORKEY Support some form of color key in either overlay or blit operations. More specific color key capability information can be found in the DDCaps.colorkeyCaps field.
DDCAPS_COLORKEYHWASSIST The color key is hardware assisted.
DDCAPS_GDI Display hardware is shared with GDI.
DDCAPS_NOHARDWARE There is no hardware support for DirectDraw.
DDCAPS_OVERLAY Display hardware supports overlays.
DDCAPS_OVERLAYCANTCLIP Display hardware supports overlays, but cannot clip them.
DDCAPS_OVERLAYFOURCC Overlay hardware is capable of color-space conversions during overlay operations.
DDCAPS_OVERLAYSTRETCH Overlay hardware is capable of stretching.
DDCAPS_PALETTE DirectDraw is capable of creating and supporting DirectDrawPalette objects for more surfaces than only the primary surface.
DDCAPS_PALETTEVSYNC DirectDraw® is capable of updating a palette synchronized with the vertical refresh.
DDCAPS_READSCANLINE Display hardware is capable of returning the current scan line.
DDCAPS_STEREOVIEW Display hardware has stereo vision capabilities.
DDCAPS_VBI Display hardware is capable of generating a vertical-blank interrupt.
DDCAPS_ZBLTS Supports the use of z-buffers with blit operations.
DDCAPS_ZOVERLAYS Supports the use of the DirectDrawSurface.updateOverlayZOrder method as a z-value for overlays to control their layering.
DDCAPS2_CERTIFIED Display hardware is certified.
DDCAPS2_NO2DDURING3DSCENE Between calls to the Direct3dDevice.beginScene and Direct3dDevice.endScene methods, 2D operations such as DirectDrawSurface.blt and DirectDrawSurface.lock cannot be performed on any surfaces that Direct3D™ is using.
DDCKEY_COLORSPACE A color space.
DDCKEY_DESTBLT Color key or color space to use as a destination color key for blit operations.
DDCKEY_DESTOVERLAY Color key or color space to use as a destination color key for overlay operations.
DDCKEY_SRCBLT Color key or color space to use as a source color key for blit operations.
DDCKEY_SRCOVERLAY Color key or color space to use as a source color key for overlay operations.
DDCKEYCAPS_DESTBLT Supports transparent blitting with a color key that identifies the replaceable bits of the destination surface for RGB colors.
DDCKEYCAPS_DESTBLTCLRSPACE Supports transparent blitting with a color space that identifies the replaceable bits of the destination surface for RGB colors.
DDCKEYCAPS_DESTBLTCLRSPACEYUV Supports transparent blitting with a color space that identifies the replaceable bits of the destination surface for YUV colors.
DDCKEYCAPS_DESTBLTYUV Supports transparent blitting with a color key that identifies the replaceable bits of the destination surface for YUV colors.
DDCKEYCAPS_DESTOVERLAY Supports overlays with color keying of the replaceable bits of the destination surface being overlaid for RGB colors.
DDCKEYCAPS_DESTOVERLAYCLRSPACE Support a color space as the color key for the destination of RGB colors.
DDCKEYCAPS_DESTOVERLAYCLRSPACEYUV Supports a color space as the color key for the destination of YUV colors.
DDCKEYCAPS_DESTOVERLAYONEACTIVE Support only one active destination color key value for visible overlay surfaces.
DDCKEYCAPS_DESTOVERLAYYUV Supports overlays using color keying of the replaceable bits of the destination surface being overlaid for YUV colors.
DDCKEYCAPS_NOCOSTOVERLAY There are no bandwidth tradeoffs for using the color key with an overlay.
DDCKEYCAPS_SRCBLT Supports transparent blitting using the color key for the source with this surface for RGB colors.
DDCKEYCAPS_SRCBLTCLRSPACE Supports transparent blitting using a color space for the source with this surface for RGB colors.
DDCKEYCAPS_SRCBLTCLRSPACEYUV Supports transparent blitting using a color space for the source with this surface for YUV colors.
DDCKEYCAPS_SRCBLTYUV Supports transparent blitting using the color key for the source with this surface for YUV colors.
DDCKEYCAPS_SRCOVERLAY Supports overlays using the color key for the source with this overlay surface for RGB colors.
DDCKEYCAPS_SRCOVERLAYCLRSPACE Supports overlays using a color space as the source color key for the overlay surface for RGB colors.
DDCKEYCAPS_SRCOVERLAYCLRSPACEYUV Supports overlays using a color space as the source color key for the overlay surface for YUV colors.
DDCKEYCAPS_SRCOVERLAYONEACTIVE Supports only one active source color key value for visible overlay surfaces.
DDCKEYCAPS_SRCOVERLAYYUV Supports overlays using the color key for the source with this overlay surface for YUV colors.
DDCOOPERATIVE_CLIPTOCOMPONENT Used in the blt and the bltFast methods to specify that the DirectDraw object clips completely to a component's region.
DDCOOPERATIVE_OFFSETTOCOMPONENT Used in the blt and the bltFast methods to specify that the DirectDraw object will only offset the blt to the component but will not clip to other components.
DDCREATE_EMULATIONONLY Reserved.
DDCREATE_HARDWAREONLY Reserved.
DDEDM_REFRESHRATES Enumerates modes with different refresh rates. DirectDraw.enumDisplayModes guarantees that a particular mode will be enumerated only once. This flag specifies whether the refresh rate is taken into account when determining if a mode is unique.
DDENUMOVERLAYZ_BACKTOFRONT Enumerates overlays back to front.
DDENUMOVERLAYZ_FRONTTOBACK Enumerates overlays front to back.
DDENUMSURFACES_ALL Enumerates all the surfaces that meet the search criterion.
DDENUMSURFACES_CANBECREATED Enumerates the first surface that can be created and meets the search criterion.
DDENUMSURFACES_DOESEXIST Enumerates the already existing surfaces that meet the search criterion.
DDENUMSURFACES_MATCH Searches for any surface that matches the surface description.
DDENUMSURFACES_NOMATCH Searches for any surface that does not match the surface description.
DDERR_SURFACELOST Access to the surface is refused because the surface memory is gone. The DirectDrawSurface object representing this surface should have the DirectDrawSurface.restore method called on it.
DDERR_WASSTILLDRAWING The previous blit operation that is transferring information to or from this surface is incomplete.
DDFLIP_WAIT Typically, if the flip cannot be set up because the state of the display hardware is not appropriate, the DirectDrawSurface.flip method returns immediately and no flip occurs. Setting this flag causes the method to continue trying to flip. DirectDrawSurface.flip does not return until the flipping operation has been successfully set up or an error that prevents flipping occurs.
DDFXALPHACAPS_BLTALPHAEDGEBLEND Supports alpha blending around the edge of a source color-keyed surface. Used for blit operations.
DDFXALPHACAPS_BLTALPHAPIXELS Supports alpha information in pixel format. The bit depth of alpha information in the pixel format can be 1, 2, 4, or 8. The alpha value becomes more opaque as the alpha value increases. Regardless of the depth of the alpha information, 0 is always the fully transparent value. Used for blit operations.
DDFXALPHACAPS_BLTALPHAPIXELSNEG Supports alpha information in pixel format. The bit depth of alpha information in the pixel format can be 1, 2, 4, or 8. The alpha value becomes more transparent as the alpha value increases. Regardless of the depth of the alpha information, 0 is always the fully opaque value. This flag can be used only if DDCAPS_ALPHA is set. Used for blit operations.
DDFXALPHACAPS_BLTALPHASURFACES Supports alpha-only surfaces. The bit depth of an alpha-only surface can be 1, 2, 4, or 8. The alpha value becomes more opaque as the alpha value increases. Regardless of the depth of the alpha information, 0 is always the fully transparent value. Used for blit operations.
DDFXALPHACAPS_BLTALPHASURFACESNEG Indicates that the alpha channel becomes more transparent as the alpha value increases. The depth of the alpha channel data can be 1, 2, 4, or 8. Regardless of the depth of the alpha information, 0 is always the fully opaque value. This flag can be set only if DDFXCAPS_ALPHASURFACES has been set. Used for blit operations.
DDFXALPHACAPS_OVERLAYALPHAEDGEBLEND Supports alpha blending around the edge of a source color-keyed surface. Used for overlays.
DDFXALPHACAPS_OVERLAYALPHAPIXELS Supports alpha information in pixel format. The bit depth of alpha information in pixel format can be 1, 2, 4, or 8. The alpha value becomes more opaque as the alpha value increases. Regardless of the depth of the alpha information, 0 is always the fully transparent value. Used for overlays.
DDFXALPHACAPS_OVERLAYALPHAPIXELSNEG Supports alpha information in pixel format. The bit depth of alpha information in pixel format can be 1, 2, 4, or 8. The alpha value becomes more transparent as the alpha value increases. Regardless of the depth of the alpha information, 0 is always the fully opaque value. This flag can be used only if DDFXCAPS_ALPHAPIXELS has been set. Used for overlays.
DDFXALPHACAPS_OVERLAYALPHASURFACES Supports alpha-only surfaces. The bit depth of an alpha-only surface can be 1, 2, 4, or 8. The alpha value becomes more opaque as the alpha value increases. Regardless of the depth of the alpha information, 0 is always the fully transparent value. Used for overlays.
DDFXALPHACAPS_OVERLAYALPHASURFACESNEG Indicates that the alpha channel becomes more transparent as the alpha value increases. The depth of the alpha channel data can be 1, 2, 4, or 8. Regardless of the depth of the alpha information, 0 is always the fully opaque value. This flag can be used only if DDFXCAPS_ALPHASURFACES has been set. Used for overlays.
DDFXCAPS_BLTARITHSTRETCHY Uses arithmetic operations, rather than pixel-doubling techniques, to stretch and shrink surfaces during a blit operation. Occurs along the y-axis (vertically).
DDFXCAPS_BLTARITHSTRETCHYN Uses arithmetic operations, rather than pixel-doubling techniques, to stretch and shrink surfaces during a blit operation. Occurs along the y-axis (vertically), and works only for integer stretching ( x 1, x 2, and so on).
DDFXCAPS_BLTMIRRORLEFTRIGHT Supports mirroring left to right in a blit operation.
DDFXCAPS_BLTMIRRORUPDOWN Supports mirroring top to bottom in a blit operation.
DDFXCAPS_BLTROTATION Supports arbitrary rotation in a blit operation.
DDFXCAPS_BLTROTATION90 Supports 90-degree rotations in a blit operation.
DDFXCAPS_BLTSHRINKX Supports arbitrary shrinking of a surface along the x-axis (horizontally). This flag is valid only for blit operations.
DDFXCAPS_BLTSHRINKXN Supports integer shrinking ( x 1, x 2, and so on) of a surface along the x-axis (horizontally). This flag is valid only for blit operations.
DDFXCAPS_BLTSHRINKY Supports arbitrary shrinking of a surface along the y-axis (vertically). This flag is valid only for blit operations.
DDFXCAPS_BLTSHRINKYN Supports integer shrinking ( x 1, x 2, and so on) of a surface along the y-axis (vertically). This flag is valid only for blit operations.
DDFXCAPS_BLTSTRETCHX Supports arbitrary stretching of a surface along the x-axis (horizontally). This flag is valid only for blit operations.
DDFXCAPS_BLTSTRETCHXN Supports integer stretching ( x1, x2, and so on) of a surface along the x-axis (horizontally). This flag is valid only for blit operations.
DDFXCAPS_BLTSTRETCHY Supports arbitrary stretching of a surface along the y-axis (vertically). This flag is valid only for blit operations.
DDFXCAPS_BLTSTRETCHYN Supports integer stretching ( x1, x2, and so on) of a surface along the y-axis (vertically). This flag is valid only for blit operations.
DDFXCAPS_OVERLAYARITHSTRETCHY Uses arithmetic operations, rather than pixel-doubling techniques, to stretch and shrink surfaces during an overlay operation. Occurs along the y-axis (vertically).
DDFXCAPS_OVERLAYARITHSTRETCHYN Uses arithmetic operations, rather than pixel-doubling techniques, to stretch and shrink surfaces during an overlay operation. Occurs along the y-axis (vertically), and works only for integer stretching ( x 1, x 2, and so on).
DDFXCAPS_OVERLAYMIRRORLEFTRIGHT Supports mirroring of overlays around the vertical axis.
DDFXCAPS_OVERLAYMIRRORUPDOWN Supports mirroring of overlays across the horizontal axis.
DDFXCAPS_OVERLAYSHRINKX Supports arbitrary shrinking of a surface along the x-axis (horizontally). This flag is valid only for DDSCAPS_OVERLAY surfaces. This flag indicates only the capabilities of a surface; it does not indicate that shrinking is available.
DDFXCAPS_OVERLAYSHRINKXN Supports integer shrinking ( x 1, x 2, and so on) of a surface along the x-axis (horizontally). This flag is valid only for DDSCAPS_OVERLAY surfaces. This flag indicates only the capabilities of a surface; it does not indicate that shrinking is available.
DDFXCAPS_OVERLAYSHRINKY Supports arbitrary shrinking of a surface along the y-axis (vertically). This flag is valid only for DDSCAPS_OVERLAY surfaces. This flag indicates only the capabilities of a surface; it does not indicate that shrinking is available.
DDFXCAPS_OVERLAYSHRINKYN Supports integer shrinking ( x1, x2, and so on) of a surface along the y-axis (vertically). This flag is valid only for DDSCAPS_OVERLAY surfaces. This flag indicates only the capabilities of a surface; it does not indicate that shrinking is available.
DDFXCAPS_OVERLAYSTRETCHX Supports arbitrary stretching of a surface along the x-axis (horizontally). This flag is valid only for DDSCAPS_OVERLAY surfaces. This flag indicates only the capabilities of a surface; it does not indicate that stretching is available.
DDFXCAPS_OVERLAYSTRETCHXN Supports integer stretching ( x1, x2, and so on) of a surface along the x-axis (horizontally). This flag is valid only for DDSCAPS_OVERLAY surfaces. This flag indicates only the capabilities of a surface; it does not indicate that stretching is available.
DDFXCAPS_OVERLAYSTRETCHY Supports arbitrary stretching of a surface along the y-axis (vertically). This flag is valid only for DDSCAPS_OVERLAY surfaces. This flag indicates only the capabilities of a surface; it does not indicate that stretching is available.
DDFXCAPS_OVERLAYSTRETCHYN Supports integer stretching ( x1, x2, and so on) of a surface along the y-axis (vertically). This flag is valid only for DDSCAPS_OVERLAY surfaces. This flag indicates only the capabilities of a surface; it does not indicate that stretching is available.
DDGBS_CANBLT Inquires whether a blit involving this surface can occur immediately, and returns DD_OK if the blit can be completed.
DDGBS_ISBLTDONE Inquires whether the blit is done, and returns DD_OK if the last blit on this surface has completed.
DDGFS_CANFLIP Inquires whether this surface can be flipped immediately. Returns DD_OK if the flip can be completed.
DDGFS_ISFLIPDONE Inquires whether the flip has finished. Returns DD_OK if the last flip on this surface has completed.
DDLOCK_EVENT Triggers the event when DirectDrawSurface.lock can return the surface memory requested. This flag is set if an event handle is being passed to DirectDrawSurface.lock. If multiple locks of this type are placed on a surface, events are triggered in FIFO order.
DDLOCK_READONLY Indicates that the surface being locked will be read-only.
DDLOCK_SURFACEMEMORYPTR Indicates that valid memory at the top of the specified rectangle should be returned. If no rectangle is specified, the top of the surface is returned. This is the default.
DDLOCK_WAIT Typically, if a lock cannot be obtained because a blit operation is in progress, no action is taken. If this flag is set, however, DirectDrawSurface.lock retries until a lock is obtained.
DDLOCK_WRITEONLY Indicates that the surface being locked will be write-only.
DDOVER_ADDDIRTYRECT Adds a dirty rectangle to an emulated overlay surface.
DDOVER_ALPHADEST Uses either the alpha information in pixel format or the alpha channel surface attached to the destination surface as the alpha channel for this overlay.
DDOVER_ALPHADESTCONSTOVERRIDE Reserved.
DDOVER_ALPHADESTNEG Indicates that the destination surface becomes more transparent as the alpha value increases (0 is opaque).
DDOVER_ALPHADESTSURFACEOVERRIDE Reserved.
DDOVER_ALPHAEDGEBLEND Reserved.
DDOVER_ALPHASRC Uses either the alpha information in pixel format or the alpha channel surface attached to the source surface as the source alpha channel for this overlay.
DDOVER_ALPHASRCCONSTOVERRIDE Reserved.
DDOVER_ALPHASRCNEG Indicates that the source surface becomes more transparent as the alpha value increases (0 is opaque).
DDOVER_ALPHASRCSURFACEOVERRIDE Reserved.
DDOVER_DDFX Uses the overlay FX flags to define special overlay effects.
DDOVER_HIDE Turns this overlay off.
DDOVER_KEYDEST Uses the color key associated with the destination surface.
DDOVER_KEYDESTOVERRIDE Reserved.
DDOVER_KEYSRC Uses the color key associated with the source surface.
DDOVER_KEYSRCOVERRIDE Reserved.
DDOVER_REFRESHALL Ignores the dirty rectangle list and updates the overlay display completely. This clears the dirty rectangle list.
DDOVER_REFRESHDIRTYRECTS Updates the overlay display using the list of dirty rectangles previously constructed for this destination. This clears the dirty rectangle list.
DDOVER_SHOW Turns on this overlay.
DDOVERFX_ARITHSTRETCHY If stretching, uses arithmetic stretching along the y-axis for this overlay.
DDOVERFX_MIRRORLEFTRIGHT Mirrors the overlay around the vertical axis.
DDOVERFX_MIRRORUPDOWN Mirrors the overlay around the horizontal axis.
DDOVERZ_INSERTINBACKOF Inserts this overlay behind the reference overlay in the overlay chain.
DDOVERZ_INSERTINFRONTOF Inserts this overlay in front of the reference overlay in the overlay chain.
DDOVERZ_MOVEBACKWARD Moves this overlay one position backward in the overlay chain.
DDOVERZ_MOVEFORWARD Moves this overlay one position forward in the overlay chain.
DDOVERZ_SENDTOBACK Moves this overlay to the back of the overlay chain.
DDOVERZ_SENDTOFRONT Moves this overlay to the front of the overlay chain.
DDPCAPS_1BIT Indicates that the index is 1 bit. There are two entries in the color table.
DDPCAPS_2BIT Indicates that the index is 2 bits. There are four entries in the color table.
DDPCAPS_4BIT Indicates that the index is 4 bits. There are 16 entries in the color table.
DDPCAPS_8BIT Indicates that the index is 8 bits. There are 256 entries in the color table.
DDPCAPS_8BITENTRIES Specifies an index to an 8-bit color index. This field is valid only when used with the DDPCAPS_1BIT, DDPCAPS_2BIT, or DDPCAPS_4BIT capability and when the target surface is in 8 bits per pixel (bpp). Each color entry is 1 byte long and is an index to an 8-bpp palette on the destination surface.
DDPCAPS_ALLOW256 Indicates that this palette can have all 256 entries defined.
DDPCAPS_INITIALIZE Reserved.
DDPCAPS_PRIMARYSURFACE Indicates that the palette is attached to the primary surface. Changing the palette has an immediate effect on the display unless the DDPCAPS_VSYNC capability is specified and supported.
DDPCAPS_PRIMARYSURFACELEFT Indicates that the palette is attached to the primary surface on the left. Changing the palette has an immediate effect on the display unless the DDPCAPS_VSYNC capability is specified and supported.
DDPCAPS_VSYNC Indicates that the palette can be modified synchronously with the monitor’s refresh rate.
DDPF_ALPHA The pixel format describes an alpha-only surface.
DDPF_ALPHAPIXELS The surface has alpha channel information in the pixel format.
DDPF_COMPRESSED The surface will accept pixel data in the specified format and compress it during the write operation.
DDPF_FOURCC The FourCC code is valid.
DDPF_PALETTEINDEXED1 The surface is 1-bit color indexed.
DDPF_PALETTEINDEXED2 The surface is 2-bit color indexed.
DDPF_PALETTEINDEXED4 The surface is 4-bit color indexed.
DDPF_PALETTEINDEXED8 The surface is 8-bit color indexed.
DDPF_PALETTEINDEXEDTO8 The surface is 1-, 2-, or 4-bit color indexed to an 8-bit palette.
DDPF_RGB The RGB data in the pixel format structure is valid.
DDPF_RGBTOYUV The surface will accept RGB data and translate it during the write operation to YUV data. The format of the data to be written will be contained in the pixel format structure. The DDPF_RGB flag will be set.
DDPF_YUV The YUV data in the pixel format structure is valid.
DDPF_ZBUFFER The pixel format describes a z-buffer-only surface.
DDSCAPS_3D Supported for backwards compatibility. Applications should use the DDSCAPS_3DDEVICE flag, instead.
DDSCAPS_3DDEVICE Indicates that this surface can be used for 3D rendering. Applications can use this flag to ensure that a device that can only render to a certain heap has off-screen surfaces allocated from the correct heap. If this flag is set for a heap, the surface is not allocated from that heap.
DDSCAPS_ALLOCONLOAD Indicates that memory for the surface is not allocated until the surface is loaded by using the Direct3dTexture.load method.
DDSCAPS_ALPHA Indicates that this surface contains alpha information. The pixel format must be interrogated to determine whether this surface contains only alpha information or alpha information interlaced with pixel color data (such as RGBA or YUVA).
DDSCAPS_BACKBUFFER Indicates that this surface is the back buffer of a surface flipping structure. Typically, this capability is set by the DirectDraw.createSurface method when the DDSCAPS_FLIP flag is used. Only the surface that immediately precedes the DDSCAPS_FRONTBUFFER surface has this capability set. The other surfaces are identified as back buffers by the presence of the DDSCAPS_FLIP flag, their attachment order, and the absence of the DDSCAPS_FRONTBUFFER and DDSCAPS_BACKBUFFER capabilities. If this capability is sent to the DirectDraw.createSurface method, a stand-alone back buffer is being created. After this method is called, this surface could be attached to a front buffer, another back buffer, or both to form a surface flipping structure. For more information, see DirectDrawSurface.addAttachedSurface . DirectDraw® supports an arbitrary number of surfaces in a flipping structure.
DDSCAPS_COMPLEX Indicates a complex surface is being described. A complex surface results in the creation of more than one surface. The additional surfaces are attached to the root surface. The complex surface can be destroyed only by destroying the root.
DDSCAPS_FLIP Indicates that this surface is a part of a surface flipping structure. When this capability is passed to the DirectDraw.createSurface method, a front buffer and one or more back buffers are created. DirectDraw® sets the DDSCAPS_FRONTBUFFER bit on the front-buffer surface and the DDSCAPS_BACKBUFFER bit on the surface adjacent to the front-buffer surface. The DDSurfaceDesc.backBufferCount field must be set to at least 1 for the method call to succeed. The DDSCAPS_COMPLEX capability must always be set when creating multiple surfaces by using the Class_DirectDraw.createSurface method.
DDSCAPS_FRONTBUFFER Indicates that this surface is the front buffer of a surface flipping structure. This flag is typically set by the DirectDraw.createSurface method when the DDSCAPS_FLIP capability is set. If this capability is sent to the createSurface method, a stand-alone front buffer is created. This surface will not have the DDSCAPS_FLIP capability. It can be attached to other back buffers to form a flipping structure by using DirectDrawSurface.addAttachedSurface.
DDSCAPS_HWCODEC Indicates that this surface should be able to have a stream decompressed to it by the hardware.
DDSCAPS_LIVEVIDEO Indicates that this surface should be able to receive live video.
DDSCAPS_MIPMAP Indicates that this surface is one level of a mipmap. This surface will be attached to other DDSCAPS_MIPMAP surfaces to form the mipmap. This can be done explicitly by creating a number of surfaces and attaching them by using the DirectDrawSurface.addAttachedSurface method, or implicitly by the DirectDraw.createSurface method. If this capability is set, DDSCAPS_TEXTURE must also be set.
DDSCAPS_MODEX Indicates that this surface is a 320 x 200 or 320 x 240 Mode X surface.
DDSCAPS_OFFSCREENPLAIN Indicates that this surface is any off-screen surface that is not an overlay, texture, z-buffer, front-buffer, back-buffer, or alpha surface. It is used to identify plain surfaces.
DDSCAPS_OVERLAY Indicates that this surface is an overlay. It might or might not be directly visible, depending on whether it is currently being overlaid onto the primary surface. DDSCAPS_VISIBLE can be used to determine if it is being overlaid at the moment.
DDSCAPS_OWNDC Indicates that this surface will have a device context (DC) association for a long period.
DDSCAPS_PALETTE Indicates that this device driver allows unique DirectDrawPalette objects to be created and attached to this surface.
DDSCAPS_PRIMARYSURFACE Indicates the surface is the primary surface. It represents what is visible to the user at the moment.
DDSCAPS_PRIMARYSURFACELEFT Indicates that this surface is the primary surface for the left eye. It represents what is visible to the user’s left eye at the moment. When this surface is created, the surface with the DDSCAPS_PRIMARYSURFACE capability represents what is seen by the user’s right eye.
DDSCAPS_SYSTEMMEMORY Indicates that this surface memory was allocated in system memory.
DDSCAPS_TEXTURE Indicates that this surface can be used as a 3D texture. It does not indicate whether the surface is being used for that purpose.
DDSCAPS_VIDEOMEMORY Indicates that this surface exists in display memory.
DDSCAPS_VISIBLE Indicates that changes made to this surface are immediately visible. It is always set for the primary surface, as well as for overlays while they are being overlaid and texture maps while they are being textured.
DDSCAPS_WRITEONLY Indicates that only write access is permitted to the surface. Read access from the surface can generate a general protection (GP) fault, but the read results from this surface will not be meaningful.
DDSCAPS_ZBUFFER Indicates that this surface is the z-buffer. The z-buffer contains information that cannot be displayed. Instead, it contains bit-depth information that is used to determine which pixels are visible and which are obscured.
DDSCL_ALLOWMODEX Allows the use of Mode X display modes.
DDSCL_ALLOWREBOOT Allows CTRL+ALT+DEL to function while in exclusive (full-screen) mode.
DDSCL_EXCLUSIVE Requests the exclusive level.
DDSCL_FULLSCREEN Indicates that the exclusive-mode owner will be responsible for the entire primary surface. GDI can be ignored.
DDSCL_NORMAL Indicates that the application will function as a regular Windows® application.
DDSCL_NOWINDOWCHANGES Indicates that DirectDraw® is not allowed to minimize or restore the application window on activation.
DDSD_ALL All input fields are valid.
DDSD_ALPHABITDEPTH Indicates the DDSurfaceDesc.alphaBitDepth field is valid.
DDSD_BACKBUFFERCOUNT Indicates the DDSurfaceDesc.backBufferCount field is valid.
DDSD_CAPS Indicates the DDSurfaceDesc.ddsCaps field is valid.
DDSD_CKDESTBLT Indicates the DDSurfaceDesc.colorkeyDestBltLow and DDSurfaceDesc.colorkeyDestBltHigh fields are valid.
DDSD_CKDESTOVERLAY Indicates the DDSurfaceDesc.colorkeyDestOverlayLow and DDSurfaceDesc.colorkeyDestOverlayHigh fields are valid.
DDSD_CKSRCBLT Indicates the DDSurfaceDesc.colorkeySrcBltLow and DDSurfaceDesc.colorkeySrcBltHigh fields are valid.
DDSD_CKSRCOVERLAY Indicates the DDSurfaceDesc.colorkeySrcOverlayLow and DDSurfaceDesc.colorkeySrcOverlayHigh fields are valid.
DDSD_HEIGHT Indicates the DDSurfaceDesc.height field is valid.
DDSD_MIPMAPCOUNT Mip map count.
DDSD_PITCH Indicates the DDSurfaceDesc.pitch field is valid.
DDSD_PIXELFORMAT Reserved.
DDSD_REFRESHRATE Refresh rate.
DDSD_WIDTH Indicates the DDSurfaceDesc.width field is valid.
DDSD_ZBUFFERBITDEPTH Z-buffer bit depth.
DDSVCAPS_ENIGMA Indicates that the stereo view is accomplished using Enigma encoding.
DDSVCAPS_FLICKER Indicates that the stereo view is accomplished using high-frequency flickering.
DDSVCAPS_REDBLUE Indicates that the stereo view is accomplished when the viewer looks at the image through red and blue filters placed over the left and right eyes. All images must adapt their color spaces for this process.
DDSVCAPS_SPLIT Indicates that the stereo view is accomplished with split-screen technology.
DDWAITVB_BLOCKBEGIN Returns when the vertical-blank interval begins.
DDWAITVB_BLOCKBEGINEVENT Triggers an event when the vertical blank begins. This value is not currently supported.
DDWAITVB_BLOCKEND Returns when the vertical-blank interval ends and the display begins.
DPCAPS_GROUPOPTIMIZED Indicates that the service provider bound to this DirectPlay2 object can optimize group (multicast) messaging.
DPCAPS_GUARANTEEDOPTIMIZED Indicates that the service provider bound to this DirectPlay2 object supports guaranteed message delivery.
DPCAPS_GUARANTEEDSUPPORTED Indicates that the DirectPlay object supports guaranteed message delivery, either because the service provider supports it or because DirectPlay implements it on a nonguaranteed service provider.
DPCAPS_ISHOST Indicates that the DirectPlay2 object created by the calling application is the session host.
DPCAPS_KEEPALIVEOPTIMIZED The service provider can detect when the connection to the session has been lost.
DPCPA_DTRFLOW Indicates hardware flow control with DTR.
DPCPA_NOFLOW Indicates no flow control.
DPCPA_RTSDTRFLOW Indicates hardware flow control with RTS and DTR
DPCPA_RTSFLOW Indicates hardware flow control with RTS
DPCPA_XONXOFFFLOW Indicates software flow control (xon/xoff).
DPENUMPLAYERS_ALL Enumerates all players.
DPENUMPLAYERS_GROUP Enumerates groups as well as players.
DPENUMPLAYERS_LOCAL Enumerates only those players that were created locally by this DirectPlay® object.
DPENUMPLAYERS_REMOTE Enumerates only those players that were created by remote DirectPlay® objects.
DPENUMPLAYERS_SESSION Enumerates the players in the session or the group in the session.
DPENUMSESSIONS_ALL Enumerates all active sessions, whether they are available to join or not. Sessions where the player limit has been reached, new players have been disabled, or joining has been disabled will be enumerated. The application can examine the DPSessionDesc.flags field to determine if the session will allow new applications to join.
DPENUMSESSIONS_AVAILABLE Enumerates all sessions with a matching password (if provided) that is allowing new applications to join.
DPESC_TIMEDOUT The enumeration has timed out. Reset the timeOut parameter and return.
DPGET_LOCAL Retrieves the local data set by this application.
DPGET_REMOTE Retrieves the current data from the remote shared data space.
DPGETCAPS_GUARANTEED Retrieves the capabilities for a guaranteed message delivery.
DPLAD_SYSTEM Indicates that this is a system message informing the application of an event.
DPLCONNECTION_CREATESESSION Create a new session as described in the session description.
DPLCONNECTION_JOINSESSION Join the existing session as described in the session description
DPLSYS_APPTERMINATED Indicates the application started by DirectPlayLobby.runApplication has terminated.
DPLSYS_CONNECTIONSETTINGSREAD Indicates the application started by the DirectPlayLobby.runApplication method has read the connection settings.
DPLSYS_DPLAYCONNECTFAILED Indicates the application started by DirectPlayLobby.runApplication failed to connect to a session.
DPLSYS_DPLAYCONNECTSUCCEEDED Indicates the application started by DirectPlayLobby.runApplication has created a session and is ready for other applications to join or successfully join a session.
DPOPEN_CREATE Creates a new instance of a gaming session.
DPOPEN_JOIN Joins an existing instance of a gaming session.
DPPLAYERTYPE_GROUP Indicates that the message applies to a group.
DPPLAYERTYPE_PLAYER Indicates that the message applies to a player.
DPRECEIVE_ALL Returns the first available message. This is the default.
DPRECEIVE_FROMPLAYER Returns the first message from the player whose ID is specified in the PlayerIDs.sender field. System messages come from player ID DPID_SYSMSG.
DPRECEIVE_PEEK Returns a message as specified by the other flags, but does not remove it from the message queue.
DPRECEIVE_TOPLAYER Returns the first message intended for the player whose ID is specified in the PlayerIDs.receiver field.
DPSEND_CLOSESTREAM Indicates that there will no longer be a lot of guaranteed messages being sent to this player.
DPSEND_GUARANTEED Sends the message by using a guaranteed method of delivery if it is available.
DPSEND_HIGHPRIORITY Sends the message high-priority. This will force the message to the front of the send queue for immediate transmission. The message will also go to the top of the receiving application’s receive buffer.
DPSEND_OPENSTREAM Indicates an optimization hint to the service provider that there will be a lot of guaranteed messages being sent to this player.
DPSESSION_JOINDISABLED No new applications can join this session. Any call to the DirectPlay2.open method with the DPOPEN_JOIN flag and the globally unique identifier (GUID) of this session instance will cause an error. If this flag is not specified, new remote applications can join the session until the session player limit is reached.
DPSESSION_KEEPALIVE Automatically detect when remote players drop out of the game abnormally. Those players will be deleted from the session. If a temporary network outage caused the loss of the players, they will be informed when they return that they were dropped from the session. For more information, see the description for the DPSYS_SESSIONLOST system message in Using System Messages. If this flag is not specified, DirectPlay will not support this feature.
DPSESSION_MIGRATEHOST If the current host exits, the host will attempt to migrate to another computer so that new players can continue to join. If this flag is not specified, the host will not migrate and new players cannot be created.
DPSESSION_NEWPLAYERSDISABLED Indicates that new players cannot be created in the session. Any call to the DirectPlay2.createPlayer method by an application in the session will result in an error. Also, new applications cannot join the session. If this flag is not specified, players can be created until the session player limit is reached.
DPSESSION_NODATAMESSAGES Do not send system messages when remote player or group data changes, by using the DirectPlay2.setPlayerData, DirectPlay2.setGroupData, DirectPlay2.setPlayerName, or DirectPlay2.setGroupName method. If this flag is not specified, messages will be generated indicating that the data changed.
DPSESSION_NOMESSAGEID Do not attach data to messages indicating who the message is from and who it is to. Saves message overhead if this information is not relevant. (For more information, see the DirectPlay2.receive method.) If this flag is not specified, the message ID will be added.
DPSET_GUARANTEED Propagates the data by using guaranteed messaging (if available). This flag can only be used with DPSET_REMOTE .
DPSET_LOCAL This data is for local use only and will not be propagated.
DPSET_REMOTE This data is for use by all the applications, and will be propagated to all the other applications in the session.
DPSYS_ADDPLAYERTOGROUP An identifier for a system message sent when a player is added to a group.
DPSYS_CREATEPLAYERORGROUP An identifier for a system message sent when a player or group is created in a session.
DPSYS_DELETEPLAYERFROMGROUP An identifier for a system message sent when a player is deleted from a group.
DPSYS_DESTROYPLAYERORGROUP An identifier for a system message sent when a player or group is deleted from a session.
DPSYS_HOST An identifier for a system message sent when the current session host exits the session.
DPSYS_SESSIONLOST  
DPSYS_SETPLAYERORGROUPDATA An identifier for a system message sent when the application changes remote player or group data.
DPSYS_SETPLAYERORGROUPNAME An identifier for a system message sent when the name of a player or group has changed.
DS3D_DEFAULTDISTANCEFACTOR An application can retrieve the current distance factor set for a listener by using the DirectSound3dListener.getDistanceFactor method. The default value is DS3D_DEFAULTDISTANCEFACTOR (1.0), meaning that one distance unit corresponds to 1 meter.
DS3D_DEFAULTDOPPLERFACTOR DirectSound can apply to a sound up to 10 times the Doppler shift experienced in the real world by setting a Doppler factor. This Doppler factor has a range of 0 (no Doppler effects) to 10.0 (10 times the Doppler effects found in the physical world). The default value is DS3D_DEFAULTDOPPLERFACTOR (1.0).
DS3D_DEFERRED Settings are not applied until the application calls the DirectSound3dListener.commitDeferredSettings method. This allows the application to change several settings and generate a single recalculation.
DS3D_IMMEDIATE Settings are applied immediately, causing the system to recalculate the 3D coordinates for all 3D sound buffers.
DS3DMODE_DISABLE Processing of 3D sound is disabled. The sound seems to originate from the center of the listener’s head.
DS3DMODE_HEADRELATIVE Sound parameters (position, velocity, and orientation) are relative to the listener’s parameters. In this mode, the absolute parameters of the sound are updated automatically as the listener’s parameters change, so that the relative parameters remain constant.
DS3DMODE_NORMAL Normal processing. This is the default mode.
DSBCAPS_CTRL3D The buffer is a primary buffer that uses 3D control.
DSBCAPS_CTRLALL The buffer must have all control capabilities.
DSBCAPS_CTRLDEFAULT The buffer should have default control options. This is the same as specifying the DSBCAPS_CTRLPAN, DSBCAPS_CTRLVOLUME, and DSBCAPS_CTRLFREQUENCY flags.
DSBCAPS_CTRLFREQUENCY The buffer must have frequency control capability.
DSBCAPS_CTRLPAN The buffer must have pan control capability.
DSBCAPS_CTRLVOLUME The buffer must have volume control capability.
DSBCAPS_GETCURRENTPOSITION2 Indicates that DirectSoundBuffer.getCurrentPosition should use the new behavior of the play cursor. In DirectSound in DirectX 1, the play cursor was significantly ahead of the actual playing sound on emulated sound cards; it was directly behind the write cursor. Now, if the DSBCAPS_GETCURRENTPOSITION2 flag is specified, the application can get a more accurate play position. If this flag is not specified, the old behavior is preserved for compatibility. Note that this flag affects only emulated sound cards. If a DirectSound driver is present, the play cursor is accurate for DirectSound in all versions of Microsoft® DirectX™.
DSBCAPS_GLOBALFOCUS The buffer is a global sound buffer. With this flag set, an application using DirectSound can continue to play its buffers if the user switches focus to another application, even if the new application uses DirectSound. The one exception is if you switch focus to a DirectSound application that uses the DSSCL_EXCLUSIVE or DSSCL_WRITEPRIMARY flag for its cooperative level. In this case, the global sounds from other applications will not be audible.
DSBCAPS_LOCHARDWARE Forces the buffer to use hardware mixing, even if DSBCAPS_STATIC is not specified. If the device does not support hardware mixing or the required hardware memory is not available, the call to initialize will fail. The application must ensure that a mixing channel will be available for this buffer; this condition is not guaranteed.
DSBCAPS_LOCSOFTWARE Forces the buffer to be stored in software memory and use software mixing, even if DSBCAPS_STATIC is specified and hardware resources are available.
DSBCAPS_PRIMARYBUFFER Indicates that the buffer is a primary sound buffer. If this value is not specified, a secondary sound buffer will be created.
DSBCAPS_STATIC Indicates that the buffer will be used for static sound data. Typically, these buffers are loaded once and played many times. These buffers are candidates for hardware memory.
DSBCAPS_STICKYFOCUS Changes the focus behavior of the sound buffer. With this flag set, an application using Microsoft ® DirectSound® can continue to play its sticky focus buffers if the user switches to another application not using DirectSound. In this situation, the application’s normal buffers are muted, but the sticky focus buffers are still audible. This is useful for non-game applications, such as movie playback (ActiveMovie™), when the user wants to hear the soundtrack while typing in Microsoft® Word or Microsoft® Excel, for example. However, if the user switches to another DirectSound application, all sound buffers, both normal and sticky focus, in the previous application are muted.
DSBLOCK_FROMWRITECURSOR Locks from the current write cursor, making a call to DirectSoundBuffer.getCurrentPosition unnecessary. If this flag is specified, the start parameter is ignored. This flag is optional.
DSBPLAY_LOOPING Once the end of the audio buffer is reached, play restarts at the beginning of the buffer. Play continues until explicitly stopped. This flag must be set when playing primary sound buffers.
DSBSTATUS_BUFFERLOST The buffer is lost and must be restored before it can be played or locked.
DSBSTATUS_LOOPING The buffer is being looped. If this value is not set, the buffer will stop when it reaches the end of the sound data. Note that if this value is set, the buffer must also be playing.
DSBSTATUS_PLAYING The buffer is playing. If this value is not set, the buffer is stopped.
DSCAPS_CERTIFIED This driver has been tested and certified by Microsoft.
DSCAPS_CONTINUOUSRATE The device supports all sample rates between the DSCaps.minSecondarySampleRate and DSCaps.maxSecondarySampleRate field values. Typically, this means that the actual output rate will be within +/-10Hz of the requested frequency.
DSCAPS_EMULDRIVER The device does not have a DirectSound driver installed, so it is being emulated through the waveform-audio functions. Performance degradation should be expected.
DSCAPS_PRIMARY16BIT The device supports primary sound buffers with 16-bit samples.
DSCAPS_PRIMARY8BIT The device supports primary buffers with 8-bit samples.
DSCAPS_PRIMARYMONO The device supports monophonic primary buffers.
DSCAPS_PRIMARYSTEREO The device supports stereo primary buffers.
DSCAPS_SECONDARY16BIT The device supports hardware-mixed secondary sound buffers with 16-bit samples.
DSCAPS_SECONDARY8BIT The device supports hardware-mixed secondary buffers with 8-bit samples.
DSCAPS_SECONDARYMONO The device supports hardware-mixed monophonic secondary buffers.
DSCAPS_SECONDARYSTEREO The device supports hardware-mixed stereo secondary buffers.
DSSCL_EXCLUSIVE Sets the application to the exclusive level. When it has the input focus, the application will be the only one audible (sounds from applications with the DSBCAPS_GLOBALFOCUS flag set will be muted). With this level, it also has all the privileges of the DSSCL_PRIORITY level. DirectSound will restore the hardware format, as specified by the most recent call to the DirectSoundBuffer.setFormat method, once the application gains the input focus. (Note that DirectSound will always restore the wave format, no matter what priority level is set.)
DSSCL_NORMAL Sets the application to a fully cooperative status. Most applications should use this level, because it has the smoothest multitasking and resource-sharing behavior.
DSSCL_PRIORITY Sets the application to the priority level. Applications with this cooperative level can call the DirectSoundBuffer.setFormat and DirectSound.compact methods.
DSSCL_WRITEPRIMARY This is the highest priority level. The application has write access to the primary sound buffers. No secondary sound buffers in any application can be played.
DSSPEAKER_HEADPHONE The speakers are headphones.
DSSPEAKER_MONO The speakers are monaural.
DSSPEAKER_QUAD The speakers are quadraphonic.
DSSPEAKER_STEREO The speakers are stereo (default value).
DSSPEAKER_SURROUND The speakers are surround sound.
JOY_BUTTON1 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON10 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON11 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON12 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON13 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON14 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON15 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON16 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON17 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON18 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON19 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON2 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON20 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON21 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON22 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON23 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON24 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON25 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON26 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON27 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON28 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON29 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON3 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON30 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON31 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON32 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON4 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON5 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON6 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON7 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON8 Identifier for one of the up to 32 joystick buttons.
JOY_BUTTON9 Identifier for one of the up to 32 joystick buttons.
JOY_CAL_READ3 Reads the x, y, and z axis information, and then stores the raw values in JoyInfo.xPos , JoyInfo.yPos , and JoyInfo.zPos fields.
JOY_CAL_READ4 Reads the rudder, x, y, and z axis information, and then stores the raw values in JoyInfo.rPos , JoyInfo.xPos , JoyInfo.yPos , and JoyInfo.zPos fields.
JOY_CAL_READ5 Reads the rudder, x, y, z, and u axis information, and then stores the raw values in JoyInfo.rPos , JoyInfo.xPos , JoyInfo.yPos , JoyInfo.zPos , and JoyInfo.uPos fields.
JOY_CAL_READ6 Reads the raw v axis data if a joystick minidriver is present to provide the information. Returns 0 otherwise.
JOY_CAL_READALWAYS Reads the joystick port even if the driver does not detect a device.
JOY_CAL_READRONLY Reads the rudder (fouth axis) information if a joystick minidriver is present to provide the data, and then stores the raw value in the JoyInfo.rPos field. Returns 0 otherwise.
JOY_CAL_READUONLY Reads the u axis (fifth axis) information if a joystick minidriver is present to provide the data, and then stores the raw value in the JoyInfo.uPos field. Returns 0 otherwise.
JOY_CAL_READVONLY Reads the v axis (sixth axis) information if a joystick minidriver is present to provide the data, and then stores the raw value in the JoyInfo.vPos field. Returns 0 otherwise.
JOY_CAL_READXONLY Reads the x axis information if a joystick minidriver is present to provide the data, and then stores the raw value in the JoyInfo.xPos field.
JOY_CAL_READXYONLY Reads the x and y axis information if a joystick minidriver is present to provide the data, and then stores the raw value in the JoyInfo.xPos and JoyInfo.yPos fields respectively.
JOY_CAL_READYONLY Reads the y axis information if a joystick minidriver is present to provide the data, and then stores the raw value in the JoyInfo.yPos field.
JOY_CAL_READZONLY Reads the z axis information if a joystick minidriver is present to provide the data, and then stores the raw value in the JoyInfo.zPos field.
JOY_POVBACKWARD Point-Of-View hat is pressed backward. The value 18,000 represents an orientation of 180.00 degrees.
JOY_POVCENTERED Point-Of-View hat is in the neutral position. The value –1 means the POV hat has no angle to report.
JOY_POVFORWARD Point-Of_View hat is pressed forward. The value 0 represents an orientation of 0.00 degrees.
JOY_POVLEFT Point-Of-View hat is pressed to the left. The value 27,000 represents an orientation of 270.00 degrees.
JOY_POVRIGHT Point-Of-View hat is pressed to the right. The value 9000 represents an orientation of 90.00 degrees.
JOY_RETURNALL Equivalent to setting all the JOY_RETURN* values except JOY_RETURNRAWDATA.
JOY_RETURNBUTTONS The buttons field contains valid state information for each joystick button.
JOY_RETURNCENTERED Centers the joystick neutral position to the middle value of each movement axis.
JOY_RETURNPOV The pov field contains valid information about the Point-Of-View control, expressed in discrete units.
JOY_RETURNPOVCTS The pov field contains valid information about the Point-Of-View control, expressed in continuous, one-hundredth of a degree units.
JOY_RETURNR The JoyInfo.rPos field contains valid rudder information. This indicates the existance of a fourth axis.
JOY_RETURNRAWDATA Indicates that uncalibrated joystick readings are stored in this class.
JOY_RETURNU The JoyInfo.uPos field contains valid data for the fifth axis of the joystick. If this axis is not available, 0 is returned.
JOY_RETURNV The JoyInfo.vPos field contains valid data for the sixth axis of the joystick. If this axis is not available, 0 is returned.
JOY_RETURNX The JoyInfo.xPos field contains valid data for the x-coordinate of the joystick.
JOY_RETURNY The JoyInfo.yPos member contains valid data for the y-coordinate of the joystick.
JOY_RETURNZ The JoyInfo.zPos field contains valid data for the z-coordinate of the joystick.
JOY_USEDEADZONE Expand the range for the neutral position of the joystick. The joystick driver returs a constant value for all positions in the dead zone.
JOYCAPS_HASPOV The joystick has Point-Of-View information.
JOYCAPS_HASR The joystick has rudder (fourth axis) information.
JOYCAPS_HASU The joystick has u-coordinate information.
JOYCAPS_HASV The joystick has v-coordinate information.
JOYCAPS_HASZ The joystick has z-coordinate information
JOYCAPS_POV4DIR The joystick Point-Of-View supports discrete values.
JOYCAPS_POVCTS The joystick Point-Of-View supports continuous degree bearings.
JOYERR_BASE  
JOYERR_NOCANDO Request was not completed.
JOYERR_NOERROR There is no error.
JOYERR_PARMS Bad parameters.
JOYERR_UNPLUGGED The joystick is unplugged.
JOYSTICKID1 Identifier of the joystick.
JOYSTICKID2 Identifier of the joystick.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.