Go to the source code of this file.
|
#define | ADDREF(_tag) AddRef(_tag, __LINE__, __FILE__) |
|
#define | RELEASE(_tag) Release(_tag, __LINE__, __FILE__) |
|
#define | ADDREF_OFFSET(_tag, offset) AddRefOverride(offset, _tag, __LINE__, __FILE__) |
|
#define | RELEASE_OFFSET(_tag, offset) ReleaseOverride(offset, _tag, __LINE__, __FILE__) |
|
#define | FLAG_TO_BOOL(_Flags, _FlagMask) (!!((_Flags) & (_FlagMask))) |
|
#define | DECLARE_INTERNAL_NEW_OPERATOR() |
|
#define | GET_CONTEXT_HEADER() WDF_PTR_ADD_OFFSET_TYPE(this, m_ObjectSize, FxContextHeader*) |
|
|
enum | FxHandleFlags { FxHandleFlagIsOffset = 0x1
, FxHandleFlagMask = 0x7
} |
|
enum | FxObjectType : UINT32 { FxObjectTypeInvalid = 0
, FxObjectTypeInternal
, FxObjectTypeExternal
, FxObjectTypeEmbedded
} |
|
enum | FxObjectLockState { ObjectDoNotLock = 0
, ObjectLock = 1
} |
|
enum | FXOBJECT_FLAGS {
FXOBJECT_FLAGS_PASSIVE_CALLBACKS = 0x00000001
, FXOBJECT_FLAGS_NODELETEDDI = 0x00000002
, FXOBJECT_FLAGS_DELETECALLED = 0x00000004
, FXOBJECT_FLAGS_COMMITTED = 0x00000008
,
FXOBJECT_FLAGS_PASSIVE_DISPOSE = 0x00000010
, FXOBJECT_FLAGS_FORCE_DISPOSE_THREAD = 0x00000020
, FXOBJECT_FLAGS_HAS_DEBUG = 0x00000080
, FXOBJECT_FLAGS_EARLY_DISPOSED_EXT = 0x00000100
,
FXOBJECT_FLAGS_TRACE_STATE = 0x00000200
, FXOBJECT_FLAGS_HAS_CLEANUP = 0x00000400
, FXOBJECT_FLAGS_DISPOSE_OVERRIDE = 0x00000800
} |
|
enum | FxObjectState {
FxObjectStateInvalid = 0
, FxObjectStateCreated
, FxObjectStateDisposed
, FxObjectStateDisposingEarly
,
FxObjectStateDisposingDisposeChildren
, FxObjectStateDeferedDisposing
, FxObjectStateDeferedDeleting
, FxObjectStateWaitingForEarlyDispose
,
FxObjectStateWaitingForParentDeleteAndDisposed
, FxObjectStateDeletedDisposing
, FxObjectStateDeletedAndDisposed
, FxObjectStateDeferedDestroy
,
FxObjectStateDestroyed
, FxObjectStateMaximum
} |
|
enum | FxObjectDroppedEvent {
FxObjectDroppedEventAssignParentObject = 0
, FxObjectDroppedEventAddChildObjectInternal
, FxObjectDroppedEventRemoveChildObjectInternal
, FxObjectDroppedEventDeleteObject
,
FxObjectDroppedEventPerformEarlyDispose
, FxObjectDroppedEventRemoveParentAssignment
, FxObjectDroppedEventParentDeleteEvent
} |
|
enum | FxObjectDebugExtensionValues { FxObjectDebugExtensionSize = FIELD_OFFSET(FxObjectDebugExtension, AllocationStart)
, FxObjectDebugExtensionSignature = 'DOxF'
} |
|
◆ ADDREF
◆ ADDREF_OFFSET
◆ DECLARE_INTERNAL_NEW_OPERATOR
#define DECLARE_INTERNAL_NEW_OPERATOR |
( |
| ) |
|
Value: PVOID \
__inline \
operator new( \
) \
{ \
0, \
0, \
}
PVOID FxObjectHandleAlloc(__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType, __in size_t Size, __in ULONG Tag, __in_opt PWDF_OBJECT_ATTRIBUTES Attributes, __in USHORT ExtraSize, __in FxObjectType ObjectType)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
#define WDF_NO_OBJECT_ATTRIBUTES
Definition at line 190 of file fxobject.hpp.
◆ FLAG_TO_BOOL
#define FLAG_TO_BOOL |
( |
|
_Flags, |
|
|
|
_FlagMask |
|
) |
| (!!((_Flags) & (_FlagMask))) |
◆ GET_CONTEXT_HEADER
◆ RELEASE
◆ RELEASE_OFFSET
◆ PWDFOBJECT_OFFSET
◆ WDFOBJECT_OFFSET
◆ FxHandleFlags
Enumerator |
---|
FxHandleFlagIsOffset | |
FxHandleFlagMask | |
Definition at line 60 of file fxobject.hpp.
◆ FXOBJECT_FLAGS
Enumerator |
---|
FXOBJECT_FLAGS_PASSIVE_CALLBACKS | |
FXOBJECT_FLAGS_NODELETEDDI | |
FXOBJECT_FLAGS_DELETECALLED | |
FXOBJECT_FLAGS_COMMITTED | |
FXOBJECT_FLAGS_PASSIVE_DISPOSE | |
FXOBJECT_FLAGS_FORCE_DISPOSE_THREAD | |
FXOBJECT_FLAGS_HAS_DEBUG | |
FXOBJECT_FLAGS_EARLY_DISPOSED_EXT | |
FXOBJECT_FLAGS_TRACE_STATE | |
FXOBJECT_FLAGS_HAS_CLEANUP | |
FXOBJECT_FLAGS_DISPOSE_OVERRIDE | |
Definition at line 138 of file fxobject.hpp.
138 {
140
146
152};
@ FXOBJECT_FLAGS_DELETECALLED
@ FXOBJECT_FLAGS_PASSIVE_CALLBACKS
@ FXOBJECT_FLAGS_FORCE_DISPOSE_THREAD
@ FXOBJECT_FLAGS_NODELETEDDI
@ FXOBJECT_FLAGS_DISPOSE_OVERRIDE
@ FXOBJECT_FLAGS_PASSIVE_DISPOSE
@ FXOBJECT_FLAGS_HAS_DEBUG
@ FXOBJECT_FLAGS_TRACE_STATE
@ FXOBJECT_FLAGS_HAS_CLEANUP
@ FXOBJECT_FLAGS_COMMITTED
@ FXOBJECT_FLAGS_EARLY_DISPOSED_EXT
◆ FxObjectDebugExtensionValues
Enumerator |
---|
FxObjectDebugExtensionSize | |
FxObjectDebugExtensionSignature | |
Definition at line 225 of file fxobject.hpp.
225 {
228};
@ FxObjectDebugExtensionSignature
@ FxObjectDebugExtensionSize
#define FIELD_OFFSET(t, f)
◆ FxObjectDroppedEvent
Enumerator |
---|
FxObjectDroppedEventAssignParentObject | |
FxObjectDroppedEventAddChildObjectInternal | |
FxObjectDroppedEventRemoveChildObjectInternal | |
FxObjectDroppedEventDeleteObject | |
FxObjectDroppedEventPerformEarlyDispose | |
FxObjectDroppedEventRemoveParentAssignment | |
FxObjectDroppedEventParentDeleteEvent | |
Definition at line 175 of file fxobject.hpp.
175 {
183};
@ FxObjectDroppedEventDeleteObject
@ FxObjectDroppedEventParentDeleteEvent
@ FxObjectDroppedEventAssignParentObject
@ FxObjectDroppedEventPerformEarlyDispose
@ FxObjectDroppedEventRemoveParentAssignment
@ FxObjectDroppedEventAddChildObjectInternal
@ FxObjectDroppedEventRemoveChildObjectInternal
◆ FxObjectLockState
Enumerator |
---|
ObjectDoNotLock | |
ObjectLock | |
Definition at line 127 of file fxobject.hpp.
◆ FxObjectState
Enumerator |
---|
FxObjectStateInvalid | |
FxObjectStateCreated | |
FxObjectStateDisposed | |
FxObjectStateDisposingEarly | |
FxObjectStateDisposingDisposeChildren | |
FxObjectStateDeferedDisposing | |
FxObjectStateDeferedDeleting | |
FxObjectStateWaitingForEarlyDispose | |
FxObjectStateWaitingForParentDeleteAndDisposed | |
FxObjectStateDeletedDisposing | |
FxObjectStateDeletedAndDisposed | |
FxObjectStateDeferedDestroy | |
FxObjectStateDestroyed | |
FxObjectStateMaximum | |
Definition at line 158 of file fxobject.hpp.
158 {
173};
@ FxObjectStateDeferedDeleting
@ FxObjectStateDisposingDisposeChildren
@ FxObjectStateWaitingForEarlyDispose
@ FxObjectStateDeletedDisposing
@ FxObjectStateWaitingForParentDeleteAndDisposed
@ FxObjectStateDeletedAndDisposed
@ FxObjectStateDisposingEarly
@ FxObjectStateDeferedDisposing
@ FxObjectStateDeferedDestroy
◆ FxObjectType
Enumerator |
---|
FxObjectTypeInvalid | |
FxObjectTypeInternal | |
FxObjectTypeExternal | |
FxObjectTypeEmbedded | |
Definition at line 117 of file fxobject.hpp.
◆ DECLSPEC_ALIGN()
typedef DECLSPEC_ALIGN |
( |
8 |
| ) |
|
Definition at line 963 of file ketypes.h.
965 {
_Reserved_ PVOID Reserved
◆ FxHandleValueMask