ReactOS  0.4.15-dev-2534-geba00d1
fxpnpstatemachine.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  FxPnpStateInfo
 
struct  PNP_EVENT_TARGET_STATE
 
struct  PNP_STATE_TABLE
 
union  FxPnpMachineStateHistory
 
struct  FxPnpMachine
 

Typedefs

typedef WDF_DEVICE_PNP_STATE(* PFN_PNP_STATE_ENTRY_FUNCTION) (FxPkgPnp *This)
 
typedef const PNP_EVENT_TARGET_STATECPPNP_EVENT_TARGET_STATE
 
typedef const PNP_STATE_TABLECPPNP_STATE_TABLE
 

Enumerations

enum  FxPnpEvent {
  PnpEventInvalid = 0x000000, PnpEventAddDevice = 0x000001, PnpEventStartDevice = 0x000002, PnpEventStartDeviceComplete = 0x000004,
  PnpEventStartDeviceFailed = 0x000008, PnpEventQueryRemove = 0x000010, PnpEventQueryStop = 0x000020, PnpEventCancelRemove = 0x000040,
  PnpEventCancelStop = 0x000080, PnpEventStop = 0x000100, PnpEventRemove = 0x000200, PnpEventSurpriseRemove = 0x000400,
  PnpEventEject = 0x000800, PnpEventPwrPolStopped = 0x001000, PnpEventPwrPolStopFailed = 0x002000, PnpEventPowerUpFailed = 0x004000,
  PnpEventPowerDownFailed = 0x008000, PnpEventParentRemoved = 0x010000, PnpEventChildrenRemovalComplete = 0x020000, PnpEventPwrPolStarted = 0x040000,
  PnpEventPwrPolStartFailed = 0x080000, PnpEventDeviceInD0 = 0x100000, PnpEventPwrPolRemoved = 0x200000, PnpEventPending,
  PnpPriorityEventsMask, PnpEventNull = 0xFFFFFFFF
}
 

Typedef Documentation

◆ CPPNP_EVENT_TARGET_STATE

◆ CPPNP_STATE_TABLE

Definition at line 149 of file fxpnpstatemachine.hpp.

◆ PFN_PNP_STATE_ENTRY_FUNCTION

typedef WDF_DEVICE_PNP_STATE(* PFN_PNP_STATE_ENTRY_FUNCTION) (FxPkgPnp *This)

Definition at line 11 of file fxpnpstatemachine.hpp.

Enumeration Type Documentation

◆ FxPnpEvent

Enumerator
PnpEventInvalid 
PnpEventAddDevice 
PnpEventStartDevice 
PnpEventStartDeviceComplete 
PnpEventStartDeviceFailed 
PnpEventQueryRemove 
PnpEventQueryStop 
PnpEventCancelRemove 
PnpEventCancelStop 
PnpEventStop 
PnpEventRemove 
PnpEventSurpriseRemove 
PnpEventEject 
PnpEventPwrPolStopped 
PnpEventPwrPolStopFailed 
PnpEventPowerUpFailed 
PnpEventPowerDownFailed 
PnpEventParentRemoved 
PnpEventChildrenRemovalComplete 
PnpEventPwrPolStarted 
PnpEventPwrPolStartFailed 
PnpEventDeviceInD0 
PnpEventPwrPolRemoved 
PnpEventPending 
PnpPriorityEventsMask 
PnpEventNull 

Definition at line 20 of file fxpnpstatemachine.hpp.

20  {
21  PnpEventInvalid = 0x000000,
22  PnpEventAddDevice = 0x000001,
23  PnpEventStartDevice = 0x000002,
24  PnpEventStartDeviceComplete = 0x000004,
25  PnpEventStartDeviceFailed = 0x000008,
26  PnpEventQueryRemove = 0x000010,
27  PnpEventQueryStop = 0x000020,
28  PnpEventCancelRemove = 0x000040,
29  PnpEventCancelStop = 0x000080,
30  PnpEventStop = 0x000100,
31  PnpEventRemove = 0x000200,
32  PnpEventSurpriseRemove = 0x000400,
33  PnpEventEject = 0x000800,
34  PnpEventPwrPolStopped = 0x001000,
35  PnpEventPwrPolStopFailed = 0x002000,
36  PnpEventPowerUpFailed = 0x004000,
37  PnpEventPowerDownFailed = 0x008000,
38  PnpEventParentRemoved = 0x010000,
40  PnpEventPwrPolStarted = 0x040000,
41  PnpEventPwrPolStartFailed = 0x080000,
42  PnpEventDeviceInD0 = 0x100000,
43  PnpEventPwrPolRemoved = 0x200000,
44 
45  //
46  // Not a real event, just a value that shows all of the events which have
47  // queued the pnp irp. If we drop one of these events, we *must* complete
48  // the pended pnp irp. See PnpProcessEventInner.
49  //
55  PnpEventStop |
58 
59  //
60  // Not a real event, just a value that indicates all of the events which
61  // goto the head of the queue and are always processed, even if the state is
62  // locked.
63  //
70 
71  PnpEventNull = 0xFFFFFFFF,
72 };