VirtualBox

source: vbox/trunk/src/VBox/RDP/client-1.8.4/disk.h@ 77807

Last change on this file since 77807 was 55123, checked in by vboxsync, 9 years ago

rdesktop 1.8.3 modified for VBox

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.0 KB
Line 
1/*
2 rdesktop: A Remote Desktop Protocol client.
3 Disk Redirection definitions
4 Copyright (C) Jeroen Meijer 2003-2008
5 Copyright (C) Peter Astrand 2004-2008
6
7 This program is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
19*/
20
21/*
22 * Oracle GPL Disclaimer: For the avoidance of doubt, except that if any license choice
23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
24 * the General Public License version 2 (GPLv2) at this time for any software where
25 * a choice of GPL license versions is made available with the language indicating
26 * that GPLv2 or any later version may be used, or where a choice of which version
27 * of the GPL is applied is otherwise unspecified.
28 */
29
30#define FILE_ATTRIBUTE_READONLY 0x00000001
31#define FILE_ATTRIBUTE_HIDDEN 0x00000002
32#define FILE_ATTRIBUTE_SYSTEM 0x00000004
33#define FILE_ATTRIBUTE_DIRECTORY 0x00000010
34#define FILE_ATTRIBUTE_ARCHIVE 0x00000020
35#define FILE_ATTRIBUTE_DEVICE 0x00000040
36#define FILE_ATTRIBUTE_UNKNOWNXXX0 0x00000060 /* ??? ACTION i.e. 0x860 == compress this file ? */
37#define FILE_ATTRIBUTE_NORMAL 0x00000080
38#define FILE_ATTRIBUTE_TEMPORARY 0x00000100
39#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
40#define FILE_ATTRIBUTE_REPARSE_POINT 0x00000400
41#define FILE_ATTRIBUTE_COMPRESSED 0x00000800
42#define FILE_ATTRIBUTE_OFFLINE 0x00001000
43#define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 0x00002000
44#define FILE_ATTRIBUTE_ENCRYPTED 0x00004000
45
46#define FILE_FLAG_OPEN_NO_RECALL 0x00100000
47#define FILE_FLAG_OPEN_REPARSE_POINT 0x00200000
48#define FILE_FLAG_POSIX_SEMANTICS 0x01000000
49#define FILE_FLAG_BACKUP_SEMANTICS 0x02000000 /* sometimes used to create a directory */
50#define FILE_FLAG_DELETE_ON_CLOSE 0x04000000
51#define FILE_FLAG_SEQUENTIAL_SCAN 0x08000000
52#define FILE_FLAG_RANDOM_ACCESS 0x10000000
53#define FILE_FLAG_NO_BUFFERING 0x20000000
54#define FILE_FLAG_OVERLAPPED 0x40000000
55#define FILE_FLAG_WRITE_THROUGH 0x80000000
56
57#define FILE_SHARE_READ 0x01
58#define FILE_SHARE_WRITE 0x02
59#define FILE_SHARE_DELETE 0x04
60
61#define FILE_BASIC_INFORMATION 0x04
62#define FILE_STANDARD_INFORMATION 0x05
63
64#define FS_CASE_SENSITIVE 0x00000001
65#define FS_CASE_IS_PRESERVED 0x00000002
66#define FS_UNICODE_STORED_ON_DISK 0x00000004
67#define FS_PERSISTENT_ACLS 0x00000008
68#define FS_FILE_COMPRESSION 0x00000010
69#define FS_VOLUME_QUOTAS 0x00000020
70#define FS_SUPPORTS_SPARSE_FILES 0x00000040
71#define FS_SUPPORTS_REPARSE_POINTS 0x00000080
72#define FS_SUPPORTS_REMOTE_STORAGE 0X00000100
73#define FS_VOL_IS_COMPRESSED 0x00008000
74#define FILE_READ_ONLY_VOLUME 0x00080000
75
76#define OPEN_EXISTING 1
77#define CREATE_NEW 2
78#define OPEN_ALWAYS 3
79#define TRUNCATE_EXISTING 4
80#define CREATE_ALWAYS 5
81
82#define GENERIC_READ 0x80000000
83#define GENERIC_WRITE 0x40000000
84#define GENERIC_EXECUTE 0x20000000
85#define GENERIC_ALL 0x10000000
86
87#define ERROR_FILE_NOT_FOUND 2L
88#define ERROR_ALREADY_EXISTS 183L
89
90#define MAX_OPEN_FILES 0x100
91
92typedef enum _FILE_INFORMATION_CLASS
93{
94 FileDirectoryInformation = 1,
95 FileFullDirectoryInformation,
96 FileBothDirectoryInformation,
97 FileBasicInformation,
98 FileStandardInformation,
99 FileInternalInformation,
100 FileEaInformation,
101 FileAccessInformation,
102 FileNameInformation,
103 FileRenameInformation,
104 FileLinkInformation,
105 FileNamesInformation,
106 FileDispositionInformation,
107 FilePositionInformation,
108 FileFullEaInformation,
109 FileModeInformation,
110 FileAlignmentInformation,
111 FileAllInformation,
112 FileAllocationInformation,
113 FileEndOfFileInformation,
114 FileAlternateNameInformation,
115 FileStreamInformation,
116 FilePipeInformation,
117 FilePipeLocalInformation,
118 FilePipeRemoteInformation,
119 FileMailslotQueryInformation,
120 FileMailslotSetInformation,
121 FileCompressionInformation,
122 FileCopyOnWriteInformation,
123 FileCompletionInformation,
124 FileMoveClusterInformation,
125 FileOleClassIdInformation,
126 FileOleStateBitsInformation,
127 FileNetworkOpenInformation,
128 FileObjectIdInformation,
129 FileOleAllInformation,
130 FileOleDirectoryInformation,
131 FileContentIndexInformation,
132 FileInheritContentIndexInformation,
133 FileOleInformation,
134 FileMaximumInformation
135} FILE_INFORMATION_CLASS, *PFILE_INFORMATION_CLASS;
136
137typedef enum _FSINFOCLASS
138{
139 FileFsVolumeInformation = 1,
140 FileFsLabelInformation,
141 FileFsSizeInformation,
142 FileFsDeviceInformation,
143 FileFsAttributeInformation,
144 FileFsControlInformation,
145 FileFsFullSizeInformation,
146 FileFsObjectIdInformation,
147 FileFsDriverPathInformation,
148 FileFsMaximumInformation
149} FS_INFORMATION_CLASS, *PFS_INFORMATION_CLASS;
Note: See TracBrowser for help on using the repository browser.

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