Knowledge Base |

# INFO: Additional Information for WIN32_FIND_DATA

Article ID: 120697

Article Last Modified on 11/21/2006

APPLIES TO

- Microsoft Win32 Application Programming Interface, when used with:
  - Microsoft Windows NT Server 3.5
  - Microsoft Windows NT Server 3.51
  - Microsoft Windows NT Workstation 3.5
  - Microsoft Windows NT Workstation 3.51
  - Microsoft Windows 95

This article was previously published under Q120697
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: kbinfo KB120697