00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 #ifndef _NTIOCTL_H
00027 #define _NTIOCTL_H
00028
00029
00030
00031
00032
00033
00034
00035 #define FSCTL_REQUEST_OPLOCK_LEVEL_1 0x00090000
00036 #define FSCTL_REQUEST_OPLOCK_LEVEL_2 0x00090004
00037 #define FSCTL_REQUEST_BATCH_OPLOCK 0x00090008
00038 #define FSCTL_LOCK_VOLUME 0x00090018
00039 #define FSCTL_UNLOCK_VOLUME 0x0009001C
00040 #define FSCTL_GET_COMPRESSION 0x0009003C
00041 #define FSCTL_SET_COMPRESSION 0x0009C040
00042 #define FSCTL_REQUEST_FILTER_OPLOCK 0x0009008C
00043 #define FSCTL_FIND_FILES_BY_SID 0x0009008F
00044 #define FSCTL_FILESYS_GET_STATISTICS 0x00090090
00045 #define FSCTL_SET_OBJECT_ID 0x00090098
00046 #define FSCTL_GET_OBJECT_ID 0x0009009C
00047 #define FSCTL_SET_REPARSE_POINT 0x000900A4
00048 #define FSCTL_GET_REPARSE_POINT 0x000900A8
00049 #define FSCTL_DELETE_REPARSE_POINT 0x000900AC
00050 #define FSCTL_0x000900C0 0x000900C0
00051 #define FSCTL_SET_SPARSE 0x000900C4
00052 #define FSCTL_SET_ZERO_DATA 0x000900C8
00053 #define FSCTL_SET_ENCRYPTION 0x000900D7
00054 #define FSCTL_ENCRYPTION_FSCTL_IO 0x000900DB
00055 #define FSCTL_WRITE_RAW_ENCRYPTED 0x000900DF
00056 #define FSCTL_READ_RAW_ENCRYPTED 0x000900E3
00057 #define FSCTL_SIS_COPYFILE 0x00090100
00058 #define FSCTL_QUERY_ALLOCATED_RANGES 0x000940CF
00059 #define FSCTL_SIS_LINK_FILES 0x0009C104
00060
00061 #define FSCTL_GET_SHADOW_COPY_DATA 0x00144064
00062
00063 #if 0
00064 #define FSCTL_SECURITY_ID_CHECK
00065 #define FSCTL_DISMOUNT_VOLUME
00066 #define FSCTL_GET_NTFS_FILE_RECORD
00067 #define FSCTL_ALLOW_EXTENDED_DASD_IO
00068 #define FSCTL_RECALL_FILE
00069
00070 #endif
00071
00072 #define IO_REPARSE_TAG_MOUNT_POINT 0xA0000003
00073 #define IO_REPARSE_TAG_HSM 0xC0000004
00074 #define IO_REPARSE_TAG_SIS 0x80000007
00075
00076
00077
00078 typedef char SHADOW_COPY_LABEL[25];
00079
00080 typedef struct shadow_copy_data {
00081 TALLOC_CTX *mem_ctx;
00082
00083 uint32 num_volumes;
00084
00085 SHADOW_COPY_LABEL *labels;
00086 } SHADOW_COPY_DATA;
00087
00088
00089 #endif