ulAttribute (ULONG) - input

      File attribute information.

      Possible values are shown in the following list.:

      Bit

        Description
      31-6
        Reserved, must be 0.
      5
        FILE_ARCHIVED (0x00000020)
        File has been archived.
      4
        FILE_DIRECTORY (0x00000010)
        File is a subdirectory.
      3
        Reserved, must be 0.
      2
        FILE_SYSTEM (0x00000004)
        File is a system file.
      1
        FILE_HIDDEN (0x00000002)
        File is hidden and does not appear in a directory listing.
      0
        FILE_READONLY (0x00000001)
        File can be read from, but not written to.
      0
        FILE_NORMAL (0x00000000)
        File can be read from or written to.
      File attributes apply only if the file is created.

      These bits may be set individually or in combination. For example, an attribute value of 0x00000021 (bits 5 and 0 set to 1) indicates a read-only file that has been archived.


    [Back] [Next]