summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/wkssvc.h
blob: dc12fe2a3f6f1ccd55e62f6d902f0228493d4339 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
/* header auto-generated by pidl */

#include <stdint.h>

#include "librpc/gen_ndr/srvsvc.h"
#include "librpc/gen_ndr/lsa.h"
#ifndef _HEADER_wkssvc
#define _HEADER_wkssvc

struct wkssvc_NetWkstaInfo100 {
	enum srvsvc_PlatformId platform_id;
	const char *server_name;/* [unique,charset(UTF16)] */
	const char *domain_name;/* [unique,charset(UTF16)] */
	uint32_t version_major;
	uint32_t version_minor;
};

struct wkssvc_NetWkstaInfo101 {
	enum srvsvc_PlatformId platform_id;
	const char *server_name;/* [unique,charset(UTF16)] */
	const char *domain_name;/* [unique,charset(UTF16)] */
	uint32_t version_major;
	uint32_t version_minor;
	const char *lan_root;/* [unique,charset(UTF16)] */
};

struct wkssvc_NetWkstaInfo102 {
	enum srvsvc_PlatformId platform_id;
	const char *server_name;/* [unique,charset(UTF16)] */
	const char *domain_name;/* [unique,charset(UTF16)] */
	uint32_t version_major;
	uint32_t version_minor;
	const char *lan_root;/* [unique,charset(UTF16)] */
	uint32_t logged_on_users;
};

struct wkssvc_NetWkstaInfo502 {
	uint32_t char_wait;
	uint32_t collection_time;
	uint32_t maximum_collection_count;
	uint32_t keep_connection;
	uint32_t max_commands;
	uint32_t session_timeout;
	uint32_t size_char_buf;
	uint32_t max_threads;
	uint32_t lock_quota;
	uint32_t lock_increment;
	uint32_t lock_maximum;
	uint32_t pipe_increment;
	uint32_t pipe_maximum;
	uint32_t cache_file_timeout;
	uint32_t dormant_file_limit;
	uint32_t read_ahead_throughput;
	uint32_t num_mailslot_buffers;
	uint32_t num_srv_announce_buffers;
	uint32_t max_illegal_dgram_events;
	uint32_t dgram_event_reset_freq;
	uint32_t log_election_packets;
	uint32_t use_opportunistic_locking;
	uint32_t use_unlock_behind;
	uint32_t use_close_behind;
	uint32_t buf_named_pipes;
	uint32_t use_lock_read_unlock;
	uint32_t utilize_nt_caching;
	uint32_t use_raw_read;
	uint32_t use_raw_write;
	uint32_t use_write_raw_data;
	uint32_t use_encryption;
	uint32_t buf_files_deny_write;
	uint32_t buf_read_only_files;
	uint32_t force_core_create_mode;
	uint32_t use_512_byte_max_transfer;
};

struct wkssvc_NetWkstaInfo1010 {
	uint32_t char_wait;
};

struct wkssvc_NetWkstaInfo1011 {
	uint32_t collection_time;
};

struct wkssvc_NetWkstaInfo1012 {
	uint32_t maximum_collection_count;
};

struct wkssvc_NetWkstaInfo1013 {
	uint32_t keep_connection;
};

struct wkssvc_NetWkstaInfo1018 {
	uint32_t session_timeout;
};

struct wkssvc_NetWkstaInfo1023 {
	uint32_t size_char_buf;
};

struct wkssvc_NetWkstaInfo1027 {
	uint32_t errorlog_sz;
};

struct wkssvc_NetWkstaInfo1028 {
	uint32_t print_buf_time;
};

struct wkssvc_NetWkstaInfo1032 {
	uint32_t wrk_heuristics;
};

struct wkssvc_NetWkstaInfo1033 {
	uint32_t max_threads;
};

struct wkssvc_NetWkstaInfo1041 {
	uint32_t lock_quota;
};

struct wkssvc_NetWkstaInfo1042 {
	uint32_t lock_increment;
};

struct wkssvc_NetWkstaInfo1043 {
	uint32_t lock_maximum;
};

struct wkssvc_NetWkstaInfo1044 {
	uint32_t pipe_increment;
};

struct wkssvc_NetWkstaInfo1045 {
	uint32_t pipe_maximum;
};

struct wkssvc_NetWkstaInfo1046 {
	uint32_t dormant_file_limit;
};

struct wkssvc_NetWkstaInfo1047 {
	uint32_t cache_file_timeout;
};

struct wkssvc_NetWkstaInfo1048 {
	uint32_t use_opportunistic_locking;
};

struct wkssvc_NetWkstaInfo1049 {
	uint32_t use_unlock_behind;
};

struct wkssvc_NetWkstaInfo1050 {
	uint32_t use_close_behind;
};

struct wkssvc_NetWkstaInfo1051 {
	uint32_t buf_named_pipes;
};

struct wkssvc_NetWkstaInfo1052 {
	uint32_t use_lock_read_unlock;
};

struct wkssvc_NetWkstaInfo1053 {
	uint32_t utilize_nt_caching;
};

struct wkssvc_NetWkstaInfo1054 {
	uint32_t use_raw_read;
};

struct wkssvc_NetWkstaInfo1055 {
	uint32_t use_raw_write;
};

struct wkssvc_NetWkstaInfo1056 {
	uint32_t use_write_raw_data;
};

struct wkssvc_NetWkstaInfo1057 {
	uint32_t use_encryption;
};

struct wkssvc_NetWkstaInfo1058 {
	uint32_t buf_files_deny_write;
};

struct wkssvc_NetWkstaInfo1059 {
	uint32_t buf_read_only_files;
};

struct wkssvc_NetWkstaInfo1060 {
	uint32_t force_core_create_mode;
};

struct wkssvc_NetWkstaInfo1061 {
	uint32_t use_512_byte_max_transfer;
};

struct wkssvc_NetWkstaInfo1062 {
	uint32_t read_ahead_throughput;
};

union wkssvc_NetWkstaInfo {
	struct wkssvc_NetWkstaInfo100 *info100;/* [unique,case(100)] */
	struct wkssvc_NetWkstaInfo101 *info101;/* [unique,case(101)] */
	struct wkssvc_NetWkstaInfo102 *info102;/* [unique,case(102)] */
	struct wkssvc_NetWkstaInfo502 *info502;/* [unique,case(502)] */
	struct wkssvc_NetWkstaInfo1010 *info1010;/* [unique,case(1010)] */
	struct wkssvc_NetWkstaInfo1011 *info1011;/* [unique,case(1011)] */
	struct wkssvc_NetWkstaInfo1012 *info1012;/* [unique,case(1012)] */
	struct wkssvc_NetWkstaInfo1013 *info1013;/* [unique,case(1013)] */
	struct wkssvc_NetWkstaInfo1018 *info1018;/* [unique,case(1018)] */
	struct wkssvc_NetWkstaInfo1023 *info1023;/* [unique,case(1023)] */
	struct wkssvc_NetWkstaInfo1027 *info1027;/* [unique,case(1027)] */
	struct wkssvc_NetWkstaInfo1028 *info1028;/* [unique,case(1028)] */
	struct wkssvc_NetWkstaInfo1032 *info1032;/* [unique,case(1032)] */
	struct wkssvc_NetWkstaInfo1033 *info1033;/* [unique,case(1033)] */
	struct wkssvc_NetWkstaInfo1041 *info1041;/* [unique,case(1041)] */
	struct wkssvc_NetWkstaInfo1042 *info1042;/* [unique,case(1042)] */
	struct wkssvc_NetWkstaInfo1043 *info1043;/* [unique,case(1043)] */
	struct wkssvc_NetWkstaInfo1044 *info1044;/* [unique,case(1044)] */
	struct wkssvc_NetWkstaInfo1045 *info1045;/* [unique,case(1045)] */
	struct wkssvc_NetWkstaInfo1046 *info1046;/* [unique,case(1046)] */
	struct wkssvc_NetWkstaInfo1047 *info1047;/* [unique,case(1047)] */
	struct wkssvc_NetWkstaInfo1048 *info1048;/* [unique,case(1048)] */
	struct wkssvc_NetWkstaInfo1049 *info1049;/* [unique,case(1049)] */
	struct wkssvc_NetWkstaInfo1050 *info1050;/* [unique,case(1050)] */
	struct wkssvc_NetWkstaInfo1051 *info1051;/* [unique,case(1051)] */
	struct wkssvc_NetWkstaInfo1052 *info1052;/* [unique,case(1052)] */
	struct wkssvc_NetWkstaInfo1053 *info1053;/* [unique,case(1053)] */
	struct wkssvc_NetWkstaInfo1054 *info1054;/* [unique,case(1054)] */
	struct wkssvc_NetWkstaInfo1055 *info1055;/* [unique,case(1055)] */
	struct wkssvc_NetWkstaInfo1056 *info1056;/* [unique,case(1056)] */
	struct wkssvc_NetWkstaInfo1057 *info1057;/* [unique,case(1057)] */
	struct wkssvc_NetWkstaInfo1058 *info1058;/* [unique,case(1058)] */
	struct wkssvc_NetWkstaInfo1059 *info1059;/* [unique,case(1059)] */
	struct wkssvc_NetWkstaInfo1060 *info1060;/* [unique,case(1060)] */
	struct wkssvc_NetWkstaInfo1061 *info1061;/* [unique,case(1061)] */
	struct wkssvc_NetWkstaInfo1062 *info1062;/* [unique,case(1062)] */
};

struct wkssvc_NetrWkstaUserInfo0 {
	const char *user_name;/* [unique,charset(UTF16)] */
};

struct wkssvc_NetWkstaEnumUsersCtr0 {
	uint32_t entries_read;
	struct wkssvc_NetrWkstaUserInfo0 *user0;/* [unique,size_is(entries_read)] */
};

struct wkssvc_NetrWkstaUserInfo1 {
	const char *user_name;/* [unique,charset(UTF16)] */
	const char *logon_domain;/* [unique,charset(UTF16)] */
	const char *other_domains;/* [unique,charset(UTF16)] */
	const char *logon_server;/* [unique,charset(UTF16)] */
};

struct wkssvc_NetWkstaEnumUsersCtr1 {
	uint32_t entries_read;
	struct wkssvc_NetrWkstaUserInfo1 *user1;/* [unique,size_is(entries_read)] */
};

union wkssvc_NetWkstaEnumUsersCtr {
	struct wkssvc_NetWkstaEnumUsersCtr0 *user0;/* [unique,case(0)] */
	struct wkssvc_NetWkstaEnumUsersCtr1 *user1;/* [unique,case] */
}/* [switch_type(uint32)] */;

struct wkssvc_NetWkstaEnumUsersInfo {
	uint32_t level;
	union wkssvc_NetWkstaEnumUsersCtr ctr;/* [switch_is(level)] */
};

struct wkssvc_NetrWkstaUserInfo1101 {
	const char *other_domains;/* [unique,charset(UTF16)] */
};

union wkssvc_NetrWkstaUserInfo {
	struct wkssvc_NetrWkstaUserInfo0 *info0;/* [unique,case(0)] */
	struct wkssvc_NetrWkstaUserInfo1 *info1;/* [unique,case] */
	struct wkssvc_NetrWkstaUserInfo1101 *info1101;/* [unique,case(1101)] */
}/* [switch_type(uint32)] */;

struct wkssvc_NetWkstaTransportInfo0 {
	uint32_t quality_of_service;
	uint32_t vc_count;
	const char *name;/* [unique,charset(UTF16)] */
	const char *address;/* [unique,charset(UTF16)] */
	uint32_t wan_link;
};

struct wkssvc_NetWkstaTransportCtr0 {
	uint32_t count;
	struct wkssvc_NetWkstaTransportInfo0 *array;/* [unique,size_is(count)] */
};

union wkssvc_NetWkstaTransportCtr {
	struct wkssvc_NetWkstaTransportCtr0 *ctr0;/* [unique,case(0)] */
};

struct wkssvc_NetWkstaTransportInfo {
	uint32_t level;
	union wkssvc_NetWkstaTransportCtr ctr;/* [switch_is(level)] */
};

struct wkssvc_NetrUseInfo3 {
	const char *unknown1;/* [unique,charset(UTF16)] */
	const char *unknown2;/* [unique,charset(UTF16)] */
};

struct wkssvc_NetrUseInfo2 {
	const char *local;/* [unique,charset(UTF16)] */
	const char *remote;/* [unique,charset(UTF16)] */
	const char *password;/* [unique,charset(UTF16)] */
	uint32_t status;
	uint32_t asg_type;
	uint32_t ref_count;
	uint32_t use_count;
	const char *user_name;/* [unique,charset(UTF16)] */
	const char *domain_name;/* [unique,charset(UTF16)] */
};

struct wkssvc_NetrUseInfo1 {
	const char *local;/* [unique,charset(UTF16)] */
	const char *remote;/* [unique,charset(UTF16)] */
	const char *password;/* [unique,charset(UTF16)] */
	uint32_t status;
	uint32_t asg_type;
	uint32_t ref_count;
	uint32_t use_count;
};

struct wkssvc_NetrUseInfo0 {
	const char *local;/* [unique,charset(UTF16)] */
	const char *remote;/* [unique,charset(UTF16)] */
};

union wkssvc_NetrUseGetInfoCtr {
	struct wkssvc_NetrUseInfo0 *info0;/* [unique,case(0)] */
	struct wkssvc_NetrUseInfo1 *info1;/* [unique,case] */
	struct wkssvc_NetrUseInfo2 *info2;/* [unique,case(2)] */
	struct wkssvc_NetrUseInfo3 *info3;/* [unique,case(3)] */
}/* [switch_type(uint32)] */;

struct wkssvc_NetrUseEnumCtr2 {
	uint32_t count;
	struct wkssvc_NetrUseInfo2 *array;/* [unique,size_is(count)] */
};

struct wkssvc_NetrUseEnumCtr1 {
	uint32_t count;
	struct wkssvc_NetrUseInfo1 *array;/* [unique,size_is(count)] */
};

struct wkssvc_NetrUseEnumCtr0 {
	uint32_t count;
	struct wkssvc_NetrUseInfo0 *array;/* [unique,size_is(count)] */
};

union wkssvc_NetrUseEnumCtr {
	struct wkssvc_NetrUseEnumCtr0 *ctr0;/* [unique,case(0)] */
	struct wkssvc_NetrUseEnumCtr1 *ctr1;/* [unique,case] */
	struct wkssvc_NetrUseEnumCtr2 *ctr2;/* [unique,case(2)] */
}/* [switch_type(uint32)] */;

struct wkssvc_NetrUseEnumInfo {
	uint32_t level;
	union wkssvc_NetrUseEnumCtr ctr;/* [switch_is(level)] */
};

struct wkssvc_NetrWorkstationStatistics {
	uint64_t unknown1;
	uint64_t unknown2;
	uint64_t unknown3;
	uint64_t unknown4;
	uint64_t unknown5;
	uint64_t unknown6;
	uint64_t unknown7;
	uint64_t unknown8;
	uint64_t unknown9;
	uint64_t unknown10;
	uint64_t unknown11;
	uint64_t unknown12;
	uint64_t unknown13;
	uint32_t unknown14;
	uint32_t unknown15;
	uint32_t unknown16;
	uint32_t unknown17;
	uint32_t unknown18;
	uint32_t unknown19;
	uint32_t unknown20;
	uint32_t unknown21;
	uint32_t unknown22;
	uint32_t unknown23;
	uint32_t unknown24;
	uint32_t unknown25;
	uint32_t unknown26;
	uint32_t unknown27;
	uint32_t unknown28;
	uint32_t unknown29;
	uint32_t unknown30;
	uint32_t unknown31;
	uint32_t unknown32;
	uint32_t unknown33;
	uint32_t unknown34;
	uint32_t unknown35;
	uint32_t unknown36;
	uint32_t unknown37;
	uint32_t unknown38;
	uint32_t unknown39;
	uint32_t unknown40;
};

/* bitmap wkssvc_renameflags */
#define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )

enum wkssvc_NetValidateNameType
#ifndef USE_UINT_ENUMS
 {
	NetSetupUnknown=0,
	NetSetupMachine=1,
	NetSetupWorkgroup=2,
	NetSetupDomain=3,
	NetSetupNonExistentDomain=4,
	NetSetupDnsMachine=5
}
#else
 { __donnot_use_enum_wkssvc_NetValidateNameType=0x7FFFFFFF}
#define NetSetupUnknown ( 0 )
#define NetSetupMachine ( 1 )
#define NetSetupWorkgroup ( 2 )
#define NetSetupDomain ( 3 )
#define NetSetupNonExistentDomain ( 4 )
#define NetSetupDnsMachine ( 5 )
#endif
;

enum wkssvc_NetJoinStatus
#ifndef USE_UINT_ENUMS
 {
	NET_SETUP_UNKNOWN_STATUS=0,
	NET_SETUP_UNJOINED=1,
	NET_SETUP_WORKGROUP_NAME=2,
	NET_SETUP_DOMAIN_NAME=3
}
#else
 { __donnot_use_enum_wkssvc_NetJoinStatus=0x7FFFFFFF}
#define NET_SETUP_UNKNOWN_STATUS ( 0 )
#define NET_SETUP_UNJOINED ( 1 )
#define NET_SETUP_WORKGROUP_NAME ( 2 )
#define NET_SETUP_DOMAIN_NAME ( 3 )
#endif
;

struct wkssvc_PasswordBuffer {
	uint8_t data[524];
}/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;

/* bitmap wkssvc_joinflags */
#define WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME ( 0x00000400 )
#define WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT ( 0x00000200 )
#define WKSSVC_JOIN_FLAGS_DEFER_SPN ( 0x00000100 )
#define WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED ( 0x00000080 )
#define WKSSVC_JOIN_FLAGS_JOIN_UNSECURE ( 0x00000040 )
#define WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED ( 0x00000020 )
#define WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE ( 0x00000010 )
#define WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE ( 0x00000004 )
#define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
#define WKSSVC_JOIN_FLAGS_JOIN_TYPE ( 0x00000001 )

enum wkssvc_ComputerNameType
#ifndef USE_UINT_ENUMS
 {
	NetPrimaryComputerName=0,
	NetAlternateComputerNames=1,
	NetAllComputerNames=2,
	NetComputerNameTypeMax=3
}
#else
 { __donnot_use_enum_wkssvc_ComputerNameType=0x7FFFFFFF}
#define NetPrimaryComputerName ( 0 )
#define NetAlternateComputerNames ( 1 )
#define NetAllComputerNames ( 2 )
#define NetComputerNameTypeMax ( 3 )
#endif
;

struct wkssvc_ComputerNamesCtr {
	uint32_t count;
	struct lsa_String *computer_name;/* [unique,size_is(count)] */
};


struct wkssvc_NetWkstaGetInfo {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		uint32_t level;
	} in;

	struct {
		union wkssvc_NetWkstaInfo *info;/* [ref,switch_is(level)] */
		WERROR result;
	} out;

};


struct wkssvc_NetWkstaSetInfo {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		uint32_t level;
		union wkssvc_NetWkstaInfo *info;/* [ref,switch_is(level)] */
		uint32_t *parm_error;/* [ref] */
	} in;

	struct {
		uint32_t *parm_error;/* [ref] */
		WERROR result;
	} out;

};


struct wkssvc_NetWkstaEnumUsers {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		uint32_t prefmaxlen;
		struct wkssvc_NetWkstaEnumUsersInfo *info;/* [ref] */
		uint32_t *resume_handle;/* [unique] */
	} in;

	struct {
		uint32_t *entries_read;/* [ref] */
		struct wkssvc_NetWkstaEnumUsersInfo *info;/* [ref] */
		uint32_t *resume_handle;/* [unique] */
		WERROR result;
	} out;

};


struct wkssvc_NetrWkstaUserGetInfo {
	struct {
		const char *unknown;/* [unique,charset(UTF16)] */
		uint32_t level;
	} in;

	struct {
		union wkssvc_NetrWkstaUserInfo *info;/* [ref,switch_is(level)] */
		WERROR result;
	} out;

};


struct wkssvc_NetrWkstaUserSetInfo {
	struct {
		const char *unknown;/* [unique,charset(UTF16)] */
		uint32_t level;
		union wkssvc_NetrWkstaUserInfo *info;/* [ref,switch_is(level)] */
		uint32_t *parm_err;/* [unique] */
	} in;

	struct {
		uint32_t *parm_err;/* [unique] */
		WERROR result;
	} out;

};


struct wkssvc_NetWkstaTransportEnum {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		uint32_t max_buffer;
		struct wkssvc_NetWkstaTransportInfo *info;/* [ref] */
		uint32_t *resume_handle;/* [unique] */
	} in;

	struct {
		uint32_t *total_entries;/* [ref] */
		struct wkssvc_NetWkstaTransportInfo *info;/* [ref] */
		uint32_t *resume_handle;/* [unique] */
		WERROR result;
	} out;

};


struct wkssvc_NetrWkstaTransportAdd {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		uint32_t level;
		struct wkssvc_NetWkstaTransportInfo0 *info0;/* [ref] */
		uint32_t *parm_err;/* [unique] */
	} in;

	struct {
		uint32_t *parm_err;/* [unique] */
		WERROR result;
	} out;

};


struct wkssvc_NetrWkstaTransportDel {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *transport_name;/* [unique,charset(UTF16)] */
		uint32_t unknown3;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrUseAdd {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		uint32_t level;
		union wkssvc_NetrUseGetInfoCtr *ctr;/* [ref,switch_is(level)] */
		uint32_t *parm_err;/* [unique] */
	} in;

	struct {
		uint32_t *parm_err;/* [unique] */
		WERROR result;
	} out;

};


struct wkssvc_NetrUseGetInfo {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *use_name;/* [ref,charset(UTF16)] */
		uint32_t level;
	} in;

	struct {
		union wkssvc_NetrUseGetInfoCtr *ctr;/* [ref,switch_is(level)] */
		WERROR result;
	} out;

};


struct wkssvc_NetrUseDel {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *use_name;/* [ref,charset(UTF16)] */
		uint32_t force_cond;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrUseEnum {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		uint32_t prefmaxlen;
		struct wkssvc_NetrUseEnumInfo *info;/* [ref] */
		uint32_t *resume_handle;/* [unique] */
	} in;

	struct {
		uint32_t *entries_read;/* [ref] */
		struct wkssvc_NetrUseEnumInfo *info;/* [ref] */
		uint32_t *resume_handle;/* [unique] */
		WERROR result;
	} out;

};


struct wkssvc_NetrMessageBufferSend {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *message_name;/* [ref,charset(UTF16)] */
		const char *message_sender_name;/* [unique,charset(UTF16)] */
		uint8_t *message_buffer;/* [ref,size_is(message_size)] */
		uint32_t message_size;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrWorkstationStatisticsGet {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *unknown2;/* [unique,charset(UTF16)] */
		uint32_t unknown3;
		uint32_t unknown4;
	} in;

	struct {
		struct wkssvc_NetrWorkstationStatistics **info;/* [ref] */
		WERROR result;
	} out;

};


struct wkssvc_NetrLogonDomainNameAdd {
	struct {
		const char *domain_name;/* [ref,charset(UTF16)] */
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrLogonDomainNameDel {
	struct {
		const char *domain_name;/* [ref,charset(UTF16)] */
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrJoinDomain {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *domain_name;/* [ref,charset(UTF16)] */
		const char *account_ou;/* [unique,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		const char *password;/* [unique,charset(UTF16)] */
		uint32_t join_flags;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrUnjoinDomain {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		const char *password;/* [unique,charset(UTF16)] */
		uint32_t unjoin_flags;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrRenameMachineInDomain {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *NewMachineName;/* [unique,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		const char *password;/* [unique,charset(UTF16)] */
		uint32_t RenameOptions;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrValidateName {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *name;/* [ref,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		const char *Password;/* [unique,charset(UTF16)] */
		enum wkssvc_NetValidateNameType name_type;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrGetJoinInformation {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char **name_buffer;/* [ref,charset(UTF16)] */
	} in;

	struct {
		enum wkssvc_NetJoinStatus *name_type;/* [ref] */
		const char **name_buffer;/* [ref,charset(UTF16)] */
		WERROR result;
	} out;

};


struct wkssvc_NetrGetJoinableOus {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *domain_name;/* [ref,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		const char *unknown;/* [unique,charset(UTF16)] */
		uint32_t *num_ous;/* [ref] */
	} in;

	struct {
		const char ***ous;/* [ref,charset(UTF16),size_is(,*num_ous)] */
		uint32_t *num_ous;/* [ref] */
		WERROR result;
	} out;

};


struct wkssvc_NetrJoinDomain2 {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *domain_name;/* [ref,charset(UTF16)] */
		const char *account_ou;/* [unique,charset(UTF16)] */
		const char *admin_account;/* [unique,charset(UTF16)] */
		struct wkssvc_PasswordBuffer *encrypted_password;/* [unique] */
		uint32_t join_flags;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrUnjoinDomain2 {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *account;/* [unique,charset(UTF16)] */
		struct wkssvc_PasswordBuffer *encrypted_password;/* [unique] */
		uint32_t unjoin_flags;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrRenameMachineInDomain2 {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *NewMachineName;/* [unique,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
		uint32_t RenameOptions;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrValidateName2 {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *name;/* [ref,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
		enum wkssvc_NetValidateNameType name_type;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrGetJoinableOus2 {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *domain_name;/* [ref,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
		uint32_t *num_ous;/* [ref] */
	} in;

	struct {
		const char ***ous;/* [ref,charset(UTF16),size_is(,*num_ous)] */
		uint32_t *num_ous;/* [ref] */
		WERROR result;
	} out;

};


struct wkssvc_NetrAddAlternateComputerName {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *NewAlternateMachineName;/* [unique,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
		uint32_t Reserved;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrRemoveAlternateComputerName {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *AlternateMachineNameToRemove;/* [unique,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
		uint32_t Reserved;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrSetPrimaryComputername {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		const char *primary_name;/* [unique,charset(UTF16)] */
		const char *Account;/* [unique,charset(UTF16)] */
		struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique] */
		uint32_t Reserved;
	} in;

	struct {
		WERROR result;
	} out;

};


struct wkssvc_NetrEnumerateComputerNames {
	struct {
		const char *server_name;/* [unique,charset(UTF16)] */
		enum wkssvc_ComputerNameType name_type;
		uint32_t Reserved;
	} in;

	struct {
		struct wkssvc_ComputerNamesCtr **ctr;/* [ref] */
		WERROR result;
	} out;

};

#endif /* _HEADER_wkssvc */