// d3dumddi.h
PFND3DDDI_DECODEENDFRAME Pfnd3dddiDecodeendframe;
HRESULT Pfnd3dddiDecodeendframe(
HANDLE hDevice,
D3DDDIARG_DECODEENDFRAME *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The DecodeEndFrame function notifies the user-mode display driver that all of the data that was required to decode the current frame was submitted.
hDeviceA handle to the display device (graphics context).
unnamedParam2pData [in, out]
A pointer to a D3DDDIARG_DECODEENDFRAME structure that describes the DirectX VA decoder that should stop decoding a frame.
DecodeEndFrame returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | Decoding successfully completed. |
| E_OUTOFMEMORY | DecodeEndFrame could not allocate the required memory for it to complete. |
The DecodeEndFrame function notifies the user-mode display driver that its DecodeExecute function can no longer be called on the specified decode device.