INFO: Additional Information for WIN32_FIND_DATA

ID: Q120697


The information in this article applies to:
  • Microsoft Win32 Application Programming Interface (API), used with:
    • Microsoft Windows NT, versions 3.5, 3.51
    • Microsoft Windows 95

This article contains additional information about the WIN32_FIND_DATA members.

The WIN32_FIND_DATA structure contains three members that store the creation, last access, and last write time of a file. The time format for these three members (ftCreationTime, ftLastAccessTime, and ftLastWriteTime) are expressed in the Universal Time Convention (UTC). These three data members can be converted from UTC time to local time by calling the FileTimeToLocalFileTime api.

The WIN32_FIND_DATA structure contains two members that store the file size: nFileSizeHigh and nFileSizeLow. They are described as being the high and low order words of the size, but they are actually DWORDs. Therefore, nFileSizeHigh will be zero unless the file size is greater than 0xffffffff (4.2 Gig).

SUMMARY

Additional query words: 3.10 3.50 4.00

Keywords :
Version : winnt:3.5,3.51
Platform : winnt
Issue type : kbinfo


Last Reviewed: September 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.