26 #define PH_OBJECT_TYPE_TABLE_SIZE 256
29 #define PH_OBJECT_FROM_SMALL_FREE_LIST 0x1
31 #define PH_OBJECT_FROM_TYPE_FREE_LIST 0x2
59 PVOID StackBackTrace[16];
60 LIST_ENTRY ObjectListEntry;
94 #define PhObjectToObjectHeader(Object) ((PPH_OBJECT_HEADER)CONTAINING_RECORD((PCHAR)(Object), PH_OBJECT_HEADER, Body))
103 #define PhObjectHeaderToObject(ObjectHeader) ((PVOID)&((PPH_OBJECT_HEADER)(ObjectHeader))->Body)
112 #define PhAddObjectHeaderSize(Size) ((Size) + FIELD_OFFSET(PH_OBJECT_HEADER, Body))
143 _Inout_ PLONG RefCount
153 _In_ PPH_OBJECT_TYPE ObjectType,
154 _In_ SIZE_T ObjectSize
158 _In_ PPH_OBJECT_HEADER ObjectHeader
162 _In_ PPH_OBJECT_HEADER ObjectHeader