ComponentOne Bitmap for WPF
AllocateMemory Method

C1.WPF.DX.4 Assembly > C1.Util.DX Namespace > DXUtil Class : AllocateMemory Method
Size of the buffer to allocate.
Alignment, 16 bytes by default.
Allocate an aligned memory buffer.
Syntax
'Declaration
 
Public Shared Function AllocateMemory( _
   ByVal sizeInBytes As System.Integer, _
   Optional ByVal align As System.Integer _
) As System.IntPtr
public static System.IntPtr AllocateMemory( 
   System.int sizeInBytes,
   System.int align
)

Parameters

sizeInBytes
Size of the buffer to allocate.
align
Alignment, 16 bytes by default.

Return Value

A pointer to a buffer aligned.
Remarks
To free this buffer, call FreeMemory.
See Also

Reference

DXUtil Class
DXUtil Members