Hey guys, I was looking at some code in a tutorial, and I noticed that it used these functions:
ReadFile(HANDLE, LPVOID, DWORD, LPDWORD, LPOVERLAPPED)
CopyMemory(PVOID, const VOID*, DWORD)
I also noticed that there are these equivalent standard(?) functions:
ifstream::read(char*, int)
memcpy(void*, const void*, size_t)
Can someone tell me what advantages there would be in using the former Windows functions instead of the latter standard functions?