Microsoft DirectX 8.1 (Visual Basic)

DXCopyMemory

DXCopyMemory( _ 
    Dest As Any, _ 
    Src As Any, _ 
    Size As Long) As Long

Parameters

Dest
The memory into which to copy data. See Remarks.
Src
The memory from which to copy data. See Remarks
Size
Size, in bytes, of the data to copy.

Return Values

If the function succeeds, the return value is D3D_OK.

If the function fails, the return value can be one of the following.

D3DERR_INVALIDCALL
E_INVALIDARG

Error Codes

Err.Number is not set for this function.

Remarks

Both Dest and Src may be any of the following: a type, the first element of an array, a pointer returned by D3DXBuffer.GetBufferPointer, or a pointer returned from either Direct3DIndexBuffer8.Lock or Direct3DVertexBuffer8.Lock.