ReactOS 0.4.16-dev-329-g9223134
|
Go to the source code of this file.
Classes | |
struct | _WDF_OBJECT_ATTRIBUTES |
struct | _WDF_OBJECT_CONTEXT_TYPE_INFO |
struct | _WDF_CUSTOM_TYPE_CONTEXT |
#define WDF_ADD_CUSTOM_TYPE_FUNCTION_NAME | ( | _type | ) | WdfObjectAddCustomType_ ## _type |
Definition at line 426 of file wdfobject.h.
#define WDF_CUSTOM_TYPE_CONTEXT_NAME | ( | _type | ) | WdfCustomType_ ## _type |
Definition at line 414 of file wdfobject.h.
#define WDF_DECLARE_CASTING_FUNCTION | ( | _contexttype, | |
_castingfunction | |||
) |
Definition at line 333 of file wdfobject.h.
#define WDF_DECLARE_CONTEXT_TYPE | ( | _contexttype | ) | WDF_DECLARE_CONTEXT_TYPE_WITH_NAME(_contexttype, WdfObjectGet_ ## _contexttype) |
Definition at line 259 of file wdfobject.h.
#define WDF_DECLARE_CONTEXT_TYPE_WITH_NAME | ( | _contexttype, | |
_castingfunction | |||
) |
Definition at line 350 of file wdfobject.h.
#define WDF_DECLARE_CUSTOM_TYPE | ( | _type | ) |
Definition at line 443 of file wdfobject.h.
#define WDF_DECLARE_SHARED_CONTEXT_TYPE_WITH_NAME | ( | _contexttype, | |
_castingfunction | |||
) |
Definition at line 378 of file wdfobject.h.
#define WDF_DECLARE_TYPE_AND_GLOBALS | ( | _contexttype, | |
_UniqueType, | |||
_GetUniqueType, | |||
_section | |||
) |
Definition at line 316 of file wdfobject.h.
#define WDF_EXTERN_C |
Definition at line 35 of file wdfobject.h.
#define WDF_EXTERN_C_END |
Definition at line 37 of file wdfobject.h.
#define WDF_EXTERN_C_START |
Definition at line 36 of file wdfobject.h.
#define WDF_GET_CONTEXT_TYPE_INFO | ( | _contexttype | ) | (&WDF_TYPE_NAME_TO_TYPE_INFO(_contexttype)) |
Definition at line 238 of file wdfobject.h.
#define WDF_GET_CUSTOM_TYPE_FUNCTION_NAME | ( | _type | ) | WdfObjectGetCustomType_ ## _type |
Definition at line 420 of file wdfobject.h.
#define WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE | ( | _attributes, | |
_contexttype | |||
) |
Definition at line 170 of file wdfobject.h.
#define WDF_OBJECT_ATTRIBUTES_SET_CONTEXT_TYPE | ( | _attributes, | |
_contexttype | |||
) | (_attributes)->ContextTypeInfo = WDF_GET_CONTEXT_TYPE_INFO(_contexttype)->UniqueType |
Definition at line 157 of file wdfobject.h.
#define WDF_TYPE_DEFAULT_SECTION_NAME ".data" |
Definition at line 310 of file wdfobject.h.
#define WDF_TYPE_INIT_BASE_SECTION_NAME ".kmdftypeinit" |
Definition at line 301 of file wdfobject.h.
#define WDF_TYPE_INIT_SECTION_NAME ".kmdftypeinit$b" |
Definition at line 302 of file wdfobject.h.
#define WDF_TYPE_NAME_POINTER_TYPE | ( | _contexttype | ) | WDF_POINTER_TYPE_ ## _contexttype |
Definition at line 249 of file wdfobject.h.
#define WDF_TYPE_NAME_TO_EXTERNAL_INIT | ( | _contexttype | ) | _WDF_ ## _contexttype ## _EXTERNAL_INIT |
Definition at line 229 of file wdfobject.h.
#define WDF_TYPE_NAME_TO_EXTERNAL_INIT_FUNCTION | ( | _contexttype | ) | _contexttype ## _EXTERNAL_INIT_FUNCTION |
Definition at line 232 of file wdfobject.h.
#define WDF_TYPE_NAME_TO_TYPE_INFO | ( | _contexttype | ) | _WDF_ ## _contexttype ## _TYPE_INFO |
Definition at line 222 of file wdfobject.h.
#define WdfObjectAddCustomType | ( | _handle, | |
_type | |||
) | WdfObjectAddCustomTypeWithData(_handle, _type, 0, NULL, NULL) |
Definition at line 524 of file wdfobject.h.
#define WdfObjectAddCustomTypeWithData | ( | _handle, | |
_type, | |||
_data, | |||
_cleanup, | |||
_destroy | |||
) | WDF_ADD_CUSTOM_TYPE_FUNCTION_NAME(_type)(_handle, _data, _cleanup, _destroy) |
Definition at line 511 of file wdfobject.h.
#define WdfObjectDereference | ( | Handle | ) | WdfObjectDereferenceWithTag(Handle, NULL) |
Definition at line 826 of file wdfobject.h.
#define WdfObjectDereferenceWithTag | ( | Handle, | |
Tag | |||
) | WdfObjectDereferenceActual(Handle, Tag, __LINE__, __FILE__) |
Definition at line 829 of file wdfobject.h.
#define WdfObjectGetCustomTypeData | ( | _handle, | |
_type | |||
) | (WDF_GET_CUSTOM_TYPE_FUNCTION_NAME(_type)(_handle)->Data) |
Definition at line 537 of file wdfobject.h.
Definition at line 404 of file wdfobject.h.
#define WdfObjectIsCustomType | ( | _handle, | |
_type | |||
) |
Definition at line 494 of file wdfobject.h.
#define WdfObjectReference | ( | Handle | ) | WdfObjectReferenceWithTag(Handle, NULL) |
Definition at line 803 of file wdfobject.h.
#define WdfObjectReferenceWithTag | ( | Handle, | |
Tag | |||
) | WdfObjectReferenceActual(Handle, Tag, __LINE__, __FILE__) |
Definition at line 806 of file wdfobject.h.
typedef _Must_inspect_result_ _IRQL_requires_max_(DISPATCH_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFOBJECTQUERY)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals |
Definition at line 697 of file wdfobject.h.
typedef _Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID _In_ ULONG _Out_writes_bytes_(QueryBufferLength) PVOID QueryBuffer) |
Definition at line 765 of file wdfobject.h.
Definition at line 704 of file wdfobject.h.
Definition at line 762 of file wdfobject.h.
typedef _Must_inspect_result_ _In_ WDFOBJECT Object |
Definition at line 706 of file wdfobject.h.
Definition at line 98 of file wdfobject.h.
typedef PCWDF_OBJECT_CONTEXT_TYPE_INFO(__cdecl * PFN_GET_UNIQUE_CONTEXT_TYPE) (VOID) |
Definition at line 175 of file wdfobject.h.
typedef EVT_WDF_OBJECT_CONTEXT_CLEANUP* PFN_WDF_OBJECT_CONTEXT_CLEANUP |
Definition at line 82 of file wdfobject.h.
typedef EVT_WDF_OBJECT_CONTEXT_DESTROY* PFN_WDF_OBJECT_CONTEXT_DESTROY |
Definition at line 95 of file wdfobject.h.
typedef WDFAPI NTSTATUS(STDCALL * PFN_WDFOBJECTALLOCATECONTEXT) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_ PWDF_OBJECT_ATTRIBUTES ContextAttributes, _Outptr_opt_ PVOID *Context) |
Definition at line 573 of file wdfobject.h.
typedef WDFAPI WDFOBJECT(FASTCALL * PFN_WDFOBJECTCONTEXTGETOBJECT) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ PVOID ContextPointer) |
Definition at line 604 of file wdfobject.h.
typedef WDFAPI VOID(STDCALL * PFN_WDFOBJECTDEREFERENCEACTUAL) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_opt_ PVOID Tag, _In_ LONG Line, _In_z_ PCHAR File) |
Definition at line 662 of file wdfobject.h.
typedef WDFAPI PVOID(FASTCALL * PFN_WDFOBJECTGETTYPEDCONTEXTWORKER) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_ PCWDF_OBJECT_CONTEXT_TYPE_INFO TypeInfo) |
Definition at line 546 of file wdfobject.h.
typedef WDFAPI VOID(STDCALL * PFN_WDFOBJECTREFERENCEACTUAL) (_In_ PWDF_DRIVER_GLOBALS DriverGlobals, _In_ WDFOBJECT Handle, _In_opt_ PVOID Tag, _In_ LONG Line, _In_z_ PCHAR File) |
Definition at line 627 of file wdfobject.h.
Definition at line 764 of file wdfobject.h.
Enumerator | |
---|---|
WdfExecutionLevelInvalid | |
WdfExecutionLevelInheritFromParent | |
WdfExecutionLevelPassive | |
WdfExecutionLevelDispatch |
Definition at line 51 of file wdfobject.h.
Enumerator | |
---|---|
WdfSynchronizationScopeInvalid | |
WdfSynchronizationScopeInheritFromParent | |
WdfSynchronizationScopeDevice | |
WdfSynchronizationScopeQueue | |
WdfSynchronizationScopeNone |
Definition at line 61 of file wdfobject.h.
typedef _Function_class_ | ( | EVT_WDF_OBJECT_CONTEXT_CLEANUP | ) |
typedef _Function_class_ | ( | EVT_WDF_OBJECT_CONTEXT_DESTROY | ) |
FORCEINLINE VOID WDF_OBJECT_ATTRIBUTES_INIT | ( | _Out_ PWDF_OBJECT_ATTRIBUTES | Attributes | ) |
Definition at line 147 of file wdfobject.h.
Referenced by FxUsbPipeContinuousReader::Config(), DeviceErrorHandlerForMmc(), DeviceSendStartUnit(), DriverEvtDeviceAdd(), FxInterrupt::InitializeWorker(), FxPkgGeneral::OnCreate(), and FxPkgGeneral::PostCreateDeviceInitialize().
FORCEINLINE NTSTATUS WdfObjectAllocateContext | ( | _In_ WDFOBJECT | Handle, |
_In_ PWDF_OBJECT_ATTRIBUTES | ContextAttributes, | ||
_Outptr_opt_ PVOID * | Context | ||
) |
Definition at line 587 of file wdfobject.h.
FORCEINLINE WDFOBJECT WdfObjectContextGetObject | ( | _In_ PVOID | ContextPointer | ) |
Definition at line 614 of file wdfobject.h.
FORCEINLINE VOID WdfObjectDereferenceActual | ( | _In_ WDFOBJECT | Handle, |
_In_opt_ PVOID | Tag, | ||
_In_ LONG | Line, | ||
_In_z_ PCHAR | File | ||
) |
Definition at line 678 of file wdfobject.h.
FORCEINLINE PVOID WdfObjectGetTypedContextWorker | ( | _In_ WDFOBJECT | Handle, |
_In_ PCWDF_OBJECT_CONTEXT_TYPE_INFO | TypeInfo | ||
) |
Definition at line 558 of file wdfobject.h.
FORCEINLINE VOID WdfObjectReferenceActual | ( | _In_ WDFOBJECT | Handle, |
_In_opt_ PVOID | Tag, | ||
_In_ LONG | Line, | ||
_In_z_ PCHAR | File | ||
) |
Definition at line 643 of file wdfobject.h.