s4 winbind: Fix typos in debug output
[Samba/gbeck.git] / librpc / gen_ndr / wkssvc.h
blobdc12fe2a3f6f1ccd55e62f6d902f0228493d4339
1 /* header auto-generated by pidl */
3 #include <stdint.h>
5 #include "librpc/gen_ndr/srvsvc.h"
6 #include "librpc/gen_ndr/lsa.h"
7 #ifndef _HEADER_wkssvc
8 #define _HEADER_wkssvc
10 struct wkssvc_NetWkstaInfo100 {
11 enum srvsvc_PlatformId platform_id;
12 const char *server_name;/* [unique,charset(UTF16)] */
13 const char *domain_name;/* [unique,charset(UTF16)] */
14 uint32_t version_major;
15 uint32_t version_minor;
18 struct wkssvc_NetWkstaInfo101 {
19 enum srvsvc_PlatformId platform_id;
20 const char *server_name;/* [unique,charset(UTF16)] */
21 const char *domain_name;/* [unique,charset(UTF16)] */
22 uint32_t version_major;
23 uint32_t version_minor;
24 const char *lan_root;/* [unique,charset(UTF16)] */
27 struct wkssvc_NetWkstaInfo102 {
28 enum srvsvc_PlatformId platform_id;
29 const char *server_name;/* [unique,charset(UTF16)] */
30 const char *domain_name;/* [unique,charset(UTF16)] */
31 uint32_t version_major;
32 uint32_t version_minor;
33 const char *lan_root;/* [unique,charset(UTF16)] */
34 uint32_t logged_on_users;
37 struct wkssvc_NetWkstaInfo502 {
38 uint32_t char_wait;
39 uint32_t collection_time;
40 uint32_t maximum_collection_count;
41 uint32_t keep_connection;
42 uint32_t max_commands;
43 uint32_t session_timeout;
44 uint32_t size_char_buf;
45 uint32_t max_threads;
46 uint32_t lock_quota;
47 uint32_t lock_increment;
48 uint32_t lock_maximum;
49 uint32_t pipe_increment;
50 uint32_t pipe_maximum;
51 uint32_t cache_file_timeout;
52 uint32_t dormant_file_limit;
53 uint32_t read_ahead_throughput;
54 uint32_t num_mailslot_buffers;
55 uint32_t num_srv_announce_buffers;
56 uint32_t max_illegal_dgram_events;
57 uint32_t dgram_event_reset_freq;
58 uint32_t log_election_packets;
59 uint32_t use_opportunistic_locking;
60 uint32_t use_unlock_behind;
61 uint32_t use_close_behind;
62 uint32_t buf_named_pipes;
63 uint32_t use_lock_read_unlock;
64 uint32_t utilize_nt_caching;
65 uint32_t use_raw_read;
66 uint32_t use_raw_write;
67 uint32_t use_write_raw_data;
68 uint32_t use_encryption;
69 uint32_t buf_files_deny_write;
70 uint32_t buf_read_only_files;
71 uint32_t force_core_create_mode;
72 uint32_t use_512_byte_max_transfer;
75 struct wkssvc_NetWkstaInfo1010 {
76 uint32_t char_wait;
79 struct wkssvc_NetWkstaInfo1011 {
80 uint32_t collection_time;
83 struct wkssvc_NetWkstaInfo1012 {
84 uint32_t maximum_collection_count;
87 struct wkssvc_NetWkstaInfo1013 {
88 uint32_t keep_connection;
91 struct wkssvc_NetWkstaInfo1018 {
92 uint32_t session_timeout;
95 struct wkssvc_NetWkstaInfo1023 {
96 uint32_t size_char_buf;
99 struct wkssvc_NetWkstaInfo1027 {
100 uint32_t errorlog_sz;
103 struct wkssvc_NetWkstaInfo1028 {
104 uint32_t print_buf_time;
107 struct wkssvc_NetWkstaInfo1032 {
108 uint32_t wrk_heuristics;
111 struct wkssvc_NetWkstaInfo1033 {
112 uint32_t max_threads;
115 struct wkssvc_NetWkstaInfo1041 {
116 uint32_t lock_quota;
119 struct wkssvc_NetWkstaInfo1042 {
120 uint32_t lock_increment;
123 struct wkssvc_NetWkstaInfo1043 {
124 uint32_t lock_maximum;
127 struct wkssvc_NetWkstaInfo1044 {
128 uint32_t pipe_increment;
131 struct wkssvc_NetWkstaInfo1045 {
132 uint32_t pipe_maximum;
135 struct wkssvc_NetWkstaInfo1046 {
136 uint32_t dormant_file_limit;
139 struct wkssvc_NetWkstaInfo1047 {
140 uint32_t cache_file_timeout;
143 struct wkssvc_NetWkstaInfo1048 {
144 uint32_t use_opportunistic_locking;
147 struct wkssvc_NetWkstaInfo1049 {
148 uint32_t use_unlock_behind;
151 struct wkssvc_NetWkstaInfo1050 {
152 uint32_t use_close_behind;
155 struct wkssvc_NetWkstaInfo1051 {
156 uint32_t buf_named_pipes;
159 struct wkssvc_NetWkstaInfo1052 {
160 uint32_t use_lock_read_unlock;
163 struct wkssvc_NetWkstaInfo1053 {
164 uint32_t utilize_nt_caching;
167 struct wkssvc_NetWkstaInfo1054 {
168 uint32_t use_raw_read;
171 struct wkssvc_NetWkstaInfo1055 {
172 uint32_t use_raw_write;
175 struct wkssvc_NetWkstaInfo1056 {
176 uint32_t use_write_raw_data;
179 struct wkssvc_NetWkstaInfo1057 {
180 uint32_t use_encryption;
183 struct wkssvc_NetWkstaInfo1058 {
184 uint32_t buf_files_deny_write;
187 struct wkssvc_NetWkstaInfo1059 {
188 uint32_t buf_read_only_files;
191 struct wkssvc_NetWkstaInfo1060 {
192 uint32_t force_core_create_mode;
195 struct wkssvc_NetWkstaInfo1061 {
196 uint32_t use_512_byte_max_transfer;
199 struct wkssvc_NetWkstaInfo1062 {
200 uint32_t read_ahead_throughput;
203 union wkssvc_NetWkstaInfo {
204 struct wkssvc_NetWkstaInfo100 *info100;/* [unique,case(100)] */
205 struct wkssvc_NetWkstaInfo101 *info101;/* [unique,case(101)] */
206 struct wkssvc_NetWkstaInfo102 *info102;/* [unique,case(102)] */
207 struct wkssvc_NetWkstaInfo502 *info502;/* [unique,case(502)] */
208 struct wkssvc_NetWkstaInfo1010 *info1010;/* [unique,case(1010)] */
209 struct wkssvc_NetWkstaInfo1011 *info1011;/* [unique,case(1011)] */
210 struct wkssvc_NetWkstaInfo1012 *info1012;/* [unique,case(1012)] */
211 struct wkssvc_NetWkstaInfo1013 *info1013;/* [unique,case(1013)] */
212 struct wkssvc_NetWkstaInfo1018 *info1018;/* [unique,case(1018)] */
213 struct wkssvc_NetWkstaInfo1023 *info1023;/* [unique,case(1023)] */
214 struct wkssvc_NetWkstaInfo1027 *info1027;/* [unique,case(1027)] */
215 struct wkssvc_NetWkstaInfo1028 *info1028;/* [unique,case(1028)] */
216 struct wkssvc_NetWkstaInfo1032 *info1032;/* [unique,case(1032)] */
217 struct wkssvc_NetWkstaInfo1033 *info1033;/* [unique,case(1033)] */
218 struct wkssvc_NetWkstaInfo1041 *info1041;/* [unique,case(1041)] */
219 struct wkssvc_NetWkstaInfo1042 *info1042;/* [unique,case(1042)] */
220 struct wkssvc_NetWkstaInfo1043 *info1043;/* [unique,case(1043)] */
221 struct wkssvc_NetWkstaInfo1044 *info1044;/* [unique,case(1044)] */
222 struct wkssvc_NetWkstaInfo1045 *info1045;/* [unique,case(1045)] */
223 struct wkssvc_NetWkstaInfo1046 *info1046;/* [unique,case(1046)] */
224 struct wkssvc_NetWkstaInfo1047 *info1047;/* [unique,case(1047)] */
225 struct wkssvc_NetWkstaInfo1048 *info1048;/* [unique,case(1048)] */
226 struct wkssvc_NetWkstaInfo1049 *info1049;/* [unique,case(1049)] */
227 struct wkssvc_NetWkstaInfo1050 *info1050;/* [unique,case(1050)] */
228 struct wkssvc_NetWkstaInfo1051 *info1051;/* [unique,case(1051)] */
229 struct wkssvc_NetWkstaInfo1052 *info1052;/* [unique,case(1052)] */
230 struct wkssvc_NetWkstaInfo1053 *info1053;/* [unique,case(1053)] */
231 struct wkssvc_NetWkstaInfo1054 *info1054;/* [unique,case(1054)] */
232 struct wkssvc_NetWkstaInfo1055 *info1055;/* [unique,case(1055)] */
233 struct wkssvc_NetWkstaInfo1056 *info1056;/* [unique,case(1056)] */
234 struct wkssvc_NetWkstaInfo1057 *info1057;/* [unique,case(1057)] */
235 struct wkssvc_NetWkstaInfo1058 *info1058;/* [unique,case(1058)] */
236 struct wkssvc_NetWkstaInfo1059 *info1059;/* [unique,case(1059)] */
237 struct wkssvc_NetWkstaInfo1060 *info1060;/* [unique,case(1060)] */
238 struct wkssvc_NetWkstaInfo1061 *info1061;/* [unique,case(1061)] */
239 struct wkssvc_NetWkstaInfo1062 *info1062;/* [unique,case(1062)] */
242 struct wkssvc_NetrWkstaUserInfo0 {
243 const char *user_name;/* [unique,charset(UTF16)] */
246 struct wkssvc_NetWkstaEnumUsersCtr0 {
247 uint32_t entries_read;
248 struct wkssvc_NetrWkstaUserInfo0 *user0;/* [unique,size_is(entries_read)] */
251 struct wkssvc_NetrWkstaUserInfo1 {
252 const char *user_name;/* [unique,charset(UTF16)] */
253 const char *logon_domain;/* [unique,charset(UTF16)] */
254 const char *other_domains;/* [unique,charset(UTF16)] */
255 const char *logon_server;/* [unique,charset(UTF16)] */
258 struct wkssvc_NetWkstaEnumUsersCtr1 {
259 uint32_t entries_read;
260 struct wkssvc_NetrWkstaUserInfo1 *user1;/* [unique,size_is(entries_read)] */
263 union wkssvc_NetWkstaEnumUsersCtr {
264 struct wkssvc_NetWkstaEnumUsersCtr0 *user0;/* [unique,case(0)] */
265 struct wkssvc_NetWkstaEnumUsersCtr1 *user1;/* [unique,case] */
266 }/* [switch_type(uint32)] */;
268 struct wkssvc_NetWkstaEnumUsersInfo {
269 uint32_t level;
270 union wkssvc_NetWkstaEnumUsersCtr ctr;/* [switch_is(level)] */
273 struct wkssvc_NetrWkstaUserInfo1101 {
274 const char *other_domains;/* [unique,charset(UTF16)] */
277 union wkssvc_NetrWkstaUserInfo {
278 struct wkssvc_NetrWkstaUserInfo0 *info0;/* [unique,case(0)] */
279 struct wkssvc_NetrWkstaUserInfo1 *info1;/* [unique,case] */
280 struct wkssvc_NetrWkstaUserInfo1101 *info1101;/* [unique,case(1101)] */
281 }/* [switch_type(uint32)] */;
283 struct wkssvc_NetWkstaTransportInfo0 {
284 uint32_t quality_of_service;
285 uint32_t vc_count;
286 const char *name;/* [unique,charset(UTF16)] */
287 const char *address;/* [unique,charset(UTF16)] */
288 uint32_t wan_link;
291 struct wkssvc_NetWkstaTransportCtr0 {
292 uint32_t count;
293 struct wkssvc_NetWkstaTransportInfo0 *array;/* [unique,size_is(count)] */
296 union wkssvc_NetWkstaTransportCtr {
297 struct wkssvc_NetWkstaTransportCtr0 *ctr0;/* [unique,case(0)] */
300 struct wkssvc_NetWkstaTransportInfo {
301 uint32_t level;
302 union wkssvc_NetWkstaTransportCtr ctr;/* [switch_is(level)] */
305 struct wkssvc_NetrUseInfo3 {
306 const char *unknown1;/* [unique,charset(UTF16)] */
307 const char *unknown2;/* [unique,charset(UTF16)] */
310 struct wkssvc_NetrUseInfo2 {
311 const char *local;/* [unique,charset(UTF16)] */
312 const char *remote;/* [unique,charset(UTF16)] */
313 const char *password;/* [unique,charset(UTF16)] */
314 uint32_t status;
315 uint32_t asg_type;
316 uint32_t ref_count;
317 uint32_t use_count;
318 const char *user_name;/* [unique,charset(UTF16)] */
319 const char *domain_name;/* [unique,charset(UTF16)] */
322 struct wkssvc_NetrUseInfo1 {
323 const char *local;/* [unique,charset(UTF16)] */
324 const char *remote;/* [unique,charset(UTF16)] */
325 const char *password;/* [unique,charset(UTF16)] */
326 uint32_t status;
327 uint32_t asg_type;
328 uint32_t ref_count;
329 uint32_t use_count;
332 struct wkssvc_NetrUseInfo0 {
333 const char *local;/* [unique,charset(UTF16)] */
334 const char *remote;/* [unique,charset(UTF16)] */
337 union wkssvc_NetrUseGetInfoCtr {
338 struct wkssvc_NetrUseInfo0 *info0;/* [unique,case(0)] */
339 struct wkssvc_NetrUseInfo1 *info1;/* [unique,case] */
340 struct wkssvc_NetrUseInfo2 *info2;/* [unique,case(2)] */
341 struct wkssvc_NetrUseInfo3 *info3;/* [unique,case(3)] */
342 }/* [switch_type(uint32)] */;
344 struct wkssvc_NetrUseEnumCtr2 {
345 uint32_t count;
346 struct wkssvc_NetrUseInfo2 *array;/* [unique,size_is(count)] */
349 struct wkssvc_NetrUseEnumCtr1 {
350 uint32_t count;
351 struct wkssvc_NetrUseInfo1 *array;/* [unique,size_is(count)] */
354 struct wkssvc_NetrUseEnumCtr0 {
355 uint32_t count;
356 struct wkssvc_NetrUseInfo0 *array;/* [unique,size_is(count)] */
359 union wkssvc_NetrUseEnumCtr {
360 struct wkssvc_NetrUseEnumCtr0 *ctr0;/* [unique,case(0)] */
361 struct wkssvc_NetrUseEnumCtr1 *ctr1;/* [unique,case] */
362 struct wkssvc_NetrUseEnumCtr2 *ctr2;/* [unique,case(2)] */
363 }/* [switch_type(uint32)] */;
365 struct wkssvc_NetrUseEnumInfo {
366 uint32_t level;
367 union wkssvc_NetrUseEnumCtr ctr;/* [switch_is(level)] */
370 struct wkssvc_NetrWorkstationStatistics {
371 uint64_t unknown1;
372 uint64_t unknown2;
373 uint64_t unknown3;
374 uint64_t unknown4;
375 uint64_t unknown5;
376 uint64_t unknown6;
377 uint64_t unknown7;
378 uint64_t unknown8;
379 uint64_t unknown9;
380 uint64_t unknown10;
381 uint64_t unknown11;
382 uint64_t unknown12;
383 uint64_t unknown13;
384 uint32_t unknown14;
385 uint32_t unknown15;
386 uint32_t unknown16;
387 uint32_t unknown17;
388 uint32_t unknown18;
389 uint32_t unknown19;
390 uint32_t unknown20;
391 uint32_t unknown21;
392 uint32_t unknown22;
393 uint32_t unknown23;
394 uint32_t unknown24;
395 uint32_t unknown25;
396 uint32_t unknown26;
397 uint32_t unknown27;
398 uint32_t unknown28;
399 uint32_t unknown29;
400 uint32_t unknown30;
401 uint32_t unknown31;
402 uint32_t unknown32;
403 uint32_t unknown33;
404 uint32_t unknown34;
405 uint32_t unknown35;
406 uint32_t unknown36;
407 uint32_t unknown37;
408 uint32_t unknown38;
409 uint32_t unknown39;
410 uint32_t unknown40;
413 /* bitmap wkssvc_renameflags */
414 #define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
416 enum wkssvc_NetValidateNameType
417 #ifndef USE_UINT_ENUMS
419 NetSetupUnknown=0,
420 NetSetupMachine=1,
421 NetSetupWorkgroup=2,
422 NetSetupDomain=3,
423 NetSetupNonExistentDomain=4,
424 NetSetupDnsMachine=5
426 #else
427 { __donnot_use_enum_wkssvc_NetValidateNameType=0x7FFFFFFF}
428 #define NetSetupUnknown ( 0 )
429 #define NetSetupMachine ( 1 )
430 #define NetSetupWorkgroup ( 2 )
431 #define NetSetupDomain ( 3 )
432 #define NetSetupNonExistentDomain ( 4 )
433 #define NetSetupDnsMachine ( 5 )
434 #endif
437 enum wkssvc_NetJoinStatus
438 #ifndef USE_UINT_ENUMS
440 NET_SETUP_UNKNOWN_STATUS=0,
441 NET_SETUP_UNJOINED=1,
442 NET_SETUP_WORKGROUP_NAME=2,
443 NET_SETUP_DOMAIN_NAME=3
445 #else
446 { __donnot_use_enum_wkssvc_NetJoinStatus=0x7FFFFFFF}
447 #define NET_SETUP_UNKNOWN_STATUS ( 0 )
448 #define NET_SETUP_UNJOINED ( 1 )
449 #define NET_SETUP_WORKGROUP_NAME ( 2 )
450 #define NET_SETUP_DOMAIN_NAME ( 3 )
451 #endif
454 struct wkssvc_PasswordBuffer {
455 uint8_t data[524];
456 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
458 /* bitmap wkssvc_joinflags */
459 #define WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME ( 0x00000400 )
460 #define WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT ( 0x00000200 )
461 #define WKSSVC_JOIN_FLAGS_DEFER_SPN ( 0x00000100 )
462 #define WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED ( 0x00000080 )
463 #define WKSSVC_JOIN_FLAGS_JOIN_UNSECURE ( 0x00000040 )
464 #define WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED ( 0x00000020 )
465 #define WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE ( 0x00000010 )
466 #define WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE ( 0x00000004 )
467 #define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
468 #define WKSSVC_JOIN_FLAGS_JOIN_TYPE ( 0x00000001 )
470 enum wkssvc_ComputerNameType
471 #ifndef USE_UINT_ENUMS
473 NetPrimaryComputerName=0,
474 NetAlternateComputerNames=1,
475 NetAllComputerNames=2,
476 NetComputerNameTypeMax=3
478 #else
479 { __donnot_use_enum_wkssvc_ComputerNameType=0x7FFFFFFF}
480 #define NetPrimaryComputerName ( 0 )
481 #define NetAlternateComputerNames ( 1 )
482 #define NetAllComputerNames ( 2 )
483 #define NetComputerNameTypeMax ( 3 )
484 #endif
487 struct wkssvc_ComputerNamesCtr {
488 uint32_t count;
489 struct lsa_String *computer_name;/* [unique,size_is(count)] */
493 struct wkssvc_NetWkstaGetInfo {
494 struct {
495 const char *server_name;/* [unique,charset(UTF16)] */
496 uint32_t level;
497 } in;
499 struct {
500 union wkssvc_NetWkstaInfo *info;/* [ref,switch_is(level)] */
501 WERROR result;
502 } out;
507 struct wkssvc_NetWkstaSetInfo {
508 struct {
509 const char *server_name;/* [unique,charset(UTF16)] */
510 uint32_t level;
511 union wkssvc_NetWkstaInfo *info;/* [ref,switch_is(level)] */
512 uint32_t *parm_error;/* [ref] */
513 } in;
515 struct {
516 uint32_t *parm_error;/* [ref] */
517 WERROR result;
518 } out;
523 struct wkssvc_NetWkstaEnumUsers {
524 struct {
525 const char *server_name;/* [unique,charset(UTF16)] */
526 uint32_t prefmaxlen;
527 struct wkssvc_NetWkstaEnumUsersInfo *info;/* [ref] */
528 uint32_t *resume_handle;/* [unique] */
529 } in;
531 struct {
532 uint32_t *entries_read;/* [ref] */
533 struct wkssvc_NetWkstaEnumUsersInfo *info;/* [ref] */
534 uint32_t *resume_handle;/* [unique] */
535 WERROR result;
536 } out;
541 struct wkssvc_NetrWkstaUserGetInfo {
542 struct {
543 const char *unknown;/* [unique,charset(UTF16)] */
544 uint32_t level;
545 } in;
547 struct {
548 union wkssvc_NetrWkstaUserInfo *info;/* [ref,switch_is(level)] */
549 WERROR result;
550 } out;
555 struct wkssvc_NetrWkstaUserSetInfo {
556 struct {
557 const char *unknown;/* [unique,charset(UTF16)] */
558 uint32_t level;
559 union wkssvc_NetrWkstaUserInfo *info;/* [ref,switch_is(level)] */
560 uint32_t *parm_err;/* [unique] */
561 } in;
563 struct {
564 uint32_t *parm_err;/* [unique] */
565 WERROR result;
566 } out;
571 struct wkssvc_NetWkstaTransportEnum {
572 struct {
573 const char *server_name;/* [unique,charset(UTF16)] */
574 uint32_t max_buffer;
575 struct wkssvc_NetWkstaTransportInfo *info;/* [ref] */
576 uint32_t *resume_handle;/* [unique] */
577 } in;
579 struct {
580 uint32_t *total_entries;/* [ref] */
581 struct wkssvc_NetWkstaTransportInfo *info;/* [ref] */
582 uint32_t *resume_handle;/* [unique] */
583 WERROR result;
584 } out;
589 struct wkssvc_NetrWkstaTransportAdd {
590 struct {
591 const char *server_name;/* [unique,charset(UTF16)] */
592 uint32_t level;
593 struct wkssvc_NetWkstaTransportInfo0 *info0;/* [ref] */
594 uint32_t *parm_err;/* [unique] */
595 } in;
597 struct {
598 uint32_t *parm_err;/* [unique] */
599 WERROR result;
600 } out;
605 struct wkssvc_NetrWkstaTransportDel {
606 struct {
607 const char *server_name;/* [unique,charset(UTF16)] */
608 const char *transport_name;/* [unique,charset(UTF16)] */
609 uint32_t unknown3;
610 } in;
612 struct {
613 WERROR result;
614 } out;
619 struct wkssvc_NetrUseAdd {
620 struct {
621 const char *server_name;/* [unique,charset(UTF16)] */
622 uint32_t level;
623 union wkssvc_NetrUseGetInfoCtr *ctr;/* [ref,switch_is(level)] */
624 uint32_t *parm_err;/* [unique] */
625 } in;
627 struct {
628 uint32_t *parm_err;/* [unique] */
629 WERROR result;
630 } out;
635 struct wkssvc_NetrUseGetInfo {
636 struct {
637 const char *server_name;/* [unique,charset(UTF16)] */
638 const char *use_name;/* [ref,charset(UTF16)] */
639 uint32_t level;
640 } in;
642 struct {
643 union wkssvc_NetrUseGetInfoCtr *ctr;/* [ref,switch_is(level)] */
644 WERROR result;
645 } out;
650 struct wkssvc_NetrUseDel {
651 struct {
652 const char *server_name;/* [unique,charset(UTF16)] */
653 const char *use_name;/* [ref,charset(UTF16)] */
654 uint32_t force_cond;
655 } in;
657 struct {
658 WERROR result;
659 } out;
664 struct wkssvc_NetrUseEnum {
665 struct {
666 const char *server_name;/* [unique,charset(UTF16)] */
667 uint32_t prefmaxlen;
668 struct wkssvc_NetrUseEnumInfo *info;/* [ref] */
669 uint32_t *resume_handle;/* [unique] */
670 } in;
672 struct {
673 uint32_t *entries_read;/* [ref] */
674 struct wkssvc_NetrUseEnumInfo *info;/* [ref] */
675 uint32_t *resume_handle;/* [unique] */
676 WERROR result;
677 } out;
682 struct wkssvc_NetrMessageBufferSend {
683 struct {
684 const char *server_name;/* [unique,charset(UTF16)] */
685 const char *message_name;/* [ref,charset(UTF16)] */
686 const char *message_sender_name;/* [unique,charset(UTF16)] */
687 uint8_t *message_buffer;/* [ref,size_is(message_size)] */
688 uint32_t message_size;
689 } in;
691 struct {
692 WERROR result;
693 } out;
698 struct wkssvc_NetrWorkstationStatisticsGet {
699 struct {
700 const char *server_name;/* [unique,charset(UTF16)] */
701 const char *unknown2;/* [unique,charset(UTF16)] */
702 uint32_t unknown3;
703 uint32_t unknown4;
704 } in;
706 struct {
707 struct wkssvc_NetrWorkstationStatistics **info;/* [ref] */
708 WERROR result;
709 } out;
714 struct wkssvc_NetrLogonDomainNameAdd {
715 struct {
716 const char *domain_name;/* [ref,charset(UTF16)] */
717 } in;
719 struct {
720 WERROR result;
721 } out;
726 struct wkssvc_NetrLogonDomainNameDel {
727 struct {
728 const char *domain_name;/* [ref,charset(UTF16)] */
729 } in;
731 struct {
732 WERROR result;
733 } out;
738 struct wkssvc_NetrJoinDomain {
739 struct {
740 const char *server_name;/* [unique,charset(UTF16)] */
741 const char *domain_name;/* [ref,charset(UTF16)] */
742 const char *account_ou;/* [unique,charset(UTF16)] */
743 const char *Account;/* [unique,charset(UTF16)] */
744 const char *password;/* [unique,charset(UTF16)] */
745 uint32_t join_flags;
746 } in;
748 struct {
749 WERROR result;
750 } out;
755 struct wkssvc_NetrUnjoinDomain {
756 struct {
757 const char *server_name;/* [unique,charset(UTF16)] */
758 const char *Account;/* [unique,charset(UTF16)] */
759 const char *password;/* [unique,charset(UTF16)] */
760 uint32_t unjoin_flags;
761 } in;
763 struct {
764 WERROR result;
765 } out;
770 struct wkssvc_NetrRenameMachineInDomain {
771 struct {
772 const char *server_name;/* [unique,charset(UTF16)] */
773 const char *NewMachineName;/* [unique,charset(UTF16)] */
774 const char *Account;/* [unique,charset(UTF16)] */
775 const char *password;/* [unique,charset(UTF16)] */
776 uint32_t RenameOptions;
777 } in;
779 struct {
780 WERROR result;
781 } out;
786 struct wkssvc_NetrValidateName {
787 struct {
788 const char *server_name;/* [unique,charset(UTF16)] */
789 const char *name;/* [ref,charset(UTF16)] */
790 const char *Account;/* [unique,charset(UTF16)] */
791 const char *Password;/* [unique,charset(UTF16)] */
792 enum wkssvc_NetValidateNameType name_type;
793 } in;
795 struct {
796 WERROR result;
797 } out;
802 struct wkssvc_NetrGetJoinInformation {
803 struct {
804 const char *server_name;/* [unique,charset(UTF16)] */
805 const char **name_buffer;/* [ref,charset(UTF16)] */
806 } in;
808 struct {
809 enum wkssvc_NetJoinStatus *name_type;/* [ref] */
810 const char **name_buffer;/* [ref,charset(UTF16)] */
811 WERROR result;
812 } out;
817 struct wkssvc_NetrGetJoinableOus {
818 struct {
819 const char *server_name;/* [unique,charset(UTF16)] */
820 const char *domain_name;/* [ref,charset(UTF16)] */
821 const char *Account;/* [unique,charset(UTF16)] */
822 const char *unknown;/* [unique,charset(UTF16)] */
823 uint32_t *num_ous;/* [ref] */
824 } in;
826 struct {
827 const char ***ous;/* [ref,charset(UTF16),size_is(,*num_ous)] */
828 uint32_t *num_ous;/* [ref] */
829 WERROR result;
830 } out;
835 struct wkssvc_NetrJoinDomain2 {
836 struct {
837 const char *server_name;/* [unique,charset(UTF16)] */
838 const char *domain_name;/* [ref,charset(UTF16)] */
839 const char *account_ou;/* [unique,charset(UTF16)] */
840 const char *admin_account;/* [unique,charset(UTF16)] */
841 struct wkssvc_PasswordBuffer *encrypted_password;/* [unique] */
842 uint32_t join_flags;
843 } in;
845 struct {
846 WERROR result;
847 } out;
852 struct wkssvc_NetrUnjoinDomain2 {
853 struct {
854 const char *server_name;/* [unique,charset(UTF16)] */
855 const char *account;/* [unique,charset(UTF16)] */
856 struct wkssvc_PasswordBuffer *encrypted_password;/* [unique] */
857 uint32_t unjoin_flags;
858 } in;
860 struct {
861 WERROR result;
862 } out;
867 struct wkssvc_NetrRenameMachineInDomain2 {
868 struct {
869 const char *server_name;/* [unique,charset(UTF16)] */
870 const char *NewMachineName;/* [unique,charset(UTF16)] */
871 const char *Account;/* [unique,charset(UTF16)] */
872 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
873 uint32_t RenameOptions;
874 } in;
876 struct {
877 WERROR result;
878 } out;
883 struct wkssvc_NetrValidateName2 {
884 struct {
885 const char *server_name;/* [unique,charset(UTF16)] */
886 const char *name;/* [ref,charset(UTF16)] */
887 const char *Account;/* [unique,charset(UTF16)] */
888 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
889 enum wkssvc_NetValidateNameType name_type;
890 } in;
892 struct {
893 WERROR result;
894 } out;
899 struct wkssvc_NetrGetJoinableOus2 {
900 struct {
901 const char *server_name;/* [unique,charset(UTF16)] */
902 const char *domain_name;/* [ref,charset(UTF16)] */
903 const char *Account;/* [unique,charset(UTF16)] */
904 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
905 uint32_t *num_ous;/* [ref] */
906 } in;
908 struct {
909 const char ***ous;/* [ref,charset(UTF16),size_is(,*num_ous)] */
910 uint32_t *num_ous;/* [ref] */
911 WERROR result;
912 } out;
917 struct wkssvc_NetrAddAlternateComputerName {
918 struct {
919 const char *server_name;/* [unique,charset(UTF16)] */
920 const char *NewAlternateMachineName;/* [unique,charset(UTF16)] */
921 const char *Account;/* [unique,charset(UTF16)] */
922 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
923 uint32_t Reserved;
924 } in;
926 struct {
927 WERROR result;
928 } out;
933 struct wkssvc_NetrRemoveAlternateComputerName {
934 struct {
935 const char *server_name;/* [unique,charset(UTF16)] */
936 const char *AlternateMachineNameToRemove;/* [unique,charset(UTF16)] */
937 const char *Account;/* [unique,charset(UTF16)] */
938 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
939 uint32_t Reserved;
940 } in;
942 struct {
943 WERROR result;
944 } out;
949 struct wkssvc_NetrSetPrimaryComputername {
950 struct {
951 const char *server_name;/* [unique,charset(UTF16)] */
952 const char *primary_name;/* [unique,charset(UTF16)] */
953 const char *Account;/* [unique,charset(UTF16)] */
954 struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
955 uint32_t Reserved;
956 } in;
958 struct {
959 WERROR result;
960 } out;
965 struct wkssvc_NetrEnumerateComputerNames {
966 struct {
967 const char *server_name;/* [unique,charset(UTF16)] */
968 enum wkssvc_ComputerNameType name_type;
969 uint32_t Reserved;
970 } in;
972 struct {
973 struct wkssvc_ComputerNamesCtr **ctr;/* [ref] */
974 WERROR result;
975 } out;
979 #endif /* _HEADER_wkssvc */