GET_D3COLD_LAST_TRANSITION_STATUS - NtDoc

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

GET_D3COLD_LAST_TRANSITION_STATUS GetD3coldLastTransitionStatus;

VOID GetD3coldLastTransitionStatus(
  [in, optional] PVOID Context,
  [out]          PD3COLD_LAST_TRANSITION_STATUS LastTransitionStatus
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-wdm-get_d3cold_last_transition_status)

GET_D3COLD_LAST_TRANSITION_STATUS callback function

Description

The GetLastTransitionStatus routine enables the driver for a device to query whether the most recent transition to the D3hot substate was followed by a transition to the D3cold substate.

Parameters

Context [in, optional]

A pointer to interface-specific context information. The caller sets this parameter to the value of the Context member of the D3COLD_SUPPORT_INTERFACE structure for the interface.

LastTransitionStatus [out]

A pointer to a variable into which the routine writes one of the following D3COLD_LAST_TRANSITION_STATUS enumeration values:

The LastDStateTransitionD3cold value indicates that the most recent transition to D3hot was followed by a transition to D3cold. For more information, see Remarks.

Remarks

This routine tries to get the information needed to answer the caller's query from the parent bus driver and platform firmware. If this information is not available, the routine writes the value LastDStateTransitionStatusUnknown to the location pointed to by the LastTransitionStatus parameter.

For more information, see D3COLD_LAST_TRANSITION_STATUS.

See also

D3COLD_LAST_TRANSITION_STATUS

D3COLD_SUPPORT_INTERFACE