_lread or ReadFile?

Started by
3 comments, last by Mardigin 22 years, 3 months ago
I have heard that ReadFile is better to use the _lread. Why is this? Are there any probmlems that may arrise if I use _lread? What are the advantages or disadvantages?
Advertisement
If I remember correctly, _lread calls ReadFile in the end. The ReadFile WriteFile CreateFile... functions are the native ones.
Well, in the end, all file handling functions call NtReadFile(), NtWriteFile(), and the other executive functions. So it probably doesn''t matter too much, except for a bit of indirection.
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
_lread is to ReadFile as _lseek is to?
_lread is to ReadFile as _lseek is to SetFilePointer

This topic is closed to new replies.

Advertisement