BASS.NET API for the Un4seen BASS Audio Library

UtilsDMACopyMemory Method

BASS.NET API for the Un4seen BASS Audio Library
DMA (kernel32.dll) - The CopyMemory function copies a block of memory from one location to another.

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

public static void DMACopyMemory(
	IntPtr destination,
	IntPtr source,
	long length
)

Parameters

destination
Type: SystemIntPtr
Pointer to the starting address of the copied block's destination.
source
Type: SystemIntPtr
Pointer to the starting address of the block of memory to copy.
length
Type: SystemInt64
Size of the block of memory to copy, in bytes.
Remarks

If the source and destination blocks overlap, the results are undefined. For overlapped blocks, use the DMAMoveMemory(IntPtr, IntPtr, IntPtr) function.

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