Retrieving File and Directory Information

Windows CE provides three functions for retrieving data about a given file or directory. The following table describes these functions.

Function
Returns
GetFileAttributes The flag settings for the file attributes, including archive, compression, encryption, and read/write status
GetFileSize The file size
GetFileInformationByHandle The same information as GetFileTime, GetFileAttributes, and GetFileSize, as well as the object identifier of the file