ReactOS 0.4.16-dev-13-ge2fc578
|
#include <mxworkitem.h>
Public Member Functions | |
__inline | MxWorkItem () |
VOID | WaitForCallbacksToComplete (VOID) |
_Must_inspect_result_ __inline NTSTATUS | Allocate (__in MdDeviceObject DeviceObject, __in_opt PVOID ThreadPoolEnv=NULL) |
__inline VOID | Enqueue (__in PMX_WORKITEM_ROUTINE Callback, __in PVOID Context) |
__inline MdWorkItem | GetWorkItem () |
__inline VOID | Free () |
__inline | ~MxWorkItem () |
Static Public Member Functions | |
static VOID CALLBACK | _WorkerThunk (_Inout_ PTP_CALLBACK_INSTANCE Instance, _Inout_opt_ PVOID Parameter, _Inout_ PTP_WAIT Wait, _In_ TP_WAIT_RESULT WaitResult) |
static __inline VOID | _Free (__in MdWorkItem Item) |
Protected Attributes | |
MdWorkItem | m_WorkItem |
Definition at line 28 of file mxworkitem.h.
__inline MxWorkItem::MxWorkItem | ( | ) |
Definition at line 32 of file mxworkitemkm.h.
|
inline |
Definition at line 95 of file mxworkitem.h.
|
static |
Definition at line 81 of file mxworkitemkm.h.
Referenced by FxPkgPdo::_QueryCapsWorkItem(), and Free().
|
static |
Definition at line 30 of file mxworkitemum.cpp.
_Must_inspect_result_ __inline NTSTATUS MxWorkItem::Allocate | ( | __in MdDeviceObject | DeviceObject, |
__in_opt PVOID | ThreadPoolEnv = NULL |
||
) |
Definition at line 41 of file mxworkitemkm.h.
Referenced by FxWorkItemEventQueue::Init(), FxThreadedEventQueue::Init(), FxSystemWorkItem::Initialize(), FxWorkItem::Initialize(), FxPkgPnp::PnpDeviceUsageNotification(), and FxPkgPdo::PnpQueryCapabilities().
__inline VOID MxWorkItem::Enqueue | ( | __in PMX_WORKITEM_ROUTINE | Callback, |
__in PVOID | Context | ||
) |
Definition at line 58 of file mxworkitemkm.h.
Referenced by FxSystemWorkItem::EnqueueWorker(), FxPkgPdo::PnpQueryCapabilities(), FxWorkItemEventQueue::QueueWorkItem(), and FxThreadedEventQueue::QueueWorkItem().
__inline VOID MxWorkItem::Free | ( | ) |
Definition at line 90 of file mxworkitemkm.h.
Referenced by FxSystemWorkItem::~FxSystemWorkItem(), FxThreadedEventQueue::~FxThreadedEventQueue(), FxWorkItem::~FxWorkItem(), FxWorkItemEventQueue::~FxWorkItemEventQueue(), and MxAutoWorkItem::~MxAutoWorkItem().
__inline MdWorkItem MxWorkItem::GetWorkItem | ( | ) |
Definition at line 73 of file mxworkitemkm.h.
Referenced by FxSystemWorkItem::EnqueueWorker(), FxWorkItem::GetWorkItemPtr(), FxSystemWorkItem::GetWorkItemPtr(), FxSystemWorkItem::Initialize(), FxWorkItem::Initialize(), FxPkgPdo::PnpQueryCapabilities(), FxSystemWorkItem::~FxSystemWorkItem(), and FxWorkItem::~FxWorkItem().
Definition at line 52 of file mxworkitemum.cpp.
|
protected |
Definition at line 32 of file mxworkitem.h.
Referenced by Allocate(), Enqueue(), Free(), GetWorkItem(), MxWorkItem(), and WaitForCallbacksToComplete().