PDD_MOCOMPCB_DESTROY callback function (ddrawint.h)

The DdMoCompDestroy callback function notifies the driver that this motion compensation object will no longer be used. The driver now needs to perform any necessary cleanup.

Syntax

PDD_MOCOMPCB_DESTROY PddMocompcbDestroy;

DWORD PddMocompcbDestroy(
  PDD_DESTROYMOCOMPDATA unnamedParam1
)
{...}

Parameters

unnamedParam1

Points to a DD_DESTROYMOCOMPDATA structure that contains the information needed to finish motion compensation.

Return value

DdMoCompDestroy returns one of the following callback codes:

Remarks

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

Requirements

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

See also

DD_DESTROYMOCOMPDATA