DXGKDDI_VIDPN_ASSIGNMULTISAMPLINGMETHODSET - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3dkmddi.h

DXGKDDI_VIDPN_ASSIGNMULTISAMPLINGMETHODSET DxgkddiVidpnAssignmultisamplingmethodset;

NTSTATUS DxgkddiVidpnAssignmultisamplingmethodset(
  [in] IN_D3DKMDT_HVIDPN hVidPn,
  [in] IN_CONST_D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId,
  [in] IN_CONST_SIZE_T NumMethods,
  [in] const D3DDDI_MULTISAMPLINGMETHOD *pSupportedMethodSet
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-d3dkmddi-dxgkddi_vidpn_assignmultisamplingmethodset)

DXGKDDI_VIDPN_ASSIGNMULTISAMPLINGMETHODSET callback function

Description

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

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.

pSupportedMethodSet [in]

A pointer to an array of D3DDDI_MULTISAMPLINGMETHOD structures, each of which describes a multisampling method.

Return value

The DXGKDDI_VIDPN_ASSIGNMULTISAMPLINGMETHODSET 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.

See also

DxgkDdiEnumVidPnCofuncModality