PFND3DDDI_DECODEBEGINFRAME callback function (d3dumddi.h)
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 Pfnd3dddiDecodebeginframe;
HRESULT Pfnd3dddiDecodebeginframe(
HANDLE hDevice,
D3DDDIARG_DECODEBEGINFRAME *unnamedParam2
)
{...}
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.
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) |