PFND3D11_1DDI_CREATEVIDEOPROCESSORENUM callback function

Creates an enumeration object for the video processor capabilities of the driver.

Syntax

PFND3D11_1DDI_CREATEVIDEOPROCESSORENUM Pfnd3d111DdiCreatevideoprocessorenum;

HRESULT Pfnd3d111DdiCreatevideoprocessorenum(
   D3D10DDI_HDEVICE,
  CONST D3D11_1DDIARG_CREATEVIDEOPROCESSORENUM *,
   D3D11_1DDI_HVIDEOPROCESSORENUM,
   D3D11_1DDI_HRTVIDEOPROCESSORENUM
)
{...}

Parameters

D3D10DDI_HDEVICE

*

D3D11_1DDI_HVIDEOPROCESSORENUM

D3D11_1DDI_HRTVIDEOPROCESSORENUM

Return Value

CreateVideoProcessorEnum returns one of the following values:

Return code Description
S_OK
The video processor enumeration object was created successfully.
E_OUTOFMEMORY
Memory was not available to complete the operation.

Remarks

The Direct3D runtime calls CreateVideoProcessorEnum after it has called the driver's CalcPrivateVideoProcessorEnumSize to determine the size in bytes for the private data that the driver requires for the video processor enumeration object. The runtime allocates the memory for this private data for the driver. The driver uses this memory to store private data that is related to the video processor enumeration object.

When the runtime calls CreateVideoProcessorEnum, it passes the handle to the private data memory in the hVideoProcessorEnum parameter. This handle is actually a pointer to the memory.

Requirements

   
Windows version Windows 8 Windows Server 2012
Target Platform Desktop
Header d3d10umddi.h (include D3d10umddi.h)

See Also

CalcPrivateVideoProcessorEnumSize

D3D11_1DDIARG_CREATEVIDEOPROCESSORENUM