PFND3DDDI_DXVAHD_CREATEVIDEOPROCESSOR callback function (d3dumddi.h)
The CreateVideoProcessor function creates a Microsoft DirectX Video Acceleration (DirectX VA) video processor that is used to process high-definition video.
Syntax
PFND3DDDI_DXVAHD_CREATEVIDEOPROCESSOR Pfnd3dddiDxvahdCreatevideoprocessor;
HRESULT Pfnd3dddiDxvahdCreatevideoprocessor(
HANDLE unnamedParam1,
D3DDDIARG_DXVAHD_CREATEVIDEOPROCESSOR *unnamedParam2
)
{...}
Parameters
unnamedParam1
unnamedParam2
hDevice [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.
Return value
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. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | CreateVideoProcessor is supported beginning with the Windows 7 operating system. |
Target Platform | Desktop |
Header | d3dumddi.h (include D3dumddi.h) |