DD_GETMOCOMPCOMPBUFFDATA structure (ddrawint.h)

The DD_GETMOCOMPCOMPBUFFDATA structure contains the compressed buffer information.

Syntax

typedef struct _DD_GETMOCOMPCOMPBUFFDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  GUID                 *lpGuid;
  DWORD                dwWidth;
  DWORD                dwHeight;
  DDPIXELFORMAT        ddPixelFormat;
  DWORD                dwNumTypesCompBuffs;
  LPDDCOMPBUFFERINFO   lpCompBuffInfo;
  HRESULT              ddRVal;
} *PDD_GETMOCOMPCOMPBUFFDATA, DD_GETMOCOMPCOMPBUFFDATA;

Members

lpDD

Points to a DD_DIRECTDRAW_LOCAL structure that is relevant to the current Microsoft DirectDraw process only.

lpGuid

Points to a GUID for which the compressed buffer information is requested.

dwWidth

Indicates the width in pixels of the uncompressed output frame.

dwHeight

Indicates the height in pixels of the uncompressed output frame.

ddPixelFormat

Points to a DDPIXELFORMAT structure that contains the pixel format of the uncompressed output frame.

dwNumTypesCompBuffs

Indicates how many different types of surfaces the driver requires to perform motion compensation using the requested GUID.

lpCompBuffInfo

Points to a DDCOMPBUFFERINFO structure that contains the driver-supplied information for each type of required surface.

ddRVal

Specifies the location in which the driver writes the return value of the DdMoCompGetBuffInfo callback. A return code of DD_OK indicates success. For more information, see Return Values for DirectDraw.

Requirements

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

See also

DdMoCompGetBuffInfo