PFND3DDDI_VIDEOPROCESSENDFRAME callback function

The VideoProcessEndFrame function notifies the user-mode display driver that all of the data that is required to process the current frame was submitted.

Syntax


PFND3DDDI_VIDEOPROCESSENDFRAME VideoProcessEndFrame;

__checkReturn HRESULT APIENTRY VideoProcessEndFrame(
  _In_    HANDLE                         hDevice,
  _Inout_ D3DDDIARG_VIDEOPROCESSENDFRAME *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in, out]

A pointer to a D3DDDIARG_VIDEOPROCESSENDFRAME structure that describes the DirectX VA video processor that should stop processing a frame.

Return value

VideoProcessEndFrame returns one of the following values:

Return codeDescription
S_OK

Processing of the current frame is successfully completed.

E_OUTOFMEMORY

VideoProcessEndFrame cannot allocate memory required for it to complete.

 

Remarks

The VideoProcessEndFrame function notifies the user-mode display driver that its VideoProcessBlt function can no longer be called on the specified video processing device.

Requirements

Target platform

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

CreateVideoProcessDevice
D3DDDI_DEVICEFUNCS
D3DDDIARG_VIDEOPROCESSENDFRAME
VideoProcessBlt

 

 

Send comments about this topic to Microsoft

Show: