ReactOS 0.4.15-dev-8408-g466a198
fxpowerstatemachine.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  FxPowerStateInfo
 
struct  POWER_EVENT_TARGET_STATE
 
struct  POWER_STATE_TABLE
 
union  FxPowerMachineEventQueue
 
union  FxPowerMachineStateHistory
 
struct  FxPowerMachine
 

Typedefs

typedef const POWER_EVENT_TARGET_STATECPPPOWER_EVENT_TARGET_STATE
 
typedef WDF_DEVICE_POWER_STATE(* PFN_POWER_STATE_ENTRY_FUNCTION) (FxPkgPnp *)
 
typedef struct POWER_STATE_TABLEPPOWER_STATE_TABLE
 
typedef const POWER_STATE_TABLECPPOWER_STATE_TABLE
 

Enumerations

enum  FxPowerEvent {
  PowerEventInvalid = 0x0000 , PowerD0 = 0x0001 , PowerDx = 0x0002 , PowerWakeArrival = 0x0004 ,
  PowerWakeSucceeded = 0x0008 , PowerWakeFailed = 0x0010 , PowerWakeCanceled = 0x0020 , PowerImplicitD0 = 0x0040 ,
  PowerImplicitD3 = 0x0080 , PowerParentToD0 = 0x0100 , PowerMarkPageable = 0x0200 , PowerMarkNonpageable = 0x0400 ,
  PowerCompleteD0 = 0x0800 , PowerCompleteDx = 0x1000 , PowerWakeInterruptCompleteTransition = 0x2000 , PowerPriorityEventsMask ,
  PowerSingularEventMask = PowerParentToD0 , PowerEventMaximum = 0xFFFF
}
 

Typedef Documentation

◆ CPPOWER_STATE_TABLE

◆ CPPPOWER_EVENT_TARGET_STATE

◆ PFN_POWER_STATE_ENTRY_FUNCTION

typedef WDF_DEVICE_POWER_STATE(* PFN_POWER_STATE_ENTRY_FUNCTION) (FxPkgPnp *)

Definition at line 108 of file fxpowerstatemachine.hpp.

◆ PPOWER_STATE_TABLE

Enumeration Type Documentation

◆ FxPowerEvent

Enumerator
PowerEventInvalid 
PowerD0 
PowerDx 
PowerWakeArrival 
PowerWakeSucceeded 
PowerWakeFailed 
PowerWakeCanceled 
PowerImplicitD0 
PowerImplicitD3 
PowerParentToD0 
PowerMarkPageable 
PowerMarkNonpageable 
PowerCompleteD0 
PowerCompleteDx 
PowerWakeInterruptCompleteTransition 
PowerPriorityEventsMask 
PowerSingularEventMask 
PowerEventMaximum 

Definition at line 13 of file fxpowerstatemachine.hpp.

13 {
14 PowerEventInvalid = 0x0000,
15 PowerD0 = 0x0001,
16 PowerDx = 0x0002,
17 PowerWakeArrival = 0x0004,
18 PowerWakeSucceeded = 0x0008,
19 PowerWakeFailed = 0x0010,
20 PowerWakeCanceled = 0x0020,
21 PowerImplicitD0 = 0x0040,
22 PowerImplicitD3 = 0x0080,
23 PowerParentToD0 = 0x0100,
24 PowerMarkPageable = 0x0200,
25 PowerMarkNonpageable = 0x0400,
26 PowerCompleteD0 = 0x0800,
27 PowerCompleteDx = 0x1000,
29 = 0x2000,
30
31 //
32 // Not a real event, just a value that indicates all of the events which
33 // goto the head of the queue and are always processed, even if the state is
34 // locked.
35 //
40
41 //
42 // Not a real event, just a value that indicate all of the events which
43 // should not be in the queue, if a similar event is already enqueued.
44 //
46
47 PowerEventMaximum = 0xFFFF,
48};
@ PowerImplicitD3
@ PowerEventMaximum
@ PowerPriorityEventsMask
@ PowerWakeCanceled
@ PowerWakeSucceeded
@ PowerMarkPageable
@ PowerWakeFailed
@ PowerMarkNonpageable
@ PowerWakeInterruptCompleteTransition
@ PowerWakeArrival
@ PowerSingularEventMask
@ PowerImplicitD0
@ PowerCompleteD0
@ PowerEventInvalid
@ PowerCompleteDx
@ PowerParentToD0