|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winbase.h
| Unicode
| No
| Platform Notes
| None
|
|
|
CopyMemory
The CopyMemory function copies a block of memory from one location to another.
VOID CopyMemory (
PVOID Destination,
| // address of copy destination
| CONST VOID *Source,
| // address of block to copy
| DWORD Length
| // size, in bytes, of block to copy
| );
|
|
Parameters
Destination
Points to the starting address of the copied block's destination.
Source
Points to the starting address of the block of memory to copy.
Length
Specifies the size, in bytes, of the block of memory to copy.
Return Values
This function has no return value.
Remarks
If the source and destination blocks overlap, the results are undefined. For
overlapped blocks, use the MoveMemory function.
See Also
FillMemory, MoveMemory, ZeroMemory
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|