can9999
asked on
the difference of "CopyMemory", "memcpy", "RtlCopyMemory"
As it is..
What are differences of "CopyMemory", "memcpy", "RtlCopyMemory" ?
Which is fastest ?
Which is most stable ?
and so on..
Please , in detail .
Thank you
What are differences of "CopyMemory", "memcpy", "RtlCopyMemory" ?
Which is fastest ?
Which is most stable ?
and so on..
Please , in detail .
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Only 1 difference: CopyMemory -> it is pure Windows
stuff, memcpy -> portable for every c++ compilers.
In fact, CopyMemory realized with help of memcpy!
About RtlCopyMemory: it is simple macro for memcpy
#define RtlCopyMemory(dst, src, len) memcpy(dst, src, len)
See more details in
http://support.microsoft.com/support/kb/articles/Q129/9/47.asp