// d3dkmddi.h
DXGKDDI_ENUMVIDPNCOFUNCMODALITY DxgkddiEnumvidpncofuncmodality;
NTSTATUS DxgkddiEnumvidpncofuncmodality(
IN_CONST_HANDLE hAdapter,
IN_CONST_PDXGKARG_ENUMVIDPNCOFUNCMODALITY_CONST pEnumCofuncModality
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
hAdapterA 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.
pEnumCofuncModalityA pointer to a DXGKARG_ENUMVIDPNCOFUNCMODALITY structure that contains function arguments.
DxgkDdiEnumVidPnCofuncModality returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.
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.