DD_GETMOCOMPFORMATSDATA structure (ddrawint.h)

The DD_GETMOCOMPFORMATSDATA structure contains the uncompressed format information.

Syntax

typedef struct _DD_GETMOCOMPFORMATSDATA {
  PDD_DIRECTDRAW_LOCAL lpDD;
  GUID                 *lpGuid;
  DWORD                dwNumFormats;
  LPDDPIXELFORMAT      lpFormats;
  HRESULT              ddRVal;
} *PDD_GETMOCOMPFORMATSDATA, DD_GETMOCOMPFORMATSDATA;

Members

lpDD

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

lpGuid

Points to a GUID that describes the uncompressed formats being requested.

dwNumFormats

Indicates the number of uncompressed formats supported for the specified GUID.

lpFormats

Points to a DDPIXELFORMAT structure that contains the motion compensation pixel format. If this member is not NULL, the uncompressed formats are copied into the buffer pointed to by this member.

ddRVal

Specifies the location in which the driver writes the return value of the DdMoCompGetFormats 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

DdMoCompGetFormats