Bewerken

Delen via


PFND3DDDI_FLIPOVERLAYCB callback function (d3dumddi.h)

The pfnFlipOverlayCb function changes the allocation to display on the overlay or indicates to display the other field of the currently displaying allocation, when deinterlacing an interleaved resource.

Syntax

PFND3DDDI_FLIPOVERLAYCB Pfnd3dddiFlipoverlaycb;

HRESULT Pfnd3dddiFlipoverlaycb(
  HANDLE hDevice,
  const D3DDDICB_FLIPOVERLAY *unnamedParam2
)
{...}

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

pData [in]

A pointer to a D3DDDICB_FLIPOVERLAY structure that describes how to change the display on the overlay.

Return value

pfnFlipOverlayCb returns one of the following values:

Return code Description
S_OK The display on the overlay object was successfully changed.
E_INVALIDARG Parameters were validated and determined to be incorrect.
E_OUTOFMEMORY pfnFlipOverlayCb could not allocate memory that was required for it to complete.

This function might also return other HRESULT values.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dumddi.h (include D3dumddi.h)

See also

D3DDDICB_FLIPOVERLAY

D3DDDI_DEVICECALLBACKS