1 | /*
|
---|
2 | Unix SMB/CIFS implementation.
|
---|
3 | NT ioctl code constants
|
---|
4 | Copyright (C) Andrew Tridgell 2002
|
---|
5 |
|
---|
6 | This program is free software; you can redistribute it and/or modify
|
---|
7 | it under the terms of the GNU General Public License as published by
|
---|
8 | the Free Software Foundation; either version 3 of the License, or
|
---|
9 | (at your option) any later version.
|
---|
10 |
|
---|
11 | This program is distributed in the hope that it will be useful,
|
---|
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | GNU General Public License for more details.
|
---|
15 |
|
---|
16 | You should have received a copy of the GNU General Public License
|
---|
17 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
18 | */
|
---|
19 |
|
---|
20 | #ifndef _NTIOCTL_H
|
---|
21 | #define _NTIOCTL_H
|
---|
22 |
|
---|
23 | #define IO_REPARSE_TAG_SYMLINK 0xA000000C
|
---|
24 | #define SYMLINK_FLAG_RELATIVE 0x00000001
|
---|
25 |
|
---|
26 | #define IO_REPARSE_TAG_MOUNT_POINT 0xA0000003
|
---|
27 | #define IO_REPARSE_TAG_HSM 0xC0000004
|
---|
28 | #define IO_REPARSE_TAG_SIS 0x80000007
|
---|
29 | #define IO_REPARSE_TAG_DFS 0x8000000A
|
---|
30 |
|
---|
31 |
|
---|
32 | /* For FSCTL_GET_SHADOW_COPY_DATA ...*/
|
---|
33 | typedef char SHADOW_COPY_LABEL[25];
|
---|
34 |
|
---|
35 | struct shadow_copy_data {
|
---|
36 | /* Total number of shadow volumes currently mounted */
|
---|
37 | uint32_t num_volumes;
|
---|
38 | /* Concatenated list of labels */
|
---|
39 | SHADOW_COPY_LABEL *labels;
|
---|
40 | };
|
---|
41 |
|
---|
42 |
|
---|
43 | #endif /* _NTIOCTL_H */
|
---|