Blt
Expand Minimize

CreateVideoProcessDevice routine

The CreateVideoProcessDevice function creates a Microsoft DirectX Video Acceleration (DirectX VA) video processing device that is used to process video (for example, to deinterlace the video and adjust ProcAmp properties of the video).

Syntax


PFND3DDDI_CREATEVIDEOPROCESSDEVICE CreateVideoProcessDevice;

__checkReturn HRESULT APIENTRY CreateVideoProcessDevice(
  _In_    HANDLE                             hDevice,
  _Inout_ D3DDDIARG_CREATEVIDEOPROCESSDEVICE *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in, out]

A pointer to a D3DDDIARG_CREATEVIDEOPROCESSDEVICE 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

CreateVideoProcessDevice returns one of the following values:

Return codeDescription
S_OK

The video processing device is successfully created.

E_OUTOFMEMORY

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

 

Requirements

Target platform

Desktop

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_CREATEVIDEOPROCESSDEVICE
DestroyVideoProcessDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft