DDMOCOMPBUFFERINFO structure (ddrawint.h)

The DDMOCOMPBUFFERINFO structure contains the macro block information required to render a frame and passes this information to the DD_RENDERMOCOMPDATA structure.

Syntax

typedef struct _DDMOCOMPBUFFERINFO {
  DWORD             dwSize;
  PDD_SURFACE_LOCAL lpCompSurface;
  DWORD             dwDataOffset;
  DWORD             dwDataSize;
  LPVOID            lpPrivate;
} DDMOCOMPBUFFERINFO, *LPDDMOCOMPBUFFERINFO;

Members

dwSize

Specifies the size in bytes of this DDMOCOMPBUFFERINFO structure.

lpCompSurface

Points to a DD_SURFACE_LOCAL structure that contains the compressed data.

dwDataOffset

Indicates the offset to the relevant data, in bytes, from the beginning of the buffer. This value does not allow for pitch.

dwDataSize

Indicates the size of the relevant data in bytes. This value does not allow for pitch.

lpPrivate

Used by Microsoft DirectDraw and should be ignored by the driver.

Requirements

Requirement Value
Header ddrawint.h (include Winddi.h)

See also

DD_RENDERMOCOMPDATA

DD_SURFACE_LOCAL