| 1 | /* header auto-generated by pidl */
|
|---|
| 2 |
|
|---|
| 3 | #include <stdint.h>
|
|---|
| 4 |
|
|---|
| 5 | #ifndef _HEADER_netdfs
|
|---|
| 6 | #define _HEADER_netdfs
|
|---|
| 7 |
|
|---|
| 8 | #define DFS_STORAGE_STATES ( 0xf )
|
|---|
| 9 | enum dfs_ManagerVersion
|
|---|
| 10 | #ifndef USE_UINT_ENUMS
|
|---|
| 11 | {
|
|---|
| 12 | DFS_MANAGER_VERSION_NT4=1,
|
|---|
| 13 | DFS_MANAGER_VERSION_W2K=2,
|
|---|
| 14 | DFS_MANAGER_VERSION_W2K3=4
|
|---|
| 15 | }
|
|---|
| 16 | #else
|
|---|
| 17 | { __donnot_use_enum_dfs_ManagerVersion=0x7FFFFFFF}
|
|---|
| 18 | #define DFS_MANAGER_VERSION_NT4 ( 1 )
|
|---|
| 19 | #define DFS_MANAGER_VERSION_W2K ( 2 )
|
|---|
| 20 | #define DFS_MANAGER_VERSION_W2K3 ( 4 )
|
|---|
| 21 | #endif
|
|---|
| 22 | ;
|
|---|
| 23 |
|
|---|
| 24 | struct dfs_Info0 {
|
|---|
| 25 | char _empty_;
|
|---|
| 26 | };
|
|---|
| 27 |
|
|---|
| 28 | struct dfs_Info1 {
|
|---|
| 29 | const char *path;/* [unique,charset(UTF16)] */
|
|---|
| 30 | };
|
|---|
| 31 |
|
|---|
| 32 | /* bitmap dfs_VolumeState */
|
|---|
| 33 | #define DFS_VOLUME_STATE_OK ( 0x1 )
|
|---|
| 34 | #define DFS_VOLUME_STATE_INCONSISTENT ( 0x2 )
|
|---|
| 35 | #define DFS_VOLUME_STATE_OFFLINE ( 0x3 )
|
|---|
| 36 | #define DFS_VOLUME_STATE_ONLINE ( 0x4 )
|
|---|
| 37 | #define DFS_VOLUME_STATE_STANDALONE ( DFS_VOLUME_FLAVOR_STANDALONE )
|
|---|
| 38 | #define DFS_VOLUME_STATE_AD_BLOB ( DFS_VOLUME_FLAVOR_AD_BLOB )
|
|---|
| 39 |
|
|---|
| 40 | struct dfs_Info2 {
|
|---|
| 41 | const char *path;/* [unique,charset(UTF16)] */
|
|---|
| 42 | const char *comment;/* [unique,charset(UTF16)] */
|
|---|
| 43 | uint32_t state;
|
|---|
| 44 | uint32_t num_stores;
|
|---|
| 45 | };
|
|---|
| 46 |
|
|---|
| 47 | /* bitmap dfs_StorageState */
|
|---|
| 48 | #define DFS_STORAGE_STATE_OFFLINE ( 1 )
|
|---|
| 49 | #define DFS_STORAGE_STATE_ONLINE ( 2 )
|
|---|
| 50 | #define DFS_STORAGE_STATE_ACTIVE ( 4 )
|
|---|
| 51 |
|
|---|
| 52 | struct dfs_StorageInfo {
|
|---|
| 53 | uint32_t state;
|
|---|
| 54 | const char *server;/* [unique,charset(UTF16)] */
|
|---|
| 55 | const char *share;/* [unique,charset(UTF16)] */
|
|---|
| 56 | };
|
|---|
| 57 |
|
|---|
| 58 | struct dfs_Info3 {
|
|---|
| 59 | const char *path;/* [unique,charset(UTF16)] */
|
|---|
| 60 | const char *comment;/* [unique,charset(UTF16)] */
|
|---|
| 61 | uint32_t state;
|
|---|
| 62 | uint32_t num_stores;
|
|---|
| 63 | struct dfs_StorageInfo *stores;/* [unique,size_is(num_stores)] */
|
|---|
| 64 | };
|
|---|
| 65 |
|
|---|
| 66 | struct dfs_Info4 {
|
|---|
| 67 | const char *path;/* [unique,charset(UTF16)] */
|
|---|
| 68 | const char *comment;/* [unique,charset(UTF16)] */
|
|---|
| 69 | uint32_t state;
|
|---|
| 70 | uint32_t timeout;
|
|---|
| 71 | struct GUID guid;
|
|---|
| 72 | uint32_t num_stores;
|
|---|
| 73 | struct dfs_StorageInfo *stores;/* [unique,size_is(num_stores)] */
|
|---|
| 74 | };
|
|---|
| 75 |
|
|---|
| 76 | /* bitmap dfs_PropertyFlags */
|
|---|
| 77 | #define DFS_PROPERTY_FLAG_INSITE_REFERRALS ( 0x01 )
|
|---|
| 78 | #define DFS_PROPERTY_FLAG_ROOT_SCALABILITY ( 0x02 )
|
|---|
| 79 | #define DFS_PROPERTY_FLAG_SITE_COSTING ( 0x04 )
|
|---|
| 80 | #define DFS_PROPERTY_FLAG_TARGET_FAILBACK ( 0x08 )
|
|---|
| 81 | #define DFS_PROPERTY_FLAG_CLUSTER_ENABLED ( 0x10 )
|
|---|
| 82 |
|
|---|
| 83 | struct dfs_Info5 {
|
|---|
| 84 | const char *path;/* [unique,charset(UTF16)] */
|
|---|
| 85 | const char *comment;/* [unique,charset(UTF16)] */
|
|---|
| 86 | uint32_t state;
|
|---|
| 87 | uint32_t timeout;
|
|---|
| 88 | struct GUID guid;
|
|---|
| 89 | uint32_t flags;
|
|---|
| 90 | uint32_t pktsize;
|
|---|
| 91 | uint32_t num_stores;
|
|---|
| 92 | };
|
|---|
| 93 |
|
|---|
| 94 | enum dfs_Target_PriorityClass
|
|---|
| 95 | #ifndef USE_UINT_ENUMS
|
|---|
| 96 | {
|
|---|
| 97 | DFS_INVALID_PRIORITY_CLASS=-1,
|
|---|
| 98 | DFS_SITE_COST_NORMAL_PRIORITY_CLASS=0,
|
|---|
| 99 | DFS_GLOBAL_HIGH_PRIORITY_CLASS=1,
|
|---|
| 100 | DFS_SITE_COST_HIGH_PRIORITY_CLASS=2,
|
|---|
| 101 | DFS_SITE_COST_LOW_PRIORITY_CLASS=3,
|
|---|
| 102 | DFS_GLOBAL_LOW_PRIORITY_CLASS=4
|
|---|
| 103 | }
|
|---|
| 104 | #else
|
|---|
| 105 | { __donnot_use_enum_dfs_Target_PriorityClass=0x7FFFFFFF}
|
|---|
| 106 | #define DFS_INVALID_PRIORITY_CLASS ( -1 )
|
|---|
| 107 | #define DFS_SITE_COST_NORMAL_PRIORITY_CLASS ( 0 )
|
|---|
| 108 | #define DFS_GLOBAL_HIGH_PRIORITY_CLASS ( 1 )
|
|---|
| 109 | #define DFS_SITE_COST_HIGH_PRIORITY_CLASS ( 2 )
|
|---|
| 110 | #define DFS_SITE_COST_LOW_PRIORITY_CLASS ( 3 )
|
|---|
| 111 | #define DFS_GLOBAL_LOW_PRIORITY_CLASS ( 4 )
|
|---|
| 112 | #endif
|
|---|
| 113 | ;
|
|---|
| 114 |
|
|---|
| 115 | struct dfs_Target_Priority {
|
|---|
| 116 | enum dfs_Target_PriorityClass target_priority_class;
|
|---|
| 117 | uint16_t target_priority_rank;
|
|---|
| 118 | uint16_t reserved;
|
|---|
| 119 | };
|
|---|
| 120 |
|
|---|
| 121 | struct dfs_StorageInfo2 {
|
|---|
| 122 | struct dfs_StorageInfo info;
|
|---|
| 123 | struct dfs_Target_Priority target_priority;
|
|---|
| 124 | };
|
|---|
| 125 |
|
|---|
| 126 | struct dfs_Info6 {
|
|---|
| 127 | const char *entry_path;/* [unique,charset(UTF16)] */
|
|---|
| 128 | const char *comment;/* [unique,charset(UTF16)] */
|
|---|
| 129 | uint32_t state;
|
|---|
| 130 | uint32_t timeout;
|
|---|
| 131 | struct GUID guid;
|
|---|
| 132 | uint32_t flags;
|
|---|
| 133 | uint32_t pktsize;
|
|---|
| 134 | uint16_t num_stores;
|
|---|
| 135 | struct dfs_StorageInfo2 *stores;/* [unique,size_is(num_stores)] */
|
|---|
| 136 | };
|
|---|
| 137 |
|
|---|
| 138 | struct dfs_Info7 {
|
|---|
| 139 | struct GUID generation_guid;
|
|---|
| 140 | };
|
|---|
| 141 |
|
|---|
| 142 | struct dfs_Info100 {
|
|---|
| 143 | const char *comment;/* [unique,charset(UTF16)] */
|
|---|
| 144 | };
|
|---|
| 145 |
|
|---|
| 146 | struct dfs_Info101 {
|
|---|
| 147 | uint32_t state;
|
|---|
| 148 | };
|
|---|
| 149 |
|
|---|
| 150 | struct dfs_Info102 {
|
|---|
| 151 | uint32_t timeout;
|
|---|
| 152 | };
|
|---|
| 153 |
|
|---|
| 154 | struct dfs_Info103 {
|
|---|
| 155 | uint32_t flags;
|
|---|
| 156 | };
|
|---|
| 157 |
|
|---|
| 158 | struct dfs_Info104 {
|
|---|
| 159 | struct dfs_Target_Priority priority;
|
|---|
| 160 | };
|
|---|
| 161 |
|
|---|
| 162 | struct dfs_Info105 {
|
|---|
| 163 | const char *comment;/* [unique,charset(UTF16)] */
|
|---|
| 164 | uint32_t state;
|
|---|
| 165 | uint32_t timeout;
|
|---|
| 166 | uint32_t property_flag_mask;
|
|---|
| 167 | uint32_t property_flags;
|
|---|
| 168 | };
|
|---|
| 169 |
|
|---|
| 170 | struct dfs_Info106 {
|
|---|
| 171 | uint32_t state;
|
|---|
| 172 | struct dfs_Target_Priority priority;
|
|---|
| 173 | };
|
|---|
| 174 |
|
|---|
| 175 | struct dfs_Info200 {
|
|---|
| 176 | const char *dom_root;/* [unique,charset(UTF16)] */
|
|---|
| 177 | };
|
|---|
| 178 |
|
|---|
| 179 | enum dfs_VolumeFlavor
|
|---|
| 180 | #ifndef USE_UINT_ENUMS
|
|---|
| 181 | {
|
|---|
| 182 | DFS_VOLUME_FLAVOR_STANDALONE=0x100,
|
|---|
| 183 | DFS_VOLUME_FLAVOR_AD_BLOB=0x200
|
|---|
| 184 | }
|
|---|
| 185 | #else
|
|---|
| 186 | { __donnot_use_enum_dfs_VolumeFlavor=0x7FFFFFFF}
|
|---|
| 187 | #define DFS_VOLUME_FLAVOR_STANDALONE ( 0x100 )
|
|---|
| 188 | #define DFS_VOLUME_FLAVOR_AD_BLOB ( 0x200 )
|
|---|
| 189 | #endif
|
|---|
| 190 | ;
|
|---|
| 191 |
|
|---|
| 192 | struct dfs_Info300 {
|
|---|
| 193 | enum dfs_VolumeFlavor flavor;
|
|---|
| 194 | const char *dom_root;/* [unique,charset(UTF16)] */
|
|---|
| 195 | };
|
|---|
| 196 |
|
|---|
| 197 | union dfs_Info {
|
|---|
| 198 | struct dfs_Info0 *info0;/* [unique,case(0)] */
|
|---|
| 199 | struct dfs_Info1 *info1;/* [unique,case] */
|
|---|
| 200 | struct dfs_Info2 *info2;/* [unique,case(2)] */
|
|---|
| 201 | struct dfs_Info3 *info3;/* [unique,case(3)] */
|
|---|
| 202 | struct dfs_Info4 *info4;/* [unique,case(4)] */
|
|---|
| 203 | struct dfs_Info5 *info5;/* [unique,case(5)] */
|
|---|
| 204 | struct dfs_Info6 *info6;/* [unique,case(6)] */
|
|---|
| 205 | struct dfs_Info7 *info7;/* [unique,case(7)] */
|
|---|
| 206 | struct dfs_Info100 *info100;/* [unique,case(100)] */
|
|---|
| 207 | struct dfs_Info101 *info101;/* [unique,case(101)] */
|
|---|
| 208 | struct dfs_Info102 *info102;/* [unique,case(102)] */
|
|---|
| 209 | struct dfs_Info103 *info103;/* [unique,case(103)] */
|
|---|
| 210 | struct dfs_Info104 *info104;/* [unique,case(104)] */
|
|---|
| 211 | struct dfs_Info105 *info105;/* [unique,case(105)] */
|
|---|
| 212 | struct dfs_Info106 *info106;/* [unique,case(106)] */
|
|---|
| 213 | };
|
|---|
| 214 |
|
|---|
| 215 | struct dfs_EnumArray1 {
|
|---|
| 216 | uint32_t count;
|
|---|
| 217 | struct dfs_Info1 *s;/* [unique,size_is(count)] */
|
|---|
| 218 | };
|
|---|
| 219 |
|
|---|
| 220 | struct dfs_EnumArray2 {
|
|---|
| 221 | uint32_t count;
|
|---|
| 222 | struct dfs_Info2 *s;/* [unique,size_is(count)] */
|
|---|
| 223 | };
|
|---|
| 224 |
|
|---|
| 225 | struct dfs_EnumArray3 {
|
|---|
| 226 | uint32_t count;
|
|---|
| 227 | struct dfs_Info3 *s;/* [unique,size_is(count)] */
|
|---|
| 228 | };
|
|---|
| 229 |
|
|---|
| 230 | struct dfs_EnumArray4 {
|
|---|
| 231 | uint32_t count;
|
|---|
| 232 | struct dfs_Info4 *s;/* [unique,size_is(count)] */
|
|---|
| 233 | };
|
|---|
| 234 |
|
|---|
| 235 | struct dfs_EnumArray5 {
|
|---|
| 236 | uint32_t count;
|
|---|
| 237 | struct dfs_Info5 *s;/* [unique,size_is(count)] */
|
|---|
| 238 | };
|
|---|
| 239 |
|
|---|
| 240 | struct dfs_EnumArray6 {
|
|---|
| 241 | uint32_t count;
|
|---|
| 242 | struct dfs_Info6 *s;/* [unique,size_is(count)] */
|
|---|
| 243 | };
|
|---|
| 244 |
|
|---|
| 245 | struct dfs_EnumArray200 {
|
|---|
| 246 | uint32_t count;
|
|---|
| 247 | struct dfs_Info200 *s;/* [unique,size_is(count)] */
|
|---|
| 248 | };
|
|---|
| 249 |
|
|---|
| 250 | struct dfs_EnumArray300 {
|
|---|
| 251 | uint32_t count;
|
|---|
| 252 | struct dfs_Info300 *s;/* [unique,size_is(count)] */
|
|---|
| 253 | };
|
|---|
| 254 |
|
|---|
| 255 | union dfs_EnumInfo {
|
|---|
| 256 | struct dfs_EnumArray1 *info1;/* [unique,case] */
|
|---|
| 257 | struct dfs_EnumArray2 *info2;/* [unique,case(2)] */
|
|---|
| 258 | struct dfs_EnumArray3 *info3;/* [unique,case(3)] */
|
|---|
| 259 | struct dfs_EnumArray4 *info4;/* [unique,case(4)] */
|
|---|
| 260 | struct dfs_EnumArray5 *info5;/* [unique,case(5)] */
|
|---|
| 261 | struct dfs_EnumArray6 *info6;/* [unique,case(6)] */
|
|---|
| 262 | struct dfs_EnumArray200 *info200;/* [unique,case(200)] */
|
|---|
| 263 | struct dfs_EnumArray300 *info300;/* [unique,case(300)] */
|
|---|
| 264 | };
|
|---|
| 265 |
|
|---|
| 266 | struct dfs_EnumStruct {
|
|---|
| 267 | uint32_t level;
|
|---|
| 268 | union dfs_EnumInfo e;/* [switch_is(level)] */
|
|---|
| 269 | };
|
|---|
| 270 |
|
|---|
| 271 | struct dfs_UnknownStruct {
|
|---|
| 272 | uint32_t unknown1;
|
|---|
| 273 | const char *unknown2;/* [unique,charset(UTF16)] */
|
|---|
| 274 | };
|
|---|
| 275 |
|
|---|
| 276 |
|
|---|
| 277 | struct dfs_GetManagerVersion {
|
|---|
| 278 | struct {
|
|---|
| 279 | enum dfs_ManagerVersion *version;/* [ref] */
|
|---|
| 280 | } out;
|
|---|
| 281 |
|
|---|
| 282 | };
|
|---|
| 283 |
|
|---|
| 284 |
|
|---|
| 285 | struct dfs_Add {
|
|---|
| 286 | struct {
|
|---|
| 287 | const char *path;/* [ref,charset(UTF16)] */
|
|---|
| 288 | const char *server;/* [ref,charset(UTF16)] */
|
|---|
| 289 | const char *share;/* [unique,charset(UTF16)] */
|
|---|
| 290 | const char *comment;/* [unique,charset(UTF16)] */
|
|---|
| 291 | uint32_t flags;
|
|---|
| 292 | } in;
|
|---|
| 293 |
|
|---|
| 294 | struct {
|
|---|
| 295 | WERROR result;
|
|---|
| 296 | } out;
|
|---|
| 297 |
|
|---|
| 298 | };
|
|---|
| 299 |
|
|---|
| 300 |
|
|---|
| 301 | struct dfs_Remove {
|
|---|
| 302 | struct {
|
|---|
| 303 | const char *dfs_entry_path;/* [ref,charset(UTF16)] */
|
|---|
| 304 | const char *servername;/* [unique,charset(UTF16)] */
|
|---|
| 305 | const char *sharename;/* [unique,charset(UTF16)] */
|
|---|
| 306 | } in;
|
|---|
| 307 |
|
|---|
| 308 | struct {
|
|---|
| 309 | WERROR result;
|
|---|
| 310 | } out;
|
|---|
| 311 |
|
|---|
| 312 | };
|
|---|
| 313 |
|
|---|
| 314 |
|
|---|
| 315 | struct dfs_SetInfo {
|
|---|
| 316 | struct {
|
|---|
| 317 | const char *dfs_entry_path;/* [charset(UTF16)] */
|
|---|
| 318 | const char *servername;/* [unique,charset(UTF16)] */
|
|---|
| 319 | const char *sharename;/* [unique,charset(UTF16)] */
|
|---|
| 320 | uint32_t level;
|
|---|
| 321 | union dfs_Info *info;/* [ref,switch_is(level)] */
|
|---|
| 322 | } in;
|
|---|
| 323 |
|
|---|
| 324 | struct {
|
|---|
| 325 | WERROR result;
|
|---|
| 326 | } out;
|
|---|
| 327 |
|
|---|
| 328 | };
|
|---|
| 329 |
|
|---|
| 330 |
|
|---|
| 331 | struct dfs_GetInfo {
|
|---|
| 332 | struct {
|
|---|
| 333 | const char *dfs_entry_path;/* [charset(UTF16)] */
|
|---|
| 334 | const char *servername;/* [unique,charset(UTF16)] */
|
|---|
| 335 | const char *sharename;/* [unique,charset(UTF16)] */
|
|---|
| 336 | uint32_t level;
|
|---|
| 337 | } in;
|
|---|
| 338 |
|
|---|
| 339 | struct {
|
|---|
| 340 | union dfs_Info *info;/* [ref,switch_is(level)] */
|
|---|
| 341 | WERROR result;
|
|---|
| 342 | } out;
|
|---|
| 343 |
|
|---|
| 344 | };
|
|---|
| 345 |
|
|---|
| 346 |
|
|---|
| 347 | struct dfs_Enum {
|
|---|
| 348 | struct {
|
|---|
| 349 | uint32_t level;
|
|---|
| 350 | uint32_t bufsize;
|
|---|
| 351 | struct dfs_EnumStruct *info;/* [unique] */
|
|---|
| 352 | uint32_t *total;/* [unique] */
|
|---|
| 353 | } in;
|
|---|
| 354 |
|
|---|
| 355 | struct {
|
|---|
| 356 | struct dfs_EnumStruct *info;/* [unique] */
|
|---|
| 357 | uint32_t *total;/* [unique] */
|
|---|
| 358 | WERROR result;
|
|---|
| 359 | } out;
|
|---|
| 360 |
|
|---|
| 361 | };
|
|---|
| 362 |
|
|---|
| 363 |
|
|---|
| 364 | struct dfs_Rename {
|
|---|
| 365 | struct {
|
|---|
| 366 | WERROR result;
|
|---|
| 367 | } out;
|
|---|
| 368 |
|
|---|
| 369 | };
|
|---|
| 370 |
|
|---|
| 371 |
|
|---|
| 372 | struct dfs_Move {
|
|---|
| 373 | struct {
|
|---|
| 374 | WERROR result;
|
|---|
| 375 | } out;
|
|---|
| 376 |
|
|---|
| 377 | };
|
|---|
| 378 |
|
|---|
| 379 |
|
|---|
| 380 | struct dfs_ManagerGetConfigInfo {
|
|---|
| 381 | struct {
|
|---|
| 382 | WERROR result;
|
|---|
| 383 | } out;
|
|---|
| 384 |
|
|---|
| 385 | };
|
|---|
| 386 |
|
|---|
| 387 |
|
|---|
| 388 | struct dfs_ManagerSendSiteInfo {
|
|---|
| 389 | struct {
|
|---|
| 390 | WERROR result;
|
|---|
| 391 | } out;
|
|---|
| 392 |
|
|---|
| 393 | };
|
|---|
| 394 |
|
|---|
| 395 |
|
|---|
| 396 | struct dfs_AddFtRoot {
|
|---|
| 397 | struct {
|
|---|
| 398 | const char *servername;/* [charset(UTF16)] */
|
|---|
| 399 | const char *dns_servername;/* [charset(UTF16)] */
|
|---|
| 400 | const char *dfsname;/* [charset(UTF16)] */
|
|---|
| 401 | const char *rootshare;/* [charset(UTF16)] */
|
|---|
| 402 | const char *comment;/* [charset(UTF16)] */
|
|---|
| 403 | const char *dfs_config_dn;/* [charset(UTF16)] */
|
|---|
| 404 | uint8_t unknown1;
|
|---|
| 405 | uint32_t flags;
|
|---|
| 406 | struct dfs_UnknownStruct **unknown2;/* [unique] */
|
|---|
| 407 | } in;
|
|---|
| 408 |
|
|---|
| 409 | struct {
|
|---|
| 410 | struct dfs_UnknownStruct **unknown2;/* [unique] */
|
|---|
| 411 | WERROR result;
|
|---|
| 412 | } out;
|
|---|
| 413 |
|
|---|
| 414 | };
|
|---|
| 415 |
|
|---|
| 416 |
|
|---|
| 417 | struct dfs_RemoveFtRoot {
|
|---|
| 418 | struct {
|
|---|
| 419 | const char *servername;/* [charset(UTF16)] */
|
|---|
| 420 | const char *dns_servername;/* [charset(UTF16)] */
|
|---|
| 421 | const char *dfsname;/* [charset(UTF16)] */
|
|---|
| 422 | const char *rootshare;/* [charset(UTF16)] */
|
|---|
| 423 | uint32_t flags;
|
|---|
| 424 | struct dfs_UnknownStruct **unknown;/* [unique] */
|
|---|
| 425 | } in;
|
|---|
| 426 |
|
|---|
| 427 | struct {
|
|---|
| 428 | struct dfs_UnknownStruct **unknown;/* [unique] */
|
|---|
| 429 | WERROR result;
|
|---|
| 430 | } out;
|
|---|
| 431 |
|
|---|
| 432 | };
|
|---|
| 433 |
|
|---|
| 434 |
|
|---|
| 435 | struct dfs_AddStdRoot {
|
|---|
| 436 | struct {
|
|---|
| 437 | const char *servername;/* [charset(UTF16)] */
|
|---|
| 438 | const char *rootshare;/* [charset(UTF16)] */
|
|---|
| 439 | const char *comment;/* [charset(UTF16)] */
|
|---|
| 440 | uint32_t flags;
|
|---|
| 441 | } in;
|
|---|
| 442 |
|
|---|
| 443 | struct {
|
|---|
| 444 | WERROR result;
|
|---|
| 445 | } out;
|
|---|
| 446 |
|
|---|
| 447 | };
|
|---|
| 448 |
|
|---|
| 449 |
|
|---|
| 450 | struct dfs_RemoveStdRoot {
|
|---|
| 451 | struct {
|
|---|
| 452 | const char *servername;/* [charset(UTF16)] */
|
|---|
| 453 | const char *rootshare;/* [charset(UTF16)] */
|
|---|
| 454 | uint32_t flags;
|
|---|
| 455 | } in;
|
|---|
| 456 |
|
|---|
| 457 | struct {
|
|---|
| 458 | WERROR result;
|
|---|
| 459 | } out;
|
|---|
| 460 |
|
|---|
| 461 | };
|
|---|
| 462 |
|
|---|
| 463 |
|
|---|
| 464 | struct dfs_ManagerInitialize {
|
|---|
| 465 | struct {
|
|---|
| 466 | const char *servername;/* [ref,charset(UTF16)] */
|
|---|
| 467 | uint32_t flags;
|
|---|
| 468 | } in;
|
|---|
| 469 |
|
|---|
| 470 | struct {
|
|---|
| 471 | WERROR result;
|
|---|
| 472 | } out;
|
|---|
| 473 |
|
|---|
| 474 | };
|
|---|
| 475 |
|
|---|
| 476 |
|
|---|
| 477 | struct dfs_AddStdRootForced {
|
|---|
| 478 | struct {
|
|---|
| 479 | const char *servername;/* [charset(UTF16)] */
|
|---|
| 480 | const char *rootshare;/* [charset(UTF16)] */
|
|---|
| 481 | const char *comment;/* [charset(UTF16)] */
|
|---|
| 482 | const char *store;/* [charset(UTF16)] */
|
|---|
| 483 | } in;
|
|---|
| 484 |
|
|---|
| 485 | struct {
|
|---|
| 486 | WERROR result;
|
|---|
| 487 | } out;
|
|---|
| 488 |
|
|---|
| 489 | };
|
|---|
| 490 |
|
|---|
| 491 |
|
|---|
| 492 | struct dfs_GetDcAddress {
|
|---|
| 493 | struct {
|
|---|
| 494 | const char *servername;/* [charset(UTF16)] */
|
|---|
| 495 | const char **server_fullname;/* [ref,charset(UTF16)] */
|
|---|
| 496 | uint8_t *is_root;/* [ref] */
|
|---|
| 497 | uint32_t *ttl;/* [ref] */
|
|---|
| 498 | } in;
|
|---|
| 499 |
|
|---|
| 500 | struct {
|
|---|
| 501 | const char **server_fullname;/* [ref,charset(UTF16)] */
|
|---|
| 502 | uint8_t *is_root;/* [ref] */
|
|---|
| 503 | uint32_t *ttl;/* [ref] */
|
|---|
| 504 | WERROR result;
|
|---|
| 505 | } out;
|
|---|
| 506 |
|
|---|
| 507 | };
|
|---|
| 508 |
|
|---|
| 509 |
|
|---|
| 510 | struct dfs_SetDcAddress {
|
|---|
| 511 | struct {
|
|---|
| 512 | const char *servername;/* [charset(UTF16)] */
|
|---|
| 513 | const char *server_fullname;/* [charset(UTF16)] */
|
|---|
| 514 | uint32_t flags;
|
|---|
| 515 | uint32_t ttl;
|
|---|
| 516 | } in;
|
|---|
| 517 |
|
|---|
| 518 | struct {
|
|---|
| 519 | WERROR result;
|
|---|
| 520 | } out;
|
|---|
| 521 |
|
|---|
| 522 | };
|
|---|
| 523 |
|
|---|
| 524 |
|
|---|
| 525 | struct dfs_FlushFtTable {
|
|---|
| 526 | struct {
|
|---|
| 527 | const char *servername;/* [charset(UTF16)] */
|
|---|
| 528 | const char *rootshare;/* [charset(UTF16)] */
|
|---|
| 529 | } in;
|
|---|
| 530 |
|
|---|
| 531 | struct {
|
|---|
| 532 | WERROR result;
|
|---|
| 533 | } out;
|
|---|
| 534 |
|
|---|
| 535 | };
|
|---|
| 536 |
|
|---|
| 537 |
|
|---|
| 538 | struct dfs_Add2 {
|
|---|
| 539 | struct {
|
|---|
| 540 | WERROR result;
|
|---|
| 541 | } out;
|
|---|
| 542 |
|
|---|
| 543 | };
|
|---|
| 544 |
|
|---|
| 545 |
|
|---|
| 546 | struct dfs_Remove2 {
|
|---|
| 547 | struct {
|
|---|
| 548 | WERROR result;
|
|---|
| 549 | } out;
|
|---|
| 550 |
|
|---|
| 551 | };
|
|---|
| 552 |
|
|---|
| 553 |
|
|---|
| 554 | struct dfs_EnumEx {
|
|---|
| 555 | struct {
|
|---|
| 556 | const char *dfs_name;/* [charset(UTF16)] */
|
|---|
| 557 | uint32_t level;
|
|---|
| 558 | uint32_t bufsize;
|
|---|
| 559 | struct dfs_EnumStruct *info;/* [unique] */
|
|---|
| 560 | uint32_t *total;/* [unique] */
|
|---|
| 561 | } in;
|
|---|
| 562 |
|
|---|
| 563 | struct {
|
|---|
| 564 | struct dfs_EnumStruct *info;/* [unique] */
|
|---|
| 565 | uint32_t *total;/* [unique] */
|
|---|
| 566 | WERROR result;
|
|---|
| 567 | } out;
|
|---|
| 568 |
|
|---|
| 569 | };
|
|---|
| 570 |
|
|---|
| 571 |
|
|---|
| 572 | struct dfs_SetInfo2 {
|
|---|
| 573 | struct {
|
|---|
| 574 | WERROR result;
|
|---|
| 575 | } out;
|
|---|
| 576 |
|
|---|
| 577 | };
|
|---|
| 578 |
|
|---|
| 579 | #endif /* _HEADER_netdfs */
|
|---|