| Microsoft DirectX 8.1 (Visual Basic) | 
DXCopyMemory( _ 
    Dest As Any, _ 
    Src As Any, _ 
    Size As Long) As Long
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 | 
Err.Number is not set for this function.
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.