Blt
Expand Minimize

DecodeBeginFrame routine

The DecodeBeginFrame function notifies the user-mode display driver that decoding can begin on the specified Microsoft DirectX Video Accelerator (VA) decode device.

Syntax


PFND3DDDI_DECODEBEGINFRAME DecodeBeginFrame;

__checkReturn HRESULT APIENTRY DecodeBeginFrame(
  _In_  HANDLE hDevice,
  _In_  D3DDDIARG_DECODEBEGINFRAME *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in]

A pointer to a D3DDDIARG_DECODEBEGINFRAME structure that describes information for the DirectX VA decoder to start decoding a frame.

Return value

DecodeBeginFrame returns one of the following values:

Return codeDescription
S_OK

Decoding successfully began.

E_OUTOFMEMORY

DecodeBeginFrame could not allocate the required memory for it to complete.

 

Remarks

The DecodeBeginFrame function notifies the user-mode display driver that its DecodeExecute function can be called on the specified decode device.

Requirements

Version

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

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DECODEBEGINFRAME
D3DDDI_DEVICEFUNCS
DecodeExecute

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft