DXNATIVETYPEINFO Structure

Describes the underlying native pixel format of a DXSurface object.

Syntax

typedef struct tagDXNATIVETYPEINFO
{
    BYTE *          pCurrentData;
    BYTE *          pFirstByte;
    long            lPitch;
    DWORD           dwColorKey;
} DXNATIVETYPEINFO;

Members

pCurrentData
Pointer to the first byte of a sample at the current x-axis and y-axis position in a DXSurface.
pFirstByte
Pointer to the first byte of a sample at the origin of the DXSurface.
lPitch
Number of bytes to add to pFirstByte to advance from one row to the next row in the DXSurface.
dwColorKey
Value used as a color key for the DXSurface.

See Also

IDXARGBReadPtr::GetNativeType, IDXARGBSurfaceInit::InitFromDDSurface


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.