IMallocSpy::PostGetSize method
Performs operations required after calling IMalloc::GetSize.
Syntax
SIZE_T PostGetSize( [in] SIZE_T cbActual, [in] BOOL fSpyed );
Parameters
- cbActual [in]
-
The number of bytes in the allocation, as returned by GetSize.
- fSpyed [in]
-
Indicates whether the block of memory was allocated while the current spy was active.
Return value
The value returned by IMalloc::GetSize, which is the size of the allocated block of memory, in bytes.
Remarks
The size determined by GetSize is the value returned by the HeapSize function. This is the size originally requested. For example, a memory allocation request of 27 bytes returns an allocation of 32 bytes and GetSize returns 27.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IMallocSpy is defined as 0000001d-0000-0000-C000-000000000046 |
See also