32 #define PH_OBJECT_SMALL_OBJECT_SIZE 48
33 #define PH_OBJECT_SMALL_OBJECT_COUNT 512
36 #define PH_OBJECT_TYPE_USE_FREE_LIST 0x00000001
37 #define PH_OBJECT_TYPE_VALID_FLAGS 0x00000001
60 typedef VOID (NTAPI *PPH_CREATE_OBJECT_HOOK)(
64 _In_ PPH_OBJECT_TYPE ObjectType
68 #ifndef _PH_REF_PRIVATE
73 extern LIST_ENTRY PhDbgObjectListHead;
75 extern PPH_CREATE_OBJECT_HOOK PhDbgCreateObjectHook;
103 _In_ SIZE_T ObjectSize,
104 _In_ PPH_OBJECT_TYPE ObjectType
151 _In_ BOOLEAN DeferDelete
177 _In_opt_ PPH_OBJECT_TYPE_PARAMETERS Parameters
184 _In_ PPH_OBJECT_TYPE ObjectType,
185 _Out_ PPH_OBJECT_TYPE_INFORMATION Information
200 _Inout_ PVOID *ObjectReference,
201 _In_opt_ PVOID NewObject
206 oldObject = *ObjectReference;
207 *ObjectReference = NewObject;
216 _Inout_ PVOID *ObjectReference,
222 oldObject = *ObjectReference;
223 *ObjectReference = NewObject;
231 _Out_ PVOID *ObjectReference,
232 _In_opt_ PVOID NewObject
235 *ObjectReference = NewObject;
243 _Inout_ PVOID *ObjectReference
252 #define PH_AUTO_POOL_STATIC_SIZE 64
255 #define PH_AUTO_POOL_DYNAMIC_BIG_SIZE 256
282 _Out_ PPH_AUTO_POOL AutoPool
290 _Inout_ PPH_AUTO_POOL AutoPool
297 _In_ PPH_AUTO_POOL AutoPool
305 _In_opt_ PVOID Object