// d3dkmddi.h
DXGKDDI_QUERYCONNECTIONCHANGE DxgkddiQueryconnectionchange;
NTSTATUS DxgkddiQueryconnectionchange(
IN_CONST_HANDLE hAdapter,
IN_PDXGKARG_QUERYCONNECTIONCHANGE pQueryConnectionChange
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
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.
hAdapterA handle that identifies the adapter.
pQueryConnectionChangeA 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 | 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. |
This function is always called at PASSIVE level so the supporting code should be made pageable.