DXGKCB_QUERYMONITORINTERFACE - NtDoc

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

DXGKCB_QUERYMONITORINTERFACE DxgkcbQuerymonitorinterface;

NTSTATUS DxgkcbQuerymonitorinterface(
  [in]  IN_CONST_HANDLE hAdapter,
  [in]  IN_CONST_DXGK_MONITOR_INTERFACE_VERSION MonitorInterfaceVersion,
  [out] DEREF_OUT_CONST_PPDXGK_MONITOR_INTERFACE ppMonitorInterface
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKCB_QUERYMONITORINTERFACE callback function

Description

DXGKCB_QUERYMONITORINTERFACE obtains a pointer to a DXGK_MONITOR_INTERFACE structure, which contains pointers to functions that the display miniport driver can call to obtain other interfaces that provide access to monitor descriptors, modes, and frequency ranges.

Parameters

hAdapter [in]

A handle that represents a display adapter. The VidPN manager provided this handle to the display miniport driver in a call to DxgkDdiRecommendFunctionalVidPn, DxgkDdiIsSupportedVidPn, DxgkDdiEnumVidPnCofuncModality, or DxgkDdiCommitVidPn.

MonitorInterfaceVersion [in]

A value from the DXGK_MONITOR_INTERFACE_VERSION enumeration that specifies the version of the monitor interface being requested.

ppMonitorInterface [out]

A pointer to a pointer to the DXGK_MONITOR_INTERFACE structure.

Return value

DXGKCB_QUERYMONITORINTERFACE returns STATUS_SUCCESS if it succeeds. Otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

DXGKCB_XXX functions are implemented by Dxgkrnl. To use this callback function, call DxgkCbQueryMonitorInterface via the DXGKRNL_INTERFACE.

See also

DXGK_MONITOR_INTERFACE

DXGK_MONITOR_INTERFACE_VERSION