Skip to content

Latest commit

 

History

History
78 lines (59 loc) · 2.87 KB

nc-d3dumddi-pfnd3dddi_createvideoprocessdevice.md

File metadata and controls

78 lines (59 loc) · 2.87 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NC:d3dumddi.PFND3DDDI_CREATEVIDEOPROCESSDEVICE
PFND3DDDI_CREATEVIDEOPROCESSDEVICE (d3dumddi.h)
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).
display\createvideoprocessdevice.htm
display
05/10/2018
PFND3DDDI_CREATEVIDEOPROCESSDEVICE callback function
CreateVideoProcessDevice, CreateVideoProcessDevice callback function [Display Devices], PFND3DDDI_CREATEVIDEOPROCESSDEVICE, PFND3DDDI_CREATEVIDEOPROCESSDEVICE callback, UserModeDisplayDriver_Functions_2f8b832f-db45-4f76-ab8f-5ba94f818933.xml, d3dumddi/CreateVideoProcessDevice, display.createvideoprocessdevice
d3dumddi.h
D3dumddi.h
Desktop
Available in Windows Vista and later versions of the Windows operating systems.
Windows
PFND3DDDI_CREATEVIDEOPROCESSDEVICE
d3dumddi/PFND3DDDI_CREATEVIDEOPROCESSDEVICE
APIRef
kbSyntax
UserDefined
d3dumddi.h
PFND3DDDI_CREATEVIDEOPROCESSDEVICE

PFND3DDDI_CREATEVIDEOPROCESSDEVICE callback function

-description

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).

-parameters

-param hDevice

A handle to the display device (graphics context).

-param unnamedParam2

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.

-returns

CreateVideoProcessDevice returns one of the following values:

Return code Description
S_OK The video processing device is successfully created.
E_OUTOFMEMORY CreateVideoProcessDevice could not allocate the required memory for it to complete.

-see-also

D3DDDIARG_CREATEVIDEOPROCESSDEVICE

DestroyVideoProcessDevice