IMallocSpy::PostFree method

Performs operations required after calling IMalloc::Free.

Syntax


void PostFree(
  [in] BOOL fSpyed
);

Parameters

fSpyed [in]

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

Return value

This method does not return a value.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IMallocSpy is defined as 0000001d-0000-0000-C000-000000000046

See also

IMalloc::Free
IMallocSpy
IMallocSpy::PreFree

 

 

Show: