Share via


DxgkCbCompletePStateTransition routine

[This documentation is preliminary and is subject to change.]

Called by a Windows Display Driver Model (WDDM) 1.3 or later display miniport driver to notify the port driver that a power component has completed the P-state transition.

Syntax

DXGKCB_COMPLETEFSTATETRANSITION DxgkCbCompletePStateTransition;

VOID APIENTRY CALLBACK* DxgkCbCompletePStateTransition(
  _In_  const HANDLE hAdapter,
  _In_  UINT ComponentIndex,
  _In_  UINT CompletedPState
)
{ ... }

Parameters

  • hAdapter [in]
    A handle to the display adapter. The display miniport driver receives the handle from the DeviceHandle member of the DXGKRNL_INTERFACE structure in a call to its DxgkDdiStartDevice function.

  • ComponentIndex [in]
    The power component index specified by DXGKARG_QUERYADAPTERINFO.pInputData in a call to the DxgkDdiQueryAdapterInfo function.

  • CompletedPState [in]
    The P-state that the power component was transitioned to.

Return value

This routine does not return a value.

Remarks

The display miniport driver must call this function whenever a power component has completed a P-state requested by a call to the DxgkDdiSetPowerPState function.

For more info on how to manage P-states, see Power management using P-states.

Requirements

Minimum supported client

Windows 8.1 Preview

Minimum supported server

Windows Server 2012 R2 Preview

Header

D3dkmddi.h (include D3dkmddi.h)

IRQL

<=DISPATCH_LEVEL

See also

DXGKARG_QUERYADAPTERINFO

DxgkDdiAddDevice

DxgkDdiQueryAdapterInfo

DxgkDdiSetPowerPState

 

 

Send comments about this topic to Microsoft

Build date: 6/19/2013