The heap monitor notification interfaces are as follows:
IHeapInfoCallBack notifies a profiler or heap monitoring application when garbage collection has occurred, and to provide a heap dump to the profiler.
IObjectAllocationCallBack notifies a profiler or heap monitoring application when individual objects are created (allocated).