Index   Commented   Search   About

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

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
TMS Scripter Studio Pro components for Delphi/C++Builder

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