PDD_MOCOMPCB_BEGINFRAME callback function (ddrawint.h)

The DdMoCompBeginFrame callback function starts decoding a new frame.

Syntax

PDD_MOCOMPCB_BEGINFRAME PddMocompcbBeginframe;

DWORD PddMocompcbBeginframe(
  PDD_BEGINMOCOMPFRAMEDATA unnamedParam1
)
{...}

Parameters

unnamedParam1

Points to a DD_BEGINMOCOMPFRAMEDATA structure that contains the information needed to start decoding a new frame.

Return value

DdMoCompBeginFrame returns one of the following callback codes:

Remarks

DirectDraw drivers that support motion compensation must implement DdMoCompBeginFrame.

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_BEGINMOCOMPFRAMEDATA