ReactOS 0.4.16-dev-117-g38f21f9
FxPostProcessInfo Struct Reference

#include <fxeventqueue.hpp>

Collaboration diagram for FxPostProcessInfo:

Public Member Functions

 FxPostProcessInfo (VOID)
 
BOOLEAN SomethingToDo (VOID)
 
VOID Evaluate (__inout FxPkgPnp *PkgPnp)
 

Public Attributes

FxCREventm_Event
 
BOOLEAN m_DeleteObject
 
BOOLEAN m_SetRemovedEvent
 
MdIrp m_FireAndForgetIrp
 

Detailed Description

Definition at line 7 of file fxeventqueue.hpp.

Constructor & Destructor Documentation

◆ FxPostProcessInfo()

FxPostProcessInfo::FxPostProcessInfo ( VOID  )
inline

Definition at line 8 of file fxeventqueue.hpp.

11 {
12 m_Event = NULL;
16 }
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
BOOLEAN m_SetRemovedEvent
FxCREvent * m_Event

Member Function Documentation

◆ Evaluate()

__inline VOID FxPostProcessInfo::Evaluate ( __inout FxPkgPnp PkgPnp)

Definition at line 4566 of file fxpkgpnp.hpp.

4569{
4570 if (m_SetRemovedEvent) {
4572 PkgPnp->SignalDeviceRemovedEvent();
4573 return;
4574 }
4575
4576 //
4577 // Process any irp that should be sent down the stack/forgotten.
4578 //
4579 if (m_FireAndForgetIrp != NULL) {
4581
4583 (void) PkgPnp->FireAndForgetIrp(&irp);
4584 }
4585
4586 if (m_DeleteObject) {
4587 PkgPnp->ProcessDelayedDeletion();
4588 }
4589
4590 if (m_Event != NULL) {
4591 m_Event->Set();
4592 }
4593}
Definition: fxirp.hpp:28
FxIrp * irp
#define ASSERT(a)
Definition: mode.c:44
VOID Set(VOID)
Definition: fxwaitlock.hpp:144

◆ SomethingToDo()

BOOLEAN FxPostProcessInfo::SomethingToDo ( VOID  )
inline

Definition at line 19 of file fxeventqueue.hpp.

22 {
23 return ((m_Event != NULL) || m_DeleteObject) ? TRUE : FALSE;
24 }
#define TRUE
Definition: types.h:120

Member Data Documentation

◆ m_DeleteObject

BOOLEAN FxPostProcessInfo::m_DeleteObject

Definition at line 32 of file fxeventqueue.hpp.

Referenced by Evaluate(), FxPostProcessInfo(), and SomethingToDo().

◆ m_Event

FxCREvent* FxPostProcessInfo::m_Event

Definition at line 31 of file fxeventqueue.hpp.

Referenced by Evaluate(), FxPostProcessInfo(), and SomethingToDo().

◆ m_FireAndForgetIrp

MdIrp FxPostProcessInfo::m_FireAndForgetIrp

Definition at line 34 of file fxeventqueue.hpp.

Referenced by Evaluate(), and FxPostProcessInfo().

◆ m_SetRemovedEvent

BOOLEAN FxPostProcessInfo::m_SetRemovedEvent

Definition at line 33 of file fxeventqueue.hpp.

Referenced by Evaluate(), and FxPostProcessInfo().


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