Called just after invoking IMalloc::Free.
void PostFree(
BOOL fSpyed //Whether the memory block to be freed was allocated
//while the spy is active
);
When a spy object implementing IMallocSpy is registered with CoRegisterMallocSpy, COM calls this method immediately after any call to IMalloc::Free. This method is included for completeness and consistency — it is not anticipated that developers will implement significant functionality in this method. On return, the fSpyed parameter simply indicates whether the memory was freed while the current spy was active.
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in objidl.h.
IMalloc::Free, IMallocSpy::PreFree, CoRegisterMallocSpy, CoRevokeMallocSpy