24#ifndef _FXSYSTEMTHREAD_H_
25#define _FXSYSTEMTHREAD_H_
203#ifdef INLINE_WRAPPER_ALLOCATION
204#if (FX_CORE_MODE==FX_CORE_USER_MODE)
static VOID NTAPI SystemThread(_In_ PVOID Context)
BOOLEAN CancelWorkItem(__inout PWORK_QUEUE_ITEM WorkItem)
_Must_inspect_result_ NTSTATUS CreateThread(VOID)
BOOLEAN QueueWorkItem(__inout PWORK_QUEUE_ITEM WorkItem)
BOOLEAN ExitThreadAsync(__inout FxSystemThread *Reaper)
static VOID STDCALL StaticThreadThunk(__inout PVOID Context)
static VOID STDCALL StaticReaperThunk(__inout PVOID Context)
__inline BOOLEAN IsCurrentThread()
DECLARE_INTERNAL_NEW_OPERATOR()
static _Must_inspect_result_ NTSTATUS _CreateAndInit(__deref_out FxSystemThread **SystemThread, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in WDFDEVICE Device, __in MdDeviceObject DeviceObject)
virtual ~FxSystemThread(VOID)
static __inline MdEThread GetCurrentEThread()
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
#define _Must_inspect_result_
#define MEMORY_ALLOCATION_ALIGNMENT
_Must_inspect_result_ _In_ WDFDEVICE Device
FORCEINLINE size_t WDF_ALIGN_SIZE_UP(_In_ size_t Length, _In_ size_t AlignTo)
_In_ PDEVICE_OBJECT DeviceObject
_Must_inspect_result_ _In_ PWDF_WORKITEM_CONFIG _In_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWORKITEM * WorkItem