Interface IMalloc
C# representation of the IMalloc interface.
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public interface IMalloc
Methods
Alloc(Int32)
Allocates the specified cb.
Declaration
IntPtr Alloc(int cb)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | cb | The cb int type. |
Returns
Type | Description |
---|---|
System.IntPtr | int value type |
DidAlloc(IntPtr)
Dids the alloc.
Declaration
int DidAlloc(IntPtr pv)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | pv | The pv IntPtr. |
Returns
Type | Description |
---|---|
System.Int32 | int value type |
Free(IntPtr)
Frees the specified pv.
Declaration
void Free(IntPtr pv)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | pv | The pv IntPtr. |
GetSize(IntPtr)
Gets the size.
Declaration
int GetSize(IntPtr pv)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | pv | The pv IntPtr. |
Returns
Type | Description |
---|---|
System.Int32 | int value type |
HeapMinimize()
Heaps the minimize.
Declaration
void HeapMinimize()
Realloc(IntPtr, Int32)
Reallocates the specified pv.
Declaration
IntPtr Realloc(IntPtr pv, int cb)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | pv | The pv IntPtr. |
System.Int32 | cb | The cb IntPtr. |
Returns
Type | Description |
---|---|
System.IntPtr | IntPtr type |