Partager via


IMalloc Interface

Definition

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

public interface class IMalloc
public interface class IMalloc
__interface IMalloc
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("00000002-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IMalloc
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("00000002-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IMalloc
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("00000002-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IMalloc = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("00000002-0000-0000-C000-000000000046")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IMalloc = interface
Public Interface IMalloc
Attributes

Methods

Alloc(IntPtr)
Alloc(UInt32)
DidAlloc(IntPtr)
Free(IntPtr)
GetSize(IntPtr)
HeapMinimize()
Realloc(IntPtr, IntPtr)
Realloc(IntPtr, UInt32)

Applies to