DXGKDDI_ISSUPPORTEDVIDPN - NtDoc

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

DXGKDDI_ISSUPPORTEDVIDPN DxgkddiIssupportedvidpn;

NTSTATUS DxgkddiIssupportedvidpn(
  [in]      IN_CONST_HANDLE hAdapter,
  [in, out] INOUT_PDXGKARG_ISSUPPORTEDVIDPN pIsSupportedVidPn
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKDDI_ISSUPPORTEDVIDPN callback function

Description

The DxgkDdiIsSupportedVidPn function determines whether a specified VidPN is supported on a display adapter.

Parameters

hAdapter [in]

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.

pIsSupportedVidPn [in, out]

A pointer to a DXGKARG_ISSUPPORTEDVIDPN structure. On input, the caller supplies the hDesiredVidPn member of the structure. On return, the IsVidPnSupported member receives a Boolean value that indicates whether the VidPN is supported (TRUE) or not supported (FALSE).

Return value

DxgkDdiIsSupportedVidPn returns one of the following values

Return code Description
STATUS_SUCCESS The topology of the VidPN is valid. The IsVidPnSupported structure member is set to either TRUE or FALSE.
STATUS_GRAPHICS_INVALID_VIDPN_TOPOLOGY The topology of the VidPN implementation is invalid. The IsVidPnSupported structure member is set to FALSE.
STATUS_NO_MEMORY The function failed because it was unable to allocate memory.

Remarks

For more information about the analysis that this function must perform, see Determining Whether a VidPN is Supported on a Display Adapter.

If pIsSupportedVidPnArg->hDesiredVidPn is zero, DxgkDdiIsSupportedVidPn must set pIsSupportedVidPnArg->IsVidPnSupported to TRUE, the idea being that the display adapter can always be configured to display nothing.

DxgkDdiIsSupportedVidPn should be made pageable.

See also

DxgkDdiEnumVidPnCofuncModality