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 object.

  • pFirstByte
    Pointer to the first byte of a sample at the origin of the DXSurface.

  • lPitch
    Value of type long that indicates the number of bytes to add to pFirstByte to advance from one row to the next row in the DXSurface.

  • dwColorKey
    Value of type DWORD used as a color key for the DXSurface.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl

See also

Reference

IDXARGBReadPtr::GetNativeType

IDXARGBSurfaceInit::InitFromDDSurface