VirtualBox

Changeset 18128 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Mar 23, 2009 9:39:23 AM (16 years ago)
Author:
vboxsync
Message:

IPRT, Shared Folders: Implemented file attributes access flags for RTFileOpen on Windows host (xTracker #3739).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/file.h

    r16997 r18128  
    122122 */
    123123#define RTFILE_O_WRITE_THROUGH      0x00008000
     124
     125/** File attributes access, *CREATE* only.
     126 * @remark  This might not be implemented on all platforms,
     127 *          and will be ignored on those.
     128 */
     129/** Attributes can be read if the file is being opened
     130 * with read access, and can be written with write access.
     131 */
     132#define RTFILE_O_ACCESS_ATTR_DEFAULT 0x00000000
     133/** Attributes can be read. */
     134#define RTFILE_O_ACCESS_ATTR_READ   0x00010000
     135/** Attributes can be written. */
     136#define RTFILE_O_ACCESS_ATTR_WRITE  0x00020000
     137/** Attributes can be both read & written. */
     138#define RTFILE_O_ACCESS_ATTR_READWRITE 0x00030000
     139/** The file attributes access mask. */
     140#define RTFILE_O_ACCESS_ATTR_MASK   0x00030000
     141
    124142/** Unix file mode mask for use when creating files. */
    125143#define RTFILE_O_CREATE_MODE_MASK   0x1ff00000
     
    132150 * @remark  This doesn't validate the access mode properly.
    133151 */
    134 #define RTFILE_O_VALID_MASK          0x1ff0FB73
     152#define RTFILE_O_VALID_MASK          0x1ff3FB73
    135153
    136154/** @} */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette