Blt
Развернуть Свернуть

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 codeDescription
S_OK

The video processor is successfully created.

E_OUTOFMEMORY

CreateVideoProcessor could not allocate the required memory for it to complete.

 

Requirements

Version

CreateVideoProcessor is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DXVAHD_CREATEVIDEOPROCESSOR
DestroyVideoProcessor

 

 

Send comments about this topic to Microsoft

Показ:
© 2014 Microsoft