PFND3DDDI_DECODEBEGINFRAME - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dumddi.h

PFND3DDDI_DECODEBEGINFRAME Pfnd3dddiDecodebeginframe;

HRESULT Pfnd3dddiDecodebeginframe(
  HANDLE hDevice,
  D3DDDIARG_DECODEBEGINFRAME *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dumddi-pfnd3dddi_decodebeginframe)

PFND3DDDI_DECODEBEGINFRAME callback function

Description

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

Parameters

hDevice

A handle to the display device (graphics context).

unnamedParam2

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 code Description
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.

See also

D3DDDIARG_DECODEBEGINFRAME

D3DDDI_DEVICEFUNCS

DecodeExecute