ReactOS 0.4.16-dev-13-ge2fc578
|
#include "fxobjectpch.hpp"
Go to the source code of this file.
_Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
__drv_maxIRQL | ( | DISPATCH_LEVEL+ | 1 | ) |
DoTraceLevelMessage | ( | pFxDriverGlobals | , |
TRACE_LEVEL_WARNING | , | ||
TRACINGHANDLE | , | ||
"Attempting to get context type %s from WDFOBJECT 0x%p" | , | ||
pGivenName | , | ||
Handle | |||
) |
Referenced by FxCalculateObjectTotalSize2(), FxObjectAllocateContext(), FxObjectHandleGetPtrQI(), and if().
Definition at line 634 of file handleapi.cpp.
_Must_inspect_result_ NTSTATUS FxCalculateObjectTotalSize | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in USHORT | RawObjectSize, | ||
__in USHORT | ExtraSize, | ||
__in_opt PWDF_OBJECT_ATTRIBUTES | Attributes, | ||
__out size_t * | Total | ||
) |
Definition at line 147 of file handleapi.cpp.
Referenced by FxObjectAllocateContext(), FxObjectHandleAlloc(), FxLookasideList::InitializeLookaside(), and VfAllocateContext().
_Must_inspect_result_ NTSTATUS FxCalculateObjectTotalSize2 | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in USHORT | RawObjectSize, | ||
__in USHORT | ExtraSize, | ||
__in size_t | ContextSize, | ||
__out size_t * | Total | ||
) |
Definition at line 73 of file handleapi.cpp.
Referenced by FxCalculateObjectTotalSize(), and FxDevice::Initialize().
VOID FxContextHeaderInit | ( | __in FxContextHeader * | Header, |
__in FxObject * | Object, | ||
__in_opt PWDF_OBJECT_ATTRIBUTES | Attributes | ||
) |
Definition at line 248 of file handleapi.cpp.
Referenced by FxObjectAllocateContext(), FxObjectAndHandleHeaderInit(), and VfAddContextToHandle().
size_t FxGetContextSize | ( | __in_opt PWDF_OBJECT_ATTRIBUTES | Attributes | ) |
Definition at line 38 of file handleapi.cpp.
Referenced by FxCalculateObjectTotalSize(), and FxDevice::Initialize().
_Must_inspect_result_ NTSTATUS FxObjectAllocateContext | ( | __in FxObject * | Object, |
__in PWDF_OBJECT_ATTRIBUTES | Attributes, | ||
__in BOOLEAN | AllowCallbacksOnly, | ||
__deref_opt_out PVOID * | Context | ||
) |
Definition at line 397 of file handleapi.cpp.
Referenced by FxPkgGeneral::OnCreate(), and FxUsbInterface::UpdatePipeAttributes().
PVOID FxObjectAndHandleHeaderInit | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in PVOID | AllocationStart, | ||
__in USHORT | ObjectSize, | ||
__in_opt PWDF_OBJECT_ATTRIBUTES | Attributes, | ||
__in FxObjectType | ObjectType | ||
) |
Definition at line 292 of file handleapi.cpp.
Referenced by FxDevice::AllocateRequestMemory(), FxObjectHandleAlloc(), FxMemoryBufferFromPoolLookaside::operator new(), and FxMemoryBufferFromLookaside::operator new().
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 | ||
) |
Definition at line 163 of file handleapi.cpp.
Referenced by FxObject::operator new(), and FxMemoryBuffer::operator new().
VOID FxObjectHandleGetPtrQI | ( | __in FxObject * | Object, |
__out PVOID * | PPObject, | ||
__in WDFOBJECT | Handle, | ||
__in WDFTYPE | Type, | ||
__in WDFOBJECT_OFFSET | Offset | ||
) |
Definition at line 347 of file handleapi.cpp.
Referenced by FxObjectHandleGetPtr(), and FxObjectHandleGetPtrOffset().
FxPointerNotNull | ( | GetFxDriverGlobals(DriverGlobals) | , |
Handle | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
TypeInfo | |||
) |
if | ( | offset ! | = 0 | ) |
Definition at line 552 of file handleapi.cpp.
Definition at line 642 of file handleapi.cpp.
return | ( | WDFOBJECT | ) | -> GetObjectHandle() |
Done __pad0__ |
Definition at line 569 of file handleapi.cpp.
Definition at line 514 of file handleapi.cpp.
Definition at line 516 of file handleapi.cpp.
Definition at line 664 of file handleapi.cpp.
Referenced by KiInitializeContextThread(), WdfObjectContextGetObject(), and WriteMinidump().
else |
Definition at line 645 of file handleapi.cpp.
Definition at line 512 of file handleapi.cpp.
Referenced by FxObjectHandleGetPtrQI(), and if().
return NULL |
Definition at line 653 of file handleapi.cpp.
Referenced by FxContextHeaderInit(), FxGetContextSize(), FxObjectAllocateContext(), FxObjectHandleAlloc(), and FxObjectHandleGetPtrQI().
Definition at line 538 of file handleapi.cpp.
offset = 0 |
Definition at line 539 of file handleapi.cpp.
pFxDriverGlobals = pObject->GetDriverGlobals() |
Definition at line 606 of file handleapi.cpp.
PCHAR pGivenName |
Definition at line 640 of file handleapi.cpp.
Referenced by if(), and VfWdfObjectGetTypedContext().
FxContextHeader * pHeader = pObject->GetContextHeader() |
Definition at line 604 of file handleapi.cpp.
Referenced by FxObject::_CleanupPointer(), FxLookasideList::_Reclaim(), AddPropSheetPageCallback(), FxDevice::AllocateRequestMemory(), cache_container_lock_index(), cache_container_unlock_index(), FxObject::CallCleanupCallbacks(), FxObject::ClearEvtCallbacks(), FxObject::Commit(), CreateOffloadInfo5Internal(), CURSORICON_GetCursorDataFromANI(), RecycleBin5::Delete(), RecycleBin5::DeleteFile(), DeleteUrlCacheEntryA(), for(), FxDevice::FreeRequestMemory(), FxIFRStart(), FxPoolAllocator(), FxPoolFree(), GetDosHeader(), GetPEFileHeader(), GetPEOptionalHeader(), FxLookasideList::InitObjectAlloc(), FxPagedLookasideListFromPool::InitPagedAlloc(), IsUrlCacheEntryExpiredA(), ITypeLib2_Constructor_SLTG(), LoadPropSheetHandlers(), ParaNdis_IndicateReceivedPacket(), FxObject::ProcessDestroy(), FxPagedLookasideListFromPool::ReclaimPool(), RecycleBin5::Restore(), FxRequestFromLookaside::SelfDestruct(), SetUrlCacheEntryInfoA(), UnlockUrlCacheEntryFileA(), urlcache_create_file_pathA(), urlcache_create_file_pathW(), urlcache_entry_delete(), urlcache_enum_hash_tables(), urlcache_find_hash_entry(), urlcache_find_next_entry(), urlcache_get_hash_table(), urlcache_hash_entry_create(), VfAddContextToHandle(), VfAllocateContext(), and VfWdfObjectGetTypedContext().
pObject = FxObject::_GetObjectFromHandle(Handle, &offset) |
Definition at line 605 of file handleapi.cpp.
Referenced by FxObjectAndHandleHeaderInit().
Definition at line 537 of file handleapi.cpp.
Referenced by FxCalculateObjectTotalSize2(), FxObjectAllocateContext(), FxObjectHandleAlloc(), and FxObjectHandleGetPtrQI().
__in WDFOBJECT __in PCWDF_OBJECT_CONTEXT_TYPE_INFO TypeInfo |
Definition at line 583 of file handleapi.cpp.
Referenced by D3DXGetShaderSamplers(), for(), if(), IopParseDevice(), ObpDeallocateObject(), parse_ctab_constant_type(), VfWdfObjectGetTypedContext(), and WdfObjectGetTypedContextWorker().