Export (0) Print
Expand All
Expand Minimize

DxgkDdiQueryEngineStatus routine

The display port driver's GPU scheduler calls this function to determine the progress of a node within an active physical display adapter (engine).

Syntax


PDXGKDDI_QUERYENGINESTATUS DxgkDdiQueryEngineStatus;

NTSTATUS APIENTRY DxgkDdiQueryEngineStatus(
  _In_     const HANDLE hAdapter,
  _Inout_  DXGKARG_QUERYENGINESTATUS *pQueryEngineStatus
)
{ ... }

Parameters

hAdapter [in]

A handle to a context block that is 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.

pQueryEngineStatus [in, out]

A pointer to a DXGKARG_QUERYENGINESTATUS structure that specifies a node and physical adapter that are to be queried for progress, and that supplies a value for the progress.

Return value

Returns STATUS_SUCCESS if the function succeeds. Otherwise, this function returns one of the error codes defined in Ntstatus.h.

Remarks

This function should be made pageable, and it should always succeed.

The operating system guarantees that this function follows the first level synchronization mode as defined in Threading and Synchronization First Level.

For more information, see TDR changes in Windows 8.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

PASSIVE_LEVEL

See also

DXGKARG_QUERYENGINESTATUS
DxgkDdiAddDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft