Changeset 23973 in vbox for trunk/include
- Timestamp:
- Oct 22, 2009 12:34:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/file.h
r23047 r23973 87 87 /* 0x00000008 is unused atm. */ 88 88 89 /** Sharing mode: deny none (the default mode). */90 #define RTFILE_O_DENY_NONE 0x000000 0089 /** Sharing mode: deny none. */ 90 #define RTFILE_O_DENY_NONE 0x00000080 91 91 /** Sharing mode: deny read. */ 92 92 #define RTFILE_O_DENY_READ 0x00000010 … … 103 103 #define RTFILE_O_DENY_NOT_DELETE 0x00000040 104 104 /** Sharing mode mask. */ 105 #define RTFILE_O_DENY_MASK 0x000000 70105 #define RTFILE_O_DENY_MASK 0x000000f0 106 106 107 107 /** Action: Open an existing file (the default action). */ 108 #define RTFILE_O_OPEN 0x00000 000108 #define RTFILE_O_OPEN 0x00000700 109 109 /** Action: Create a new file or open an existing one. */ 110 110 #define RTFILE_O_OPEN_CREATE 0x00000100 … … 114 114 #define RTFILE_O_CREATE_REPLACE 0x00000300 115 115 /** Action mask. */ 116 #define RTFILE_O_ACTION_MASK 0x00000300 117 118 /*0x00000400 119 and 0x00000800 are unused atm. */ 116 #define RTFILE_O_ACTION_MASK 0x00000700 117 120 118 /** Turns off indexing of files on Windows hosts, *CREATE* only. 121 119 * @remarks Window only. */ … … 201 199 * @remark This doesn't validate the access mode properly. 202 200 */ 203 #define RTFILE_O_VALID_MASK 0x1ffFF B77201 #define RTFILE_O_VALID_MASK 0x1ffFFFF7 204 202 205 203 /** @} */ … … 224 222 * @param pszFilename Path to the file which is to be opened. (UTF-8) 225 223 * @param fOpen Open flags, i.e a combination of the RTFILE_O_* defines. 226 */ 227 RTR3DECL(int) RTFileOpen(PRTFILE pFile, const char *pszFilename, unsigned fOpen); 224 * The ACCESS, ACTION and DENY flags are mandatory! 225 */ 226 RTR3DECL(int) RTFileOpen(PRTFILE pFile, const char *pszFilename, uint32_t fOpen); 228 227 229 228 /**
Note:
See TracChangeset
for help on using the changeset viewer.