Retrieving File and Directory Information

Windows CE 3.0

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

Function Description
GetFileAttributes Returns the flag settings for the file attributes, including archive, compression, encryption, and read/write status
GetFileSize Returns the file size
GetFileInformationByHandle Returns the same information as the GetFileTime, GetFileAttributes, and GetFileSize functions, as well as other information such as the creation time and location of the file pointer. [COMMENT: does NOT return the file object identifier]