Index   Commented   Search   About

IMallocSpy::PostRealloc

Called after invoking IMalloc::Realloc.

  • oid * PostRealloc(

void * pActual,
//The pointer returned by IMalloc::Realloc
BOOL fSpyed
//Indicates whether the original allocation was "spyed"
);

Parameters

pActual

Points to the memory block reallocated by IMalloc::Realloc.

fSpyed

If TRUE, the original memory allocation was done while the spy was active.

Return Values

The pointer to be returned to the IMalloc::Realloc caller. If debug information is written at the front of the caller's allocation, it should be a forward offset from pActual. The value should be the same as pActual if debug information is appended or if no debug information is attached.

See Also

IMalloc::Realloc, IMallocSpy::PreRealloc, CoRegisterMallocSpy, CoRevokeMallocSpy

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun