// d3dumddi.h
typedef struct _D3DDDIARG_CREATEVIDEOPROCESSDEVICE {
[in] const GUID *pVideoProcGuid;
[in] DXVADDI_VIDEODESC VideoDesc;
[in] D3DDDIFORMAT RenderTargetFormat;
[in] UINT MaxSubStreams;
[in/out] HANDLE hVideoProcess;
} D3DDDIARG_CREATEVIDEOPROCESSDEVICE;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDIARG_CREATEVIDEOPROCESSDEVICE structure describes a Microsoft DirectX Video Acceleration (DirectX VA) video processing device to create.
pVideoProcGuid [in]A pointer to the GUID that represents a DirectX VA video processing device to create. The Microsoft Direct3D runtime can call the user-mode display driver's GetCaps function to query for the video processing GUIDs that the driver supports.
VideoDesc [in]The DXVADDI_VIDEODESC structure for the video stream that the video processing device should process.
RenderTargetFormat [in]A D3DDDIFORMAT-typed value that indicates the pixel format of the render target for the video processing device.
MaxSubStreams [in]The maximum number of video substreams that can be sent to the video processing device. If this value is set to zero, the device never receives any video substreams.
hVideoProcess [in/out]A handle to the video processing device. The user-mode display driver must set this handle to a value that the Microsoft Direct3D runtime can use to identify the video processing device in subsequent calls.