// d3dumddi.h
PFND3DDDI_DECODEBEGINFRAME Pfnd3dddiDecodebeginframe;
HRESULT Pfnd3dddiDecodebeginframe(
HANDLE hDevice,
D3DDDIARG_DECODEBEGINFRAME *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DecodeBeginFrame function notifies the user-mode display driver that decoding can begin on the specified Microsoft DirectX Video Accelerator (VA) decode device.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in]
A pointer to a D3DDDIARG_DECODEBEGINFRAME structure that describes information for the DirectX VA decoder to start decoding a frame.
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. |
The DecodeBeginFrame function notifies the user-mode display driver that its DecodeExecute function can be called on the specified decode device.