CMemFile::Memcpy

BYTE * Memcpy( BYTE* lpMemTarget, BYTE* lpMemSource, UINT nBytes );

Return Value

A copy of lpMemTarget.

Parameters

lpMemTarget

Pointer to the memory block into which the source memory will be copied.

lpMemSource

Pointer to the source memory block.

nBytes

Number of bytes to be copied.

Remarks

This function is called by the CMemFile overrides of CFile::Read and CFile::Write to transfer data to and from the memory file. Override this function if you want to change the way that CMemFile does these memory copies.

CMemFile OverviewClass MembersHierarchy Chart

See Also   CFile::Read, CFile::Write