Share via


IMalloc Interface

Allocates, frees, and manages memory. In general, use an existing implementation such as that provided by the CoGetMalloc function. For more information, see IMalloc.

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

Syntax

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

The IMalloc type exposes the following members.

Methods

  Name Description
Public method Alloc
Public method DidAlloc
Public method Free
Public method GetSize
Public method HeapMinimize
Public method Realloc

Top

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace