PDD_MOCOMPCB_CREATE callback function (ddrawint.h)

The DdMoCompCreate callback function notifies the driver that a software decoder will start using motion compensation with the specified GUID.

Syntax

PDD_MOCOMPCB_CREATE PddMocompcbCreate;

DWORD PddMocompcbCreate(
  PDD_CREATEMOCOMPDATA unnamedParam1
)
{...}

Parameters

unnamedParam1

Points to a DD_CREATEMOCOMPDATA structure that contains the information required to begin using motion compensation.

Return value

DdMoCompCreate returns one of the following callback codes:

Remarks

DdMoCompCreate can be optionally implemented in DirectDraw drivers. It is not required for motion compensation support.

DdMoCompCreate also reports the width, height, and format of the output frame. The driver can fail this call if it cannot support motion compensation with these dimensions.

Requirements

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

See also

DD_CREATEMOCOMPDATA