DXGKDDI_QUERYCONNECTIONCHANGE - NtDoc

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

DXGKDDI_QUERYCONNECTIONCHANGE DxgkddiQueryconnectionchange;

NTSTATUS DxgkddiQueryconnectionchange(
  IN_CONST_HANDLE hAdapter,
  IN_PDXGKARG_QUERYCONNECTIONCHANGE pQueryConnectionChange
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

DXGKDDI_QUERYCONNECTIONCHANGE callback function

Description

The OS calls DXGKDDI_QUERYCONNECTIONCHANGE in response to a status change reported through DxgkCbIndicateConnectorChange or when the OutputFlags.ConnectorStatusChanges field indicates that a call to SetTimingsFromVidPn has detected connector status changes.

Parameters

hAdapter

A handle that identifies the adapter.

pQueryConnectionChange

A pointer to a DXGKARG_QUERYCONNECTIONCHANGE structure that provides the OS allocated buffer into which the oldest change should be copied by the driver. The oldest change is judged by lowest ConnectionChangeId.

Return value

Return value Description
STATUS_SUCCESS Returned if the routine succeeds and returns the requested change.
STATUS_ALREADY_COMPLETE Returned if the routine succeeds, but the changes have already been reported to the OS.

Remarks

This function is always called at PASSIVE level so the supporting code should be made pageable.