次の方法で共有


Retrieving File and Directory Information (Windows Embedded CE 6.0)

1/6/2010

Windows Embedded CE provides three functions for retrieving data about a file or directory, as shown in the following table.

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, the GetFileAttributes, and the GetFileSize functions, as well as other information, such as the creation time and location of the file pointer. It does not return the file object identifier.

See Also

Concepts

Obtaining and Setting File Information
File System Operations