IMallocSpy::PreDidAlloc

Called just prior to invoking IMalloc::DidAlloc.

  • oid * PreDidAlloc(

void * pRequest,
//The pointer the caller is passing to IMalloc::DidAlloc
BOOL fSpyed
//Indicates whether pRequest was allocated while this spy was active
);

Parameters

pRequest

The pointer the caller is passing to IMalloc::GetSize.

fSpyed

TRUE if the allocation was done while this spy was active.

Comments

This method is included for completeness; it is not anticipated that developers will implement significant functionality in this method.

Return Value

The pointer whose allocation status is actually determined. This pointer is passed to PostDidAlloc as the fActual parameter.

See Also

IMalloc::DidAlloc, IMallocSpy::PostDidAlloc, CoRegisterMallocSpy, CoRevokeMallocSpy

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database