ReactOS 0.4.15-dev-7924-g5949c20
FxPnpMachine Struct Reference

#include <fxpnpstatemachine.hpp>

Inheritance diagram for FxPnpMachine:
Collaboration diagram for FxPnpMachine:

Public Member Functions

 FxPnpMachine (VOID)
 
- Public Member Functions inherited from FxWorkItemEventQueue
 FxWorkItemEventQueue (__in UCHAR QueueDepth)
 
 ~FxWorkItemEventQueue ()
 
_Must_inspect_result_ NTSTATUS Init (__inout FxPkgPnp *Pnp, __in PFN_PNP_EVENT_WORKER WorkerRoutine, __in PVOID WorkerContext=NULL)
 
VOID QueueToThread (VOID)
 
- Public Member Functions inherited from FxEventQueue
 FxEventQueue (__in UCHAR QueueDepth)
 
_Must_inspect_result_ NTSTATUS Initialize (__in PFX_DRIVER_GLOBALS DriverGlobals)
 
 _Acquires_lock_ (this->m_QueueLock) __drv_maxIRQL(DISPATCH_LEVEL) __drv_setsIRQL(DISPATCH_LEVEL) VOID Lock(__out __drv_deref(__drv_savesIRQL) PKIRQL Irql)
 
 _Releases_lock_ (this->m_QueueLock) __drv_requiresIRQL(DISPATCH_LEVEL) VOID Unlock(__in __drv_restoresIRQL KIRQL Irql)
 
BOOLEAN IsFull (VOID)
 
BOOLEAN IsEmpty (VOID)
 
VOID IncrementHead (VOID)
 
UCHAR GetHead (VOID)
 
UCHAR InsertAtHead (VOID)
 
UCHAR InsertAtTail (VOID)
 
UCHAR IncrementHistoryIndex (VOID)
 
BOOLEAN IsClosedLocked (VOID)
 
VOID GetFinishedState (__inout FxPostProcessInfo *Info)
 
BOOLEAN SetFinished (__in FxCREvent *Event)
 
VOID SetDelayedDeletion (VOID)
 
- Public Member Functions inherited from FxStump
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType)
 
VOID operator delete (__in PVOID pointer)
 
PVOID operator new[] (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
VOID operator delete[] (__in PVOID pointer)
 

Public Attributes

FxPnpEvent m_Queue [PnpEventQueueDepth]
 
FxPnpMachineStateHistory m_States
 
BOOLEAN m_FireAndForget
 
- Public Attributes inherited from FxEventQueue
FxWaitLockInternal m_StateMachineLock
 

Additional Inherited Members

- Protected Member Functions inherited from FxWorkItemEventQueue
VOID QueueWorkItem (VOID)
 
- Protected Member Functions inherited from FxEventQueue
VOID Configure (__in FxPkgPnp *Pnp, __in PFN_PNP_EVENT_WORKER WorkerRoutine, __in PVOID Context)
 
BOOLEAN QueueToThreadWorker (VOID)
 
VOID EventQueueWorker (VOID)
 
BOOLEAN IsIdleLocked (VOID)
 
- Protected Member Functions inherited from FxStump
 FxStump (VOID)
 
- Protected Attributes inherited from FxWorkItemEventQueue
MxWorkItem m_WorkItem
 
- Protected Attributes inherited from FxEventQueue
UCHAR m_QueueHead
 
UCHAR m_QueueTail
 
UCHAR m_QueueDepth
 
UCHAR m_HistoryIndex
 
FxPkgPnpm_PkgPnp
 
PVOID m_EventWorkerContext
 
MxLock m_QueueLock
 
PFN_PNP_EVENT_WORKER m_EventWorker
 
FxCREventm_WorkItemFinished
 
union {
   UCHAR   m_QueueFlags
 
   struct {
      UCHAR   WorkItemQueued: 1
 
      UCHAR   Closed: 1
 
      UCHAR   DelayDeletion: 1
 
   }   m_QueueFlagsByName
 
}; 
 
UCHAR m_WorkItemRunningCount
 
- Static Protected Attributes inherited from FxWorkItemEventQueue
static MX_WORKITEM_ROUTINE _WorkItemCallback
 

Detailed Description

Definition at line 206 of file fxpnpstatemachine.hpp.

Constructor & Destructor Documentation

◆ FxPnpMachine()

FxPnpMachine::FxPnpMachine ( VOID  )
inline

Definition at line 207 of file fxpnpstatemachine.hpp.

210 {
211 RtlZeroMemory(&m_Queue[0], sizeof(m_Queue));
213
216 }
#define FALSE
Definition: types.h:117
const UCHAR PnpEventQueueDepth
Definition: fxpkgpnp.hpp:33
UCHAR IncrementHistoryIndex(VOID)
FxPnpMachineStateHistory m_States
FxPnpEvent m_Queue[PnpEventQueueDepth]
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
USHORT History[PnpEventQueueDepth]
@ WdfDevStatePnpObjectCreated
Definition: wdfdevice.h:64

Member Data Documentation

◆ m_FireAndForget

BOOLEAN FxPnpMachine::m_FireAndForget

◆ m_Queue

◆ m_States


The documentation for this struct was generated from the following file: