Platform SDK: Files and I/O

File Type

The GetFileType function retrieves the type of a file: disk, character (such as a console), pipe, or unknown. The GetBinaryType function determines whether a file is executable, and if so, what type of executable file it is. The GetFileSize function retrieves the size of a file.