DXGKDDI_ENUMVIDPNCOFUNCMODALITY - NtDoc

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

DXGKDDI_ENUMVIDPNCOFUNCMODALITY DxgkddiEnumvidpncofuncmodality;

NTSTATUS DxgkddiEnumvidpncofuncmodality(
  IN_CONST_HANDLE hAdapter,
  IN_CONST_PDXGKARG_ENUMVIDPNCOFUNCMODALITY_CONST pEnumCofuncModality
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKDDI_ENUMVIDPNCOFUNCMODALITY callback function

Description

The DxgkDdiEnumVidPnCofuncModality function makes the source and target modes sets of a VidPN cofunctional with the VidPN's topology and the modes that have already been pinned.

Parameters

hAdapter

A handle to a context block associated with a display adapter. The display miniport driver previously provided this handle to the DirectX graphics kernel subsystem in the MiniportDeviceContext output parameter of the DxgkDdiAddDevice function.

pEnumCofuncModality

A pointer to a DXGKARG_ENUMVIDPNCOFUNCMODALITY structure that contains function arguments.

Return value

DxgkDdiEnumVidPnCofuncModality returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

The hConstrainingVidPn member of pEnumCofuncModalityArg is a handle to a VidPN object called the constraining VidPN. Other members of pEnumCofuncModalityArg identify one video present source or target as the pivot of the enumeration (or specify that there is no pivot).

DxgkDdiEnumVidPnCofuncModality must perform the following tasks:

Note that if a source or target is identified as the pivot of the enumeration, the mode set for that source or target must not change. For more information about how to update source and target mode sets, see Enumerating Cofunctional VidPN Source and Target Modes.

The DxgkDdiEnumVidPnCofuncModality function should be made pageable.