Check End-of-file indicator.
Checks whether the End-of-File indicator associated with the handle is set, returning a value different from zero if it is.