Microsoft KB Archive/45752

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 18:23, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q45752 to Microsoft KB Archive/45752 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

OS/2 PTK: Fields in the FILESTATUS Structure PSS ID Number: Q45752 Article last modified on 07-24-1989 PSS database name: O_Os2PrTk

1.00 1.10

OS/2

Summary:

In the FILESTATUS structure, the cbFileAlloc field contains the number of bytes allocated to a file on the disk. This number will always be a multiple of the number of bytes per cluster on the disk because the MS-DOS compatible file system allocates files by clusters. On the other hand, the cbFile field contains the actual length of a file in bytes (i.e., the same file length reported by the DIR command).

The fdate/timeCreation and fdate/timeLastAccess fields are currently not used. These fields will always be filled with zeros by any OS/2 API calls when an MS-DOS compatible file structure is used. They are reserved and may be implemented in future versions of OS/2.

Keywords: DosQFileStatus() DosSetFileStatus()

Copyright Microsoft Corporation 1989.