1 /* header auto-generated by pidl */
8 #define DFS_STORAGE_STATES ( 0xf )
9 enum dfs_ManagerVersion
10 #ifndef USE_UINT_ENUMS
12 DFS_MANAGER_VERSION_NT4
=1,
13 DFS_MANAGER_VERSION_W2K
=2,
14 DFS_MANAGER_VERSION_W2K3
=4,
15 DFS_MANAGER_VERSION_W2K8
=6
18 { __donnot_use_enum_dfs_ManagerVersion
=0x7FFFFFFF}
19 #define DFS_MANAGER_VERSION_NT4 ( 1 )
20 #define DFS_MANAGER_VERSION_W2K ( 2 )
21 #define DFS_MANAGER_VERSION_W2K3 ( 4 )
22 #define DFS_MANAGER_VERSION_W2K8 ( 6 )
31 const char *path
;/* [unique,charset(UTF16)] */
34 /* bitmap dfs_VolumeState */
35 #define DFS_VOLUME_STATE_OK ( 0x1 )
36 #define DFS_VOLUME_STATE_INCONSISTENT ( 0x2 )
37 #define DFS_VOLUME_STATE_OFFLINE ( 0x3 )
38 #define DFS_VOLUME_STATE_ONLINE ( 0x4 )
39 #define DFS_VOLUME_STATE_STANDALONE ( DFS_VOLUME_FLAVOR_STANDALONE )
40 #define DFS_VOLUME_STATE_AD_BLOB ( DFS_VOLUME_FLAVOR_AD_BLOB )
43 const char *path
;/* [unique,charset(UTF16)] */
44 const char *comment
;/* [unique,charset(UTF16)] */
49 /* bitmap dfs_StorageState */
50 #define DFS_STORAGE_STATE_OFFLINE ( 1 )
51 #define DFS_STORAGE_STATE_ONLINE ( 2 )
52 #define DFS_STORAGE_STATE_ACTIVE ( 4 )
54 struct dfs_StorageInfo
{
56 const char *server
;/* [unique,charset(UTF16)] */
57 const char *share
;/* [unique,charset(UTF16)] */
61 const char *path
;/* [unique,charset(UTF16)] */
62 const char *comment
;/* [unique,charset(UTF16)] */
65 struct dfs_StorageInfo
*stores
;/* [unique,size_is(num_stores)] */
69 const char *path
;/* [unique,charset(UTF16)] */
70 const char *comment
;/* [unique,charset(UTF16)] */
75 struct dfs_StorageInfo
*stores
;/* [unique,size_is(num_stores)] */
78 /* bitmap dfs_PropertyFlags */
79 #define DFS_PROPERTY_FLAG_INSITE_REFERRALS ( 0x01 )
80 #define DFS_PROPERTY_FLAG_ROOT_SCALABILITY ( 0x02 )
81 #define DFS_PROPERTY_FLAG_SITE_COSTING ( 0x04 )
82 #define DFS_PROPERTY_FLAG_TARGET_FAILBACK ( 0x08 )
83 #define DFS_PROPERTY_FLAG_CLUSTER_ENABLED ( 0x10 )
86 const char *path
;/* [unique,charset(UTF16)] */
87 const char *comment
;/* [unique,charset(UTF16)] */
96 enum dfs_Target_PriorityClass
97 #ifndef USE_UINT_ENUMS
99 DFS_INVALID_PRIORITY_CLASS
=-1,
100 DFS_SITE_COST_NORMAL_PRIORITY_CLASS
=0,
101 DFS_GLOBAL_HIGH_PRIORITY_CLASS
=1,
102 DFS_SITE_COST_HIGH_PRIORITY_CLASS
=2,
103 DFS_SITE_COST_LOW_PRIORITY_CLASS
=3,
104 DFS_GLOBAL_LOW_PRIORITY_CLASS
=4
107 { __donnot_use_enum_dfs_Target_PriorityClass
=0x7FFFFFFF}
108 #define DFS_INVALID_PRIORITY_CLASS ( -1 )
109 #define DFS_SITE_COST_NORMAL_PRIORITY_CLASS ( 0 )
110 #define DFS_GLOBAL_HIGH_PRIORITY_CLASS ( 1 )
111 #define DFS_SITE_COST_HIGH_PRIORITY_CLASS ( 2 )
112 #define DFS_SITE_COST_LOW_PRIORITY_CLASS ( 3 )
113 #define DFS_GLOBAL_LOW_PRIORITY_CLASS ( 4 )
117 struct dfs_Target_Priority
{
118 enum dfs_Target_PriorityClass target_priority_class
;
119 uint16_t target_priority_rank
;
123 struct dfs_StorageInfo2
{
124 struct dfs_StorageInfo info
;
125 struct dfs_Target_Priority target_priority
;
129 const char *entry_path
;/* [unique,charset(UTF16)] */
130 const char *comment
;/* [unique,charset(UTF16)] */
137 struct dfs_StorageInfo2
*stores
;/* [unique,size_is(num_stores)] */
141 struct GUID generation_guid
;
145 const char *comment
;/* [unique,charset(UTF16)] */
161 struct dfs_Target_Priority priority
;
165 const char *comment
;/* [unique,charset(UTF16)] */
168 uint32_t property_flag_mask
;
169 uint32_t property_flags
;
174 struct dfs_Target_Priority priority
;
178 const char *dom_root
;/* [unique,charset(UTF16)] */
181 enum dfs_VolumeFlavor
182 #ifndef USE_UINT_ENUMS
184 DFS_VOLUME_FLAVOR_STANDALONE
=0x100,
185 DFS_VOLUME_FLAVOR_AD_BLOB
=0x200
188 { __donnot_use_enum_dfs_VolumeFlavor
=0x7FFFFFFF}
189 #define DFS_VOLUME_FLAVOR_STANDALONE ( 0x100 )
190 #define DFS_VOLUME_FLAVOR_AD_BLOB ( 0x200 )
195 enum dfs_VolumeFlavor flavor
;
196 const char *dom_root
;/* [unique,charset(UTF16)] */
200 struct dfs_Info0
*info0
;/* [unique,case(0)] */
201 struct dfs_Info1
*info1
;/* [unique,case] */
202 struct dfs_Info2
*info2
;/* [unique,case(2)] */
203 struct dfs_Info3
*info3
;/* [unique,case(3)] */
204 struct dfs_Info4
*info4
;/* [unique,case(4)] */
205 struct dfs_Info5
*info5
;/* [unique,case(5)] */
206 struct dfs_Info6
*info6
;/* [unique,case(6)] */
207 struct dfs_Info7
*info7
;/* [unique,case(7)] */
208 struct dfs_Info100
*info100
;/* [unique,case(100)] */
209 struct dfs_Info101
*info101
;/* [unique,case(101)] */
210 struct dfs_Info102
*info102
;/* [unique,case(102)] */
211 struct dfs_Info103
*info103
;/* [unique,case(103)] */
212 struct dfs_Info104
*info104
;/* [unique,case(104)] */
213 struct dfs_Info105
*info105
;/* [unique,case(105)] */
214 struct dfs_Info106
*info106
;/* [unique,case(106)] */
217 struct dfs_EnumArray1
{
219 struct dfs_Info1
*s
;/* [unique,size_is(count)] */
222 struct dfs_EnumArray2
{
224 struct dfs_Info2
*s
;/* [unique,size_is(count)] */
227 struct dfs_EnumArray3
{
229 struct dfs_Info3
*s
;/* [unique,size_is(count)] */
232 struct dfs_EnumArray4
{
234 struct dfs_Info4
*s
;/* [unique,size_is(count)] */
237 struct dfs_EnumArray5
{
239 struct dfs_Info5
*s
;/* [unique,size_is(count)] */
242 struct dfs_EnumArray6
{
244 struct dfs_Info6
*s
;/* [unique,size_is(count)] */
247 struct dfs_EnumArray200
{
249 struct dfs_Info200
*s
;/* [unique,size_is(count)] */
252 struct dfs_EnumArray300
{
254 struct dfs_Info300
*s
;/* [unique,size_is(count)] */
258 struct dfs_EnumArray1
*info1
;/* [unique,case] */
259 struct dfs_EnumArray2
*info2
;/* [unique,case(2)] */
260 struct dfs_EnumArray3
*info3
;/* [unique,case(3)] */
261 struct dfs_EnumArray4
*info4
;/* [unique,case(4)] */
262 struct dfs_EnumArray5
*info5
;/* [unique,case(5)] */
263 struct dfs_EnumArray6
*info6
;/* [unique,case(6)] */
264 struct dfs_EnumArray200
*info200
;/* [unique,case(200)] */
265 struct dfs_EnumArray300
*info300
;/* [unique,case(300)] */
268 struct dfs_EnumStruct
{
270 union dfs_EnumInfo e
;/* [switch_is(level)] */
273 struct dfs_UnknownStruct
{
275 const char *unknown2
;/* [unique,charset(UTF16)] */
279 struct dfs_GetManagerVersion
{
281 enum dfs_ManagerVersion
*version
;/* [ref] */
289 const char *path
;/* [ref,charset(UTF16)] */
290 const char *server
;/* [ref,charset(UTF16)] */
291 const char *share
;/* [unique,charset(UTF16)] */
292 const char *comment
;/* [unique,charset(UTF16)] */
305 const char *dfs_entry_path
;/* [ref,charset(UTF16)] */
306 const char *servername
;/* [unique,charset(UTF16)] */
307 const char *sharename
;/* [unique,charset(UTF16)] */
319 const char *dfs_entry_path
;/* [charset(UTF16)] */
320 const char *servername
;/* [unique,charset(UTF16)] */
321 const char *sharename
;/* [unique,charset(UTF16)] */
323 union dfs_Info
*info
;/* [ref,switch_is(level)] */
335 const char *dfs_entry_path
;/* [charset(UTF16)] */
336 const char *servername
;/* [unique,charset(UTF16)] */
337 const char *sharename
;/* [unique,charset(UTF16)] */
342 union dfs_Info
*info
;/* [ref,switch_is(level)] */
353 struct dfs_EnumStruct
*info
;/* [unique] */
354 uint32_t *total
;/* [unique] */
358 struct dfs_EnumStruct
*info
;/* [unique] */
359 uint32_t *total
;/* [unique] */
382 struct dfs_ManagerGetConfigInfo
{
390 struct dfs_ManagerSendSiteInfo
{
398 struct dfs_AddFtRoot
{
400 const char *servername
;/* [charset(UTF16)] */
401 const char *dns_servername
;/* [charset(UTF16)] */
402 const char *dfsname
;/* [charset(UTF16)] */
403 const char *rootshare
;/* [charset(UTF16)] */
404 const char *comment
;/* [charset(UTF16)] */
405 const char *dfs_config_dn
;/* [charset(UTF16)] */
408 struct dfs_UnknownStruct
**unknown2
;/* [unique] */
412 struct dfs_UnknownStruct
**unknown2
;/* [unique] */
419 struct dfs_RemoveFtRoot
{
421 const char *servername
;/* [charset(UTF16)] */
422 const char *dns_servername
;/* [charset(UTF16)] */
423 const char *dfsname
;/* [charset(UTF16)] */
424 const char *rootshare
;/* [charset(UTF16)] */
426 struct dfs_UnknownStruct
**unknown
;/* [unique] */
430 struct dfs_UnknownStruct
**unknown
;/* [unique] */
437 struct dfs_AddStdRoot
{
439 const char *servername
;/* [charset(UTF16)] */
440 const char *rootshare
;/* [charset(UTF16)] */
441 const char *comment
;/* [charset(UTF16)] */
452 struct dfs_RemoveStdRoot
{
454 const char *servername
;/* [charset(UTF16)] */
455 const char *rootshare
;/* [charset(UTF16)] */
466 struct dfs_ManagerInitialize
{
468 const char *servername
;/* [ref,charset(UTF16)] */
479 struct dfs_AddStdRootForced
{
481 const char *servername
;/* [charset(UTF16)] */
482 const char *rootshare
;/* [charset(UTF16)] */
483 const char *comment
;/* [charset(UTF16)] */
484 const char *store
;/* [charset(UTF16)] */
494 struct dfs_GetDcAddress
{
496 const char *servername
;/* [charset(UTF16)] */
497 const char **server_fullname
;/* [ref,charset(UTF16)] */
498 uint8_t *is_root
;/* [ref] */
499 uint32_t *ttl
;/* [ref] */
503 const char **server_fullname
;/* [ref,charset(UTF16)] */
504 uint8_t *is_root
;/* [ref] */
505 uint32_t *ttl
;/* [ref] */
512 struct dfs_SetDcAddress
{
514 const char *servername
;/* [charset(UTF16)] */
515 const char *server_fullname
;/* [charset(UTF16)] */
527 struct dfs_FlushFtTable
{
529 const char *servername
;/* [charset(UTF16)] */
530 const char *rootshare
;/* [charset(UTF16)] */
558 const char *dfs_name
;/* [charset(UTF16)] */
561 struct dfs_EnumStruct
*info
;/* [unique] */
562 uint32_t *total
;/* [unique] */
566 struct dfs_EnumStruct
*info
;/* [unique] */
567 uint32_t *total
;/* [unique] */
574 struct dfs_SetInfo2
{
581 #endif /* _HEADER_netdfs */