IMallocSpy::PostFree (Compact 2013)
3/26/2014
This method is called just after invoking the IMalloc::Free method.
Syntax
void PostFree(
BOOL fSpyed
);
Parameters
- fSpyed
[in] TRUE if the memory block to be freed was allocated while the current spy was active, otherwise FALSE.
Return Value
None.
Remarks
When a spy object implementing the IMallocSpy interface is registered with the CoRegisterMallocSpy function, 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.
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Requirements
Header |
objidl.h, |
Library |
ole32.lib |
See Also
Reference
IMallocSpy
CoRegisterMallocSpy
CoRevokeMallocSpy
IMalloc::Free
IMallocSpy::PreFree