DXGKDDI_VIDPN_ASSIGNMULTISAMPLINGMETHODSET callback function

The pfnAssignMultisamplingMethodSet function assigns a set of multisampling methods to a particular video present source in a specified VidPN.

Syntax

DXGKDDI_VIDPN_ASSIGNMULTISAMPLINGMETHODSET DxgkddiVidpnAssignmultisamplingmethodset;

NTSTATUS DxgkddiVidpnAssignmultisamplingmethodset(
  IN_D3DKMDT_HVIDPN hVidPn,
  IN_CONST_D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId,
  IN_CONST_SIZE_T NumMethods,
  CONST D3DDDI_MULTISAMPLINGMETHOD
)
{...}

Parameters

hVidPn

[in] A handle to a VidPN object. The VidPN manager previously provided this handle to the display miniport driver by calling DxgkDdiEnumVidPnCofuncModality.

VidPnSourceId

[in] An integer that identifies one of the video present sources associated with the VidPN object.

NumMethods

[in] The number of elements in the pSupportedMethodSet array.

D3DDDI_MULTISAMPLINGMETHOD

Return Value

The pfnAssignMultisamplingMethodSet function returns one of the following values.

Return code Description
STATUS_SUCCESS
The function succeeded.
STATUS_GRAPHICS_INVALID_VIDPN
The handle supplied in hVidPn was invalid.
STATUS_GRAPHICS_INVALID_VIDEO_PRESENT_SOURCE
The identifier supplied in VidPnSourceId was invalid.
STATUS_NO_MEMORY
The function failed because it was unable to allocate enough memory.

This function might also return other error codes that are defined in Ntstatus.h.

Requirements

   
Windows version Available in Windows Vista and later versions of the Windows operating systems.
Target Platform Desktop
Header d3dkmddi.h (include D3dkmddi.h)
IRQL PASSIVE_LEVEL

See Also

DxgkDdiEnumVidPnCofuncModality