Process Hacker
_PH_AUTO_POOL Struct Reference

An auto-dereference pool can be used for semi-automatic reference counting. More...

#include <ref.h>

Data Fields

ULONG StaticCount
 
PVOID StaticObjects [PH_AUTO_POOL_STATIC_SIZE]
 
ULONG DynamicCount
 
ULONG DynamicAllocated
 
PVOID * DynamicObjects
 
struct _PH_AUTO_POOLNextPool
 

Detailed Description

An auto-dereference pool can be used for semi-automatic reference counting.

Batches of objects are dereferenced at a certain time.

This object is not thread-safe and cannot be used across thread boundaries. Always store them as local variables.

Definition at line 266 of file ref.h.

Field Documentation

ULONG DynamicAllocated

Definition at line 272 of file ref.h.

ULONG DynamicCount

Definition at line 271 of file ref.h.

PVOID* DynamicObjects

Definition at line 273 of file ref.h.

struct _PH_AUTO_POOL* NextPool

Definition at line 275 of file ref.h.

ULONG StaticCount

Definition at line 268 of file ref.h.

PVOID StaticObjects[PH_AUTO_POOL_STATIC_SIZE]

Definition at line 269 of file ref.h.


The documentation for this struct was generated from the following file: