Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMallocSpy::PostGetSize

Windows CE .NET

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

ULONG PostGetSize(
  ULONG cbActual, 
  BOOL fSpyed 
);

Parameters

cbActual
[in] Actual number of bytes in the allocation, as returned by IMalloc::GetSize.
fSpyed
[in] TRUE if the allocation was done while a spy was active, otherwise FALSE.

Return Values

The same value returned by IMalloc::GetSize, which is the size of the allocated memory block in bytes.

Remarks

The size determined by IMalloc::GetSize is the value returned by the Win32 function HeapSize. Implementers of IMallocSpy::PostGetSize cannot assume that if cbActual is sizeof(debug_header), the value is the actual size of the user's allocation.

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 | HeapSize | IMalloc::GetSize | IMallocSpy::PreGetSize


Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.