DXGKDDI_QUERYCONNECTIONCHANGE callback function (d3dkmddi.h)
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.
Syntax
DXGKDDI_QUERYCONNECTIONCHANGE DxgkddiQueryconnectionchange;
NTSTATUS DxgkddiQueryconnectionchange(
IN_CONST_HANDLE hAdapter,
IN_PDXGKARG_QUERYCONNECTIONCHANGE pQueryConnectionChange
)
{...}
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3dkmddi.h |