PDD_MOCOMPCB_GETCOMPBUFFINFO callback function (ddrawint.h)

The DDMoCompGetBuffInfo callback function allows the driver to specify how many interim surfaces are required to support the specified GUID, and the size, location, and format of each of these surfaces.

Syntax

PDD_MOCOMPCB_GETCOMPBUFFINFO PddMocompcbGetcompbuffinfo;

DWORD PddMocompcbGetcompbuffinfo(
  PDD_GETMOCOMPCOMPBUFFDATA unnamedParam1
)
{...}

Parameters

unnamedParam1

Points to a DD_GETMOCOMPCOMPBUFFDATA structure that contains the compressed buffer information.

Return value

DDMoCompGetBuffInfo returns one of the following callback codes:

Remarks

DDMoCompGetBuffInfo can be optionally implemented in DirectDraw drivers. This function is required for motion compensation support.

Requirements

Requirement Value
Target Platform Desktop
Header ddrawint.h (include Winddi.h)

See also

DD_GETMOCOMPCOMPBUFFDATA