1 /* header auto-generated by pidl */
5 #include "librpc/gen_ndr/srvsvc.h"
6 #include "librpc/gen_ndr/lsa.h"
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
{
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
;
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
{
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
{
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
{
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
;
286 const char *name
;/* [unique,charset(UTF16)] */
287 const char *address
;/* [unique,charset(UTF16)] */
291 struct wkssvc_NetWkstaTransportCtr0
{
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
{
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)] */
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)] */
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
{
346 struct wkssvc_NetrUseInfo2
*array
;/* [unique,size_is(count)] */
349 struct wkssvc_NetrUseEnumCtr1
{
351 struct wkssvc_NetrUseInfo1
*array
;/* [unique,size_is(count)] */
354 struct wkssvc_NetrUseEnumCtr0
{
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
{
367 union wkssvc_NetrUseEnumCtr ctr
;/* [switch_is(level)] */
370 struct wkssvc_NetrWorkstationStatistics
{
413 /* bitmap wkssvc_renameflags */
414 #define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
416 enum wkssvc_NetValidateNameType
417 #ifndef USE_UINT_ENUMS
423 NetSetupNonExistentDomain
=4,
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 )
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
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 )
454 struct wkssvc_PasswordBuffer
{
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
479 { __donnot_use_enum_wkssvc_ComputerNameType
=0x7FFFFFFF}
480 #define NetPrimaryComputerName ( 0 )
481 #define NetAlternateComputerNames ( 1 )
482 #define NetAllComputerNames ( 2 )
483 #define NetComputerNameTypeMax ( 3 )
487 struct wkssvc_ComputerNamesCtr
{
489 struct lsa_String
*computer_name
;/* [unique,size_is(count)] */
493 struct wkssvc_NetWkstaGetInfo
{
495 const char *server_name
;/* [unique,charset(UTF16)] */
500 union wkssvc_NetWkstaInfo
*info
;/* [ref,switch_is(level)] */
507 struct wkssvc_NetWkstaSetInfo
{
509 const char *server_name
;/* [unique,charset(UTF16)] */
511 union wkssvc_NetWkstaInfo
*info
;/* [ref,switch_is(level)] */
512 uint32_t *parm_error
;/* [ref] */
516 uint32_t *parm_error
;/* [ref] */
523 struct wkssvc_NetWkstaEnumUsers
{
525 const char *server_name
;/* [unique,charset(UTF16)] */
527 struct wkssvc_NetWkstaEnumUsersInfo
*info
;/* [ref] */
528 uint32_t *resume_handle
;/* [unique] */
532 uint32_t *entries_read
;/* [ref] */
533 struct wkssvc_NetWkstaEnumUsersInfo
*info
;/* [ref] */
534 uint32_t *resume_handle
;/* [unique] */
541 struct wkssvc_NetrWkstaUserGetInfo
{
543 const char *unknown
;/* [unique,charset(UTF16)] */
548 union wkssvc_NetrWkstaUserInfo
*info
;/* [ref,switch_is(level)] */
555 struct wkssvc_NetrWkstaUserSetInfo
{
557 const char *unknown
;/* [unique,charset(UTF16)] */
559 union wkssvc_NetrWkstaUserInfo
*info
;/* [ref,switch_is(level)] */
560 uint32_t *parm_err
;/* [unique] */
564 uint32_t *parm_err
;/* [unique] */
571 struct wkssvc_NetWkstaTransportEnum
{
573 const char *server_name
;/* [unique,charset(UTF16)] */
575 struct wkssvc_NetWkstaTransportInfo
*info
;/* [ref] */
576 uint32_t *resume_handle
;/* [unique] */
580 uint32_t *total_entries
;/* [ref] */
581 struct wkssvc_NetWkstaTransportInfo
*info
;/* [ref] */
582 uint32_t *resume_handle
;/* [unique] */
589 struct wkssvc_NetrWkstaTransportAdd
{
591 const char *server_name
;/* [unique,charset(UTF16)] */
593 struct wkssvc_NetWkstaTransportInfo0
*info0
;/* [ref] */
594 uint32_t *parm_err
;/* [unique] */
598 uint32_t *parm_err
;/* [unique] */
605 struct wkssvc_NetrWkstaTransportDel
{
607 const char *server_name
;/* [unique,charset(UTF16)] */
608 const char *transport_name
;/* [unique,charset(UTF16)] */
619 struct wkssvc_NetrUseAdd
{
621 const char *server_name
;/* [unique,charset(UTF16)] */
623 union wkssvc_NetrUseGetInfoCtr
*ctr
;/* [ref,switch_is(level)] */
624 uint32_t *parm_err
;/* [unique] */
628 uint32_t *parm_err
;/* [unique] */
635 struct wkssvc_NetrUseGetInfo
{
637 const char *server_name
;/* [unique,charset(UTF16)] */
638 const char *use_name
;/* [ref,charset(UTF16)] */
643 union wkssvc_NetrUseGetInfoCtr
*ctr
;/* [ref,switch_is(level)] */
650 struct wkssvc_NetrUseDel
{
652 const char *server_name
;/* [unique,charset(UTF16)] */
653 const char *use_name
;/* [ref,charset(UTF16)] */
664 struct wkssvc_NetrUseEnum
{
666 const char *server_name
;/* [unique,charset(UTF16)] */
668 struct wkssvc_NetrUseEnumInfo
*info
;/* [ref] */
669 uint32_t *resume_handle
;/* [unique] */
673 uint32_t *entries_read
;/* [ref] */
674 struct wkssvc_NetrUseEnumInfo
*info
;/* [ref] */
675 uint32_t *resume_handle
;/* [unique] */
682 struct wkssvc_NetrMessageBufferSend
{
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
;
698 struct wkssvc_NetrWorkstationStatisticsGet
{
700 const char *server_name
;/* [unique,charset(UTF16)] */
701 const char *unknown2
;/* [unique,charset(UTF16)] */
707 struct wkssvc_NetrWorkstationStatistics
**info
;/* [ref] */
714 struct wkssvc_NetrLogonDomainNameAdd
{
716 const char *domain_name
;/* [ref,charset(UTF16)] */
726 struct wkssvc_NetrLogonDomainNameDel
{
728 const char *domain_name
;/* [ref,charset(UTF16)] */
738 struct wkssvc_NetrJoinDomain
{
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)] */
755 struct wkssvc_NetrUnjoinDomain
{
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
;
770 struct wkssvc_NetrRenameMachineInDomain
{
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
;
786 struct wkssvc_NetrValidateName
{
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
;
802 struct wkssvc_NetrGetJoinInformation
{
804 const char *server_name
;/* [unique,charset(UTF16)] */
805 const char **name_buffer
;/* [ref,charset(UTF16)] */
809 enum wkssvc_NetJoinStatus
*name_type
;/* [ref] */
810 const char **name_buffer
;/* [ref,charset(UTF16)] */
817 struct wkssvc_NetrGetJoinableOus
{
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] */
827 const char ***ous
;/* [ref,charset(UTF16),size_is(,*num_ous)] */
828 uint32_t *num_ous
;/* [ref] */
835 struct wkssvc_NetrJoinDomain2
{
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] */
852 struct wkssvc_NetrUnjoinDomain2
{
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
;
867 struct wkssvc_NetrRenameMachineInDomain2
{
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
;
883 struct wkssvc_NetrValidateName2
{
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
;
899 struct wkssvc_NetrGetJoinableOus2
{
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] */
909 const char ***ous
;/* [ref,charset(UTF16),size_is(,*num_ous)] */
910 uint32_t *num_ous
;/* [ref] */
917 struct wkssvc_NetrAddAlternateComputerName
{
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] */
933 struct wkssvc_NetrRemoveAlternateComputerName
{
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] */
949 struct wkssvc_NetrSetPrimaryComputername
{
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] */
965 struct wkssvc_NetrEnumerateComputerNames
{
967 const char *server_name
;/* [unique,charset(UTF16)] */
968 enum wkssvc_ComputerNameType name_type
;
973 struct wkssvc_ComputerNamesCtr
**ctr
;/* [ref] */
979 #endif /* _HEADER_wkssvc */