25 #include "IPMUnknown.h" 27 #ifndef __IMemoryManager__ 28 #define __IMemoryManager__ 33 typedef void (*MemoryNotificationFunction)(int32 level,
void *refPtr);
45 typedef void (*NewMemoryNotificationFunction)(int32 level,
void *refPtr, bool16 bInGrowZone);
49 typedef void (*AdviseMemoryStateNotificationFunction)(int32 state,
void *refPtr);
57 enum { kDefaultIID = IID_IMEMORYMANAGER };
59 virtual void Init() = 0;
117 virtual bool16
CheckMemory(bool16 showAlerts = kFalse) = 0;
202 #endif // __IMemoryManager__