Freigeben über


IMallocSpy Interface

Enables monitoring of memory allocation, detection of memory leaks, and simulation of memory failure in calls to IMalloc methods. For more information, see IMallocSpy.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
<GuidAttribute("0000001D-0000-0000-C000-000000000046")> _
<InterfaceTypeAttribute()> _
Public Interface IMallocSpy
[GuidAttribute("0000001D-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface IMallocSpy
[GuidAttribute(L"0000001D-0000-0000-C000-000000000046")]
[InterfaceTypeAttribute()]
public interface class IMallocSpy
[<GuidAttribute("0000001D-0000-0000-C000-000000000046")>]
[<InterfaceTypeAttribute()>]
type IMallocSpy =  interface end
public interface IMallocSpy

The IMallocSpy type exposes the following members.

Methods

  Name Description
Public method PostAlloc
Public method PostDidAlloc
Public method PostFree
Public method PostGetSize
Public method PostHeapMinimize
Public method PostRealloc
Public method PreAlloc
Public method PreDidAlloc
Public method PreFree
Public method PreGetSize
Public method PreHeapMinimize
Public method PreRealloc

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace