// d3dumddi.h
PFND3DDDI_DXVAHD_CREATEVIDEOPROCESSOR Pfnd3dddiDxvahdCreatevideoprocessor;
HRESULT Pfnd3dddiDxvahdCreatevideoprocessor(
HANDLE unnamedParam1,
D3DDDIARG_DXVAHD_CREATEVIDEOPROCESSOR *unnamedParam2
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The CreateVideoProcessor function creates a Microsoft DirectX Video Acceleration (DirectX VA) video processor that is used to process high-definition video.
unnamedParam1unnamedParam2hDevice [in]
A handle to the display device (graphics context).
pData [in, out]
A pointer to a D3DDDIARG_DXVAHD_CREATEVIDEOPROCESSOR structure. On input, contains information that the driver can use. On output, the driver specifies information that the Microsoft Direct3D runtime can use.
CreateVideoProcessor returns one of the following values:
| Return code | Description |
|---|---|
| S_OK | The video processor is successfully created. |
| E_OUTOFMEMORY | CreateVideoProcessor could not allocate the required memory for it to complete. |
D3DDDIARG_DXVAHD_CREATEVIDEOPROCESSOR