PDD_MOCOMPCB_ENDFRAME callback function (ddrawint.h)

The DdMoCompEndFrame callback function completes a decoded frame.

Syntax

PDD_MOCOMPCB_ENDFRAME PddMocompcbEndframe;

DWORD PddMocompcbEndframe(
  PDD_ENDMOCOMPFRAMEDATA unnamedParam1
)
{...}

Parameters

unnamedParam1

Points to a DD_ENDMOCOMPFRAMEDATA structure that contains the information needed to complete the decoded frame.

Return value

DdMoCompEndFrame returns one of the following callback codes:

Remarks

DirectDraw drivers that support motion compensation must implement DdMoCompEndFrame.

DirectDraw ensures that begin and end frames will be properly paired.

Requirements

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

See also

DD_ENDMOCOMPFRAMEDATA