Compartir a través de


IMallocSpy::PostFree (Windows CE 5.0)

Send Feedback

This method is called just after invoking the IMalloc::Free method.

void PostFree(BOOLfSpyed);

Parameters

  • fSpyed
    [in] TRUE if the memory block to be freed was allocated while the current spy was active, otherwise FALSE.

Return Values

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

OS Versions: Windows CE 3.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib

See Also

CoRegisterMallocSpy | CoRevokeMallocSpy | IMallocSpy | IMalloc::Free | IMallocSpy::PreFree

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.