DioDocs for PDF
AllocateClearedMemory メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX 名前空間 > DXUtil クラス : AllocateClearedMemory メソッド
Size of the buffer to allocate.
Default value used to clear the buffer.
Alignment, 16 bytes by default.
Allocate an aligned memory buffer and clear it with a specified value (0 by default).
シンタックス
'宣言
 
Public Shared Function AllocateClearedMemory( _
   ByVal sizeInBytes As System.Integer, _
   Optional ByVal clearValue As System.Byte, _
   Optional ByVal align As System.Integer _
) As System.IntPtr
public static System.IntPtr AllocateClearedMemory( 
   System.int sizeInBytes,
   System.byte clearValue,
   System.int align
)

パラメータ

sizeInBytes
Size of the buffer to allocate.
clearValue
Default value used to clear the buffer.
align
Alignment, 16 bytes by default.

戻り値の型

A pointer to a buffer aligned.
解説
To free this buffer, call FreeMemory.
参照

DXUtil クラス
DXUtil メンバ