IMallocSpy::PostFree method (objidl.h)

Performs operations required after calling IMalloc::Free.

Syntax

void PostFree(
  [in] BOOL fSpyed
);

Parameters

[in] fSpyed

Indicates whether the block of memory to be freed was allocated while the current spy was active.

Return value

None

Remarks

When a spy object implementing IMallocSpy is registered using 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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header objidl.h

See also

IMalloc::Free

IMallocSpy

IMallocSpy::PreFree