CreateVideoProcessor routine
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 CreateVideoProcessor;
__checkReturn HRESULT APIENTRY CreateVideoProcessor(
_In_ HANDLE hDevice,
_Inout_ D3DDDIARG_DXVAHD_CREATEVIDEOPROCESSOR *pData
)
{ ... }
Parameters
- 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 |
|---|---|
|
The video processor is successfully created. |
|
CreateVideoProcessor could not allocate the required memory for it to complete. |
Requirements
|
Version | CreateVideoProcessor is supported beginning with the Windows 7 operating system. |
|---|---|
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 11/29/2012
