Results of GetFileInformationByHandle() Under Win32s

Last reviewed: January 6, 1997
Article ID: Q123813
The information in this article applies to:
  • Microsoft Win32s versions 1.30, 1.30a, 1.30c

The GetFileInformationByHandle() function returns information about the given file in a structure of type BY_HANDLE_FILE_INFORMATION.

The following are the BY_HANDLE_FILE_INFORMATION structure fields and the values they contain under Win32s:

   dwFileAttributes - Always 0 in version 1.2 (A bug that has been fixed.)
   ftCreationTime - Always 0. (An MS-DOS file system limitation.)
   ftLastAccessTime  - Always 0. (An MS-DOS file system limitation.)
   ftLastWriteTime - Correct value.
   dwVolumeSerialNumber - Always 0. (A Win32s limitation.)
   nFileSizeHigh - Correct value.
   nFileSizeLow - Correct value.
   nNumberOfLinks - Always 1.
   nFileIndexHigh - Always 0. (A Win32s limitation.)
   nFileIndexLow - Always 0. (A Win32s limitation.)


KBCategory: kbprg
KBSubcategory: W32s
Additional reference words: 1.30 1.30a 1.30c docerror docbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 6, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.