BASS.NET API for the Un4seen BASS Audio Library

UtilsDMAFillMemory Method

BASS.NET API for the Un4seen BASS Audio Library
DMA (kernel32.dll) - The FillMemory macro fills a block of memory with a specified value.

Namespace:  Un4seen.Bass
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public static void DMAFillMemory(
	IntPtr destination,
	long length,
	byte fill
)

Parameters

destination
Type: SystemIntPtr
Pointer to the starting address of the block of memory to fill.
length
Type: SystemInt64
Size of the block of memory to fill, in bytes. This value must be less than the size of the Destination buffer.
fill
Type: SystemByte
Byte value with which to fill the memory block.
Remarks

CAUTION: This method makes a direct call to the windows kernel.dll - you can crash everything when using it in a wrong way!

See Also

Reference