1 /* header auto-generated by pidl */
5 #include "librpc/gen_ndr/srvsvc.h"
6 #include "librpc/gen_ndr/lsa.h"
10 enum srvsvc_PlatformId
;
12 struct wkssvc_NetWkstaInfo100
{
13 enum srvsvc_PlatformId platform_id
;
14 const char *server_name
;/* [unique,charset(UTF16)] */
15 const char *domain_name
;/* [unique,charset(UTF16)] */
16 uint32_t version_major
;
17 uint32_t version_minor
;
20 struct wkssvc_NetWkstaInfo101
{
21 enum srvsvc_PlatformId platform_id
;
22 const char *server_name
;/* [unique,charset(UTF16)] */
23 const char *domain_name
;/* [unique,charset(UTF16)] */
24 uint32_t version_major
;
25 uint32_t version_minor
;
26 const char *lan_root
;/* [unique,charset(UTF16)] */
29 struct wkssvc_NetWkstaInfo102
{
30 enum srvsvc_PlatformId platform_id
;
31 const char *server_name
;/* [unique,charset(UTF16)] */
32 const char *domain_name
;/* [unique,charset(UTF16)] */
33 uint32_t version_major
;
34 uint32_t version_minor
;
35 const char *lan_root
;/* [unique,charset(UTF16)] */
36 uint32_t logged_on_users
;
39 struct wkssvc_NetWkstaInfo502
{
41 uint32_t collection_time
;
42 uint32_t maximum_collection_count
;
43 uint32_t keep_connection
;
44 uint32_t max_commands
;
45 uint32_t session_timeout
;
46 uint32_t size_char_buf
;
49 uint32_t lock_increment
;
50 uint32_t lock_maximum
;
51 uint32_t pipe_increment
;
52 uint32_t pipe_maximum
;
53 uint32_t cache_file_timeout
;
54 uint32_t dormant_file_limit
;
55 uint32_t read_ahead_throughput
;
56 uint32_t num_mailslot_buffers
;
57 uint32_t num_srv_announce_buffers
;
58 uint32_t max_illegal_dgram_events
;
59 uint32_t dgram_event_reset_freq
;
60 uint32_t log_election_packets
;
61 uint32_t use_opportunistic_locking
;
62 uint32_t use_unlock_behind
;
63 uint32_t use_close_behind
;
64 uint32_t buf_named_pipes
;
65 uint32_t use_lock_read_unlock
;
66 uint32_t utilize_nt_caching
;
67 uint32_t use_raw_read
;
68 uint32_t use_raw_write
;
69 uint32_t use_write_raw_data
;
70 uint32_t use_encryption
;
71 uint32_t buf_files_deny_write
;
72 uint32_t buf_read_only_files
;
73 uint32_t force_core_create_mode
;
74 uint32_t use_512_byte_max_transfer
;
77 struct wkssvc_NetWkstaInfo1010
{
81 struct wkssvc_NetWkstaInfo1011
{
82 uint32_t collection_time
;
85 struct wkssvc_NetWkstaInfo1012
{
86 uint32_t maximum_collection_count
;
89 struct wkssvc_NetWkstaInfo1013
{
90 uint32_t keep_connection
;
93 struct wkssvc_NetWkstaInfo1018
{
94 uint32_t session_timeout
;
97 struct wkssvc_NetWkstaInfo1023
{
98 uint32_t size_char_buf
;
101 struct wkssvc_NetWkstaInfo1027
{
102 uint32_t errorlog_sz
;
105 struct wkssvc_NetWkstaInfo1028
{
106 uint32_t print_buf_time
;
109 struct wkssvc_NetWkstaInfo1032
{
110 uint32_t wrk_heuristics
;
113 struct wkssvc_NetWkstaInfo1033
{
114 uint32_t max_threads
;
117 struct wkssvc_NetWkstaInfo1041
{
121 struct wkssvc_NetWkstaInfo1042
{
122 uint32_t lock_increment
;
125 struct wkssvc_NetWkstaInfo1043
{
126 uint32_t lock_maximum
;
129 struct wkssvc_NetWkstaInfo1044
{
130 uint32_t pipe_increment
;
133 struct wkssvc_NetWkstaInfo1045
{
134 uint32_t pipe_maximum
;
137 struct wkssvc_NetWkstaInfo1046
{
138 uint32_t dormant_file_limit
;
141 struct wkssvc_NetWkstaInfo1047
{
142 uint32_t cache_file_timeout
;
145 struct wkssvc_NetWkstaInfo1048
{
146 uint32_t use_opportunistic_locking
;
149 struct wkssvc_NetWkstaInfo1049
{
150 uint32_t use_unlock_behind
;
153 struct wkssvc_NetWkstaInfo1050
{
154 uint32_t use_close_behind
;
157 struct wkssvc_NetWkstaInfo1051
{
158 uint32_t buf_named_pipes
;
161 struct wkssvc_NetWkstaInfo1052
{
162 uint32_t use_lock_read_unlock
;
165 struct wkssvc_NetWkstaInfo1053
{
166 uint32_t utilize_nt_caching
;
169 struct wkssvc_NetWkstaInfo1054
{
170 uint32_t use_raw_read
;
173 struct wkssvc_NetWkstaInfo1055
{
174 uint32_t use_raw_write
;
177 struct wkssvc_NetWkstaInfo1056
{
178 uint32_t use_write_raw_data
;
181 struct wkssvc_NetWkstaInfo1057
{
182 uint32_t use_encryption
;
185 struct wkssvc_NetWkstaInfo1058
{
186 uint32_t buf_files_deny_write
;
189 struct wkssvc_NetWkstaInfo1059
{
190 uint32_t buf_read_only_files
;
193 struct wkssvc_NetWkstaInfo1060
{
194 uint32_t force_core_create_mode
;
197 struct wkssvc_NetWkstaInfo1061
{
198 uint32_t use_512_byte_max_transfer
;
201 struct wkssvc_NetWkstaInfo1062
{
202 uint32_t read_ahead_throughput
;
205 union wkssvc_NetWkstaInfo
{
206 struct wkssvc_NetWkstaInfo100
*info100
;/* [unique,case(100)] */
207 struct wkssvc_NetWkstaInfo101
*info101
;/* [unique,case(101)] */
208 struct wkssvc_NetWkstaInfo102
*info102
;/* [unique,case(102)] */
209 struct wkssvc_NetWkstaInfo502
*info502
;/* [unique,case(502)] */
210 struct wkssvc_NetWkstaInfo1010
*info1010
;/* [unique,case(1010)] */
211 struct wkssvc_NetWkstaInfo1011
*info1011
;/* [unique,case(1011)] */
212 struct wkssvc_NetWkstaInfo1012
*info1012
;/* [unique,case(1012)] */
213 struct wkssvc_NetWkstaInfo1013
*info1013
;/* [unique,case(1013)] */
214 struct wkssvc_NetWkstaInfo1018
*info1018
;/* [unique,case(1018)] */
215 struct wkssvc_NetWkstaInfo1023
*info1023
;/* [unique,case(1023)] */
216 struct wkssvc_NetWkstaInfo1027
*info1027
;/* [unique,case(1027)] */
217 struct wkssvc_NetWkstaInfo1028
*info1028
;/* [unique,case(1028)] */
218 struct wkssvc_NetWkstaInfo1032
*info1032
;/* [unique,case(1032)] */
219 struct wkssvc_NetWkstaInfo1033
*info1033
;/* [unique,case(1033)] */
220 struct wkssvc_NetWkstaInfo1041
*info1041
;/* [unique,case(1041)] */
221 struct wkssvc_NetWkstaInfo1042
*info1042
;/* [unique,case(1042)] */
222 struct wkssvc_NetWkstaInfo1043
*info1043
;/* [unique,case(1043)] */
223 struct wkssvc_NetWkstaInfo1044
*info1044
;/* [unique,case(1044)] */
224 struct wkssvc_NetWkstaInfo1045
*info1045
;/* [unique,case(1045)] */
225 struct wkssvc_NetWkstaInfo1046
*info1046
;/* [unique,case(1046)] */
226 struct wkssvc_NetWkstaInfo1047
*info1047
;/* [unique,case(1047)] */
227 struct wkssvc_NetWkstaInfo1048
*info1048
;/* [unique,case(1048)] */
228 struct wkssvc_NetWkstaInfo1049
*info1049
;/* [unique,case(1049)] */
229 struct wkssvc_NetWkstaInfo1050
*info1050
;/* [unique,case(1050)] */
230 struct wkssvc_NetWkstaInfo1051
*info1051
;/* [unique,case(1051)] */
231 struct wkssvc_NetWkstaInfo1052
*info1052
;/* [unique,case(1052)] */
232 struct wkssvc_NetWkstaInfo1053
*info1053
;/* [unique,case(1053)] */
233 struct wkssvc_NetWkstaInfo1054
*info1054
;/* [unique,case(1054)] */
234 struct wkssvc_NetWkstaInfo1055
*info1055
;/* [unique,case(1055)] */
235 struct wkssvc_NetWkstaInfo1056
*info1056
;/* [unique,case(1056)] */
236 struct wkssvc_NetWkstaInfo1057
*info1057
;/* [unique,case(1057)] */
237 struct wkssvc_NetWkstaInfo1058
*info1058
;/* [unique,case(1058)] */
238 struct wkssvc_NetWkstaInfo1059
*info1059
;/* [unique,case(1059)] */
239 struct wkssvc_NetWkstaInfo1060
*info1060
;/* [unique,case(1060)] */
240 struct wkssvc_NetWkstaInfo1061
*info1061
;/* [unique,case(1061)] */
241 struct wkssvc_NetWkstaInfo1062
*info1062
;/* [unique,case(1062)] */
244 struct wkssvc_NetrWkstaUserInfo0
{
245 const char *user_name
;/* [unique,charset(UTF16)] */
248 struct wkssvc_NetWkstaEnumUsersCtr0
{
249 uint32_t entries_read
;
250 struct wkssvc_NetrWkstaUserInfo0
*user0
;/* [unique,size_is(entries_read)] */
253 struct wkssvc_NetrWkstaUserInfo1
{
254 const char *user_name
;/* [unique,charset(UTF16)] */
255 const char *logon_domain
;/* [unique,charset(UTF16)] */
256 const char *other_domains
;/* [unique,charset(UTF16)] */
257 const char *logon_server
;/* [unique,charset(UTF16)] */
260 struct wkssvc_NetWkstaEnumUsersCtr1
{
261 uint32_t entries_read
;
262 struct wkssvc_NetrWkstaUserInfo1
*user1
;/* [unique,size_is(entries_read)] */
265 union wkssvc_NetWkstaEnumUsersCtr
{
266 struct wkssvc_NetWkstaEnumUsersCtr0
*user0
;/* [unique,case(0)] */
267 struct wkssvc_NetWkstaEnumUsersCtr1
*user1
;/* [unique,case] */
268 }/* [switch_type(uint32)] */;
270 struct wkssvc_NetWkstaEnumUsersInfo
{
272 union wkssvc_NetWkstaEnumUsersCtr ctr
;/* [switch_is(level)] */
275 struct wkssvc_NetrWkstaUserInfo1101
{
276 const char *other_domains
;/* [unique,charset(UTF16)] */
279 union wkssvc_NetrWkstaUserInfo
{
280 struct wkssvc_NetrWkstaUserInfo0
*info0
;/* [unique,case(0)] */
281 struct wkssvc_NetrWkstaUserInfo1
*info1
;/* [unique,case] */
282 struct wkssvc_NetrWkstaUserInfo1101
*info1101
;/* [unique,case(1101)] */
283 }/* [switch_type(uint32)] */;
285 struct wkssvc_NetWkstaTransportInfo0
{
286 uint32_t quality_of_service
;
288 const char *name
;/* [unique,charset(UTF16)] */
289 const char *address
;/* [unique,charset(UTF16)] */
293 struct wkssvc_NetWkstaTransportCtr0
{
295 struct wkssvc_NetWkstaTransportInfo0
*array
;/* [unique,size_is(count)] */
298 union wkssvc_NetWkstaTransportCtr
{
299 struct wkssvc_NetWkstaTransportCtr0
*ctr0
;/* [unique,case(0)] */
302 struct wkssvc_NetWkstaTransportInfo
{
304 union wkssvc_NetWkstaTransportCtr ctr
;/* [switch_is(level)] */
307 struct wkssvc_NetrUseInfo3
{
308 const char *unknown1
;/* [unique,charset(UTF16)] */
309 const char *unknown2
;/* [unique,charset(UTF16)] */
312 struct wkssvc_NetrUseInfo2
{
313 const char *local
;/* [unique,charset(UTF16)] */
314 const char *remote
;/* [unique,charset(UTF16)] */
315 const char *password
;/* [unique,charset(UTF16)] */
320 const char *user_name
;/* [unique,charset(UTF16)] */
321 const char *domain_name
;/* [unique,charset(UTF16)] */
324 struct wkssvc_NetrUseInfo1
{
325 const char *local
;/* [unique,charset(UTF16)] */
326 const char *remote
;/* [unique,charset(UTF16)] */
327 const char *password
;/* [unique,charset(UTF16)] */
334 struct wkssvc_NetrUseInfo0
{
335 const char *local
;/* [unique,charset(UTF16)] */
336 const char *remote
;/* [unique,charset(UTF16)] */
339 union wkssvc_NetrUseGetInfoCtr
{
340 struct wkssvc_NetrUseInfo0
*info0
;/* [unique,case(0)] */
341 struct wkssvc_NetrUseInfo1
*info1
;/* [unique,case] */
342 struct wkssvc_NetrUseInfo2
*info2
;/* [unique,case(2)] */
343 struct wkssvc_NetrUseInfo3
*info3
;/* [unique,case(3)] */
344 }/* [switch_type(uint32)] */;
346 struct wkssvc_NetrUseEnumCtr2
{
348 struct wkssvc_NetrUseInfo2
*array
;/* [unique,size_is(count)] */
351 struct wkssvc_NetrUseEnumCtr1
{
353 struct wkssvc_NetrUseInfo1
*array
;/* [unique,size_is(count)] */
356 struct wkssvc_NetrUseEnumCtr0
{
358 struct wkssvc_NetrUseInfo0
*array
;/* [unique,size_is(count)] */
361 union wkssvc_NetrUseEnumCtr
{
362 struct wkssvc_NetrUseEnumCtr0
*ctr0
;/* [unique,case(0)] */
363 struct wkssvc_NetrUseEnumCtr1
*ctr1
;/* [unique,case] */
364 struct wkssvc_NetrUseEnumCtr2
*ctr2
;/* [unique,case(2)] */
365 }/* [switch_type(uint32)] */;
367 struct wkssvc_NetrUseEnumInfo
{
369 union wkssvc_NetrUseEnumCtr ctr
;/* [switch_is(level)] */
372 struct wkssvc_NetrWorkstationStatistics
{
415 /* bitmap wkssvc_renameflags */
416 #define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
418 enum wkssvc_NetValidateNameType
419 #ifndef USE_UINT_ENUMS
425 NetSetupNonExistentDomain
=4,
429 { __donnot_use_enum_wkssvc_NetValidateNameType
=0x7FFFFFFF}
430 #define NetSetupUnknown ( 0 )
431 #define NetSetupMachine ( 1 )
432 #define NetSetupWorkgroup ( 2 )
433 #define NetSetupDomain ( 3 )
434 #define NetSetupNonExistentDomain ( 4 )
435 #define NetSetupDnsMachine ( 5 )
439 enum wkssvc_NetJoinStatus
440 #ifndef USE_UINT_ENUMS
442 NetSetupUnknownStatus
=0,
444 NetSetupWorkgroupName
=2,
448 { __donnot_use_enum_wkssvc_NetJoinStatus
=0x7FFFFFFF}
449 #define NetSetupUnknownStatus ( 0 )
450 #define NetSetupUnjoined ( 1 )
451 #define NetSetupWorkgroupName ( 2 )
452 #define NetSetupDomainName ( 3 )
456 struct wkssvc_PasswordBuffer
{
458 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
460 /* bitmap wkssvc_joinflags */
461 #define WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME ( 0x00000400 )
462 #define WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT ( 0x00000200 )
463 #define WKSSVC_JOIN_FLAGS_DEFER_SPN ( 0x00000100 )
464 #define WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED ( 0x00000080 )
465 #define WKSSVC_JOIN_FLAGS_JOIN_UNSECURE ( 0x00000040 )
466 #define WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED ( 0x00000020 )
467 #define WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE ( 0x00000010 )
468 #define WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE ( 0x00000004 )
469 #define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
470 #define WKSSVC_JOIN_FLAGS_JOIN_TYPE ( 0x00000001 )
472 enum wkssvc_ComputerNameType
473 #ifndef USE_UINT_ENUMS
475 NetPrimaryComputerName
=0,
476 NetAlternateComputerNames
=1,
477 NetAllComputerNames
=2,
478 NetComputerNameTypeMax
=3
481 { __donnot_use_enum_wkssvc_ComputerNameType
=0x7FFFFFFF}
482 #define NetPrimaryComputerName ( 0 )
483 #define NetAlternateComputerNames ( 1 )
484 #define NetAllComputerNames ( 2 )
485 #define NetComputerNameTypeMax ( 3 )
489 struct wkssvc_ComputerNamesCtr
{
491 struct lsa_String
*computer_name
;/* [unique,size_is(count)] */
495 struct wkssvc_NetWkstaGetInfo
{
497 const char *server_name
;/* [unique,charset(UTF16)] */
502 union wkssvc_NetWkstaInfo
*info
;/* [ref,switch_is(level)] */
509 struct wkssvc_NetWkstaSetInfo
{
511 const char *server_name
;/* [unique,charset(UTF16)] */
513 union wkssvc_NetWkstaInfo
*info
;/* [ref,switch_is(level)] */
514 uint32_t *parm_error
;/* [ref] */
518 uint32_t *parm_error
;/* [ref] */
525 struct wkssvc_NetWkstaEnumUsers
{
527 const char *server_name
;/* [unique,charset(UTF16)] */
529 struct wkssvc_NetWkstaEnumUsersInfo
*info
;/* [ref] */
530 uint32_t *resume_handle
;/* [unique] */
534 uint32_t *entries_read
;/* [ref] */
535 struct wkssvc_NetWkstaEnumUsersInfo
*info
;/* [ref] */
536 uint32_t *resume_handle
;/* [unique] */
543 struct wkssvc_NetrWkstaUserGetInfo
{
545 const char *unknown
;/* [unique,charset(UTF16)] */
550 union wkssvc_NetrWkstaUserInfo
*info
;/* [ref,switch_is(level)] */
557 struct wkssvc_NetrWkstaUserSetInfo
{
559 const char *unknown
;/* [unique,charset(UTF16)] */
561 union wkssvc_NetrWkstaUserInfo
*info
;/* [ref,switch_is(level)] */
562 uint32_t *parm_err
;/* [unique] */
566 uint32_t *parm_err
;/* [unique] */
573 struct wkssvc_NetWkstaTransportEnum
{
575 const char *server_name
;/* [unique,charset(UTF16)] */
577 struct wkssvc_NetWkstaTransportInfo
*info
;/* [ref] */
578 uint32_t *resume_handle
;/* [unique] */
582 uint32_t *total_entries
;/* [ref] */
583 struct wkssvc_NetWkstaTransportInfo
*info
;/* [ref] */
584 uint32_t *resume_handle
;/* [unique] */
591 struct wkssvc_NetrWkstaTransportAdd
{
593 const char *server_name
;/* [unique,charset(UTF16)] */
595 struct wkssvc_NetWkstaTransportInfo0
*info0
;/* [ref] */
596 uint32_t *parm_err
;/* [unique] */
600 uint32_t *parm_err
;/* [unique] */
607 struct wkssvc_NetrWkstaTransportDel
{
609 const char *server_name
;/* [unique,charset(UTF16)] */
610 const char *transport_name
;/* [unique,charset(UTF16)] */
621 struct wkssvc_NetrUseAdd
{
623 const char *server_name
;/* [unique,charset(UTF16)] */
625 union wkssvc_NetrUseGetInfoCtr
*ctr
;/* [ref,switch_is(level)] */
626 uint32_t *parm_err
;/* [unique] */
630 uint32_t *parm_err
;/* [unique] */
637 struct wkssvc_NetrUseGetInfo
{
639 const char *server_name
;/* [unique,charset(UTF16)] */
640 const char *use_name
;/* [ref,charset(UTF16)] */
645 union wkssvc_NetrUseGetInfoCtr
*ctr
;/* [ref,switch_is(level)] */
652 struct wkssvc_NetrUseDel
{
654 const char *server_name
;/* [unique,charset(UTF16)] */
655 const char *use_name
;/* [ref,charset(UTF16)] */
666 struct wkssvc_NetrUseEnum
{
668 const char *server_name
;/* [unique,charset(UTF16)] */
670 struct wkssvc_NetrUseEnumInfo
*info
;/* [ref] */
671 uint32_t *resume_handle
;/* [unique] */
675 uint32_t *entries_read
;/* [ref] */
676 struct wkssvc_NetrUseEnumInfo
*info
;/* [ref] */
677 uint32_t *resume_handle
;/* [unique] */
684 struct wkssvc_NetrMessageBufferSend
{
686 const char *server_name
;/* [unique,charset(UTF16)] */
687 const char *message_name
;/* [ref,charset(UTF16)] */
688 const char *message_sender_name
;/* [unique,charset(UTF16)] */
689 uint8_t *message_buffer
;/* [ref,size_is(message_size)] */
690 uint32_t message_size
;
700 struct wkssvc_NetrWorkstationStatisticsGet
{
702 const char *server_name
;/* [unique,charset(UTF16)] */
703 const char *unknown2
;/* [unique,charset(UTF16)] */
709 struct wkssvc_NetrWorkstationStatistics
**info
;/* [ref] */
716 struct wkssvc_NetrLogonDomainNameAdd
{
718 const char *domain_name
;/* [ref,charset(UTF16)] */
728 struct wkssvc_NetrLogonDomainNameDel
{
730 const char *domain_name
;/* [ref,charset(UTF16)] */
740 struct wkssvc_NetrJoinDomain
{
742 const char *server_name
;/* [unique,charset(UTF16)] */
743 const char *domain_name
;/* [ref,charset(UTF16)] */
744 const char *account_ou
;/* [unique,charset(UTF16)] */
745 const char *Account
;/* [unique,charset(UTF16)] */
746 const char *password
;/* [unique,charset(UTF16)] */
757 struct wkssvc_NetrUnjoinDomain
{
759 const char *server_name
;/* [unique,charset(UTF16)] */
760 const char *Account
;/* [unique,charset(UTF16)] */
761 const char *password
;/* [unique,charset(UTF16)] */
762 uint32_t unjoin_flags
;
772 struct wkssvc_NetrRenameMachineInDomain
{
774 const char *server_name
;/* [unique,charset(UTF16)] */
775 const char *NewMachineName
;/* [unique,charset(UTF16)] */
776 const char *Account
;/* [unique,charset(UTF16)] */
777 const char *password
;/* [unique,charset(UTF16)] */
778 uint32_t RenameOptions
;
788 struct wkssvc_NetrValidateName
{
790 const char *server_name
;/* [unique,charset(UTF16)] */
791 const char *name
;/* [ref,charset(UTF16)] */
792 const char *Account
;/* [unique,charset(UTF16)] */
793 const char *Password
;/* [unique,charset(UTF16)] */
794 enum wkssvc_NetValidateNameType name_type
;
804 struct wkssvc_NetrGetJoinInformation
{
806 const char *server_name
;/* [unique,charset(UTF16)] */
807 const char **name_buffer
;/* [ref,charset(UTF16)] */
811 enum wkssvc_NetJoinStatus
*name_type
;/* [ref] */
812 const char **name_buffer
;/* [ref,charset(UTF16)] */
819 struct wkssvc_NetrGetJoinableOus
{
821 const char *server_name
;/* [unique,charset(UTF16)] */
822 const char *domain_name
;/* [ref,charset(UTF16)] */
823 const char *Account
;/* [unique,charset(UTF16)] */
824 const char *unknown
;/* [unique,charset(UTF16)] */
825 uint32_t *num_ous
;/* [ref] */
829 const char ***ous
;/* [ref,charset(UTF16),size_is(,*num_ous)] */
830 uint32_t *num_ous
;/* [ref] */
837 struct wkssvc_NetrJoinDomain2
{
839 const char *server_name
;/* [unique,charset(UTF16)] */
840 const char *domain_name
;/* [ref,charset(UTF16)] */
841 const char *account_ou
;/* [unique,charset(UTF16)] */
842 const char *admin_account
;/* [unique,charset(UTF16)] */
843 struct wkssvc_PasswordBuffer
*encrypted_password
;/* [unique] */
854 struct wkssvc_NetrUnjoinDomain2
{
856 const char *server_name
;/* [unique,charset(UTF16)] */
857 const char *account
;/* [unique,charset(UTF16)] */
858 struct wkssvc_PasswordBuffer
*encrypted_password
;/* [unique] */
859 uint32_t unjoin_flags
;
869 struct wkssvc_NetrRenameMachineInDomain2
{
871 const char *server_name
;/* [unique,charset(UTF16)] */
872 const char *NewMachineName
;/* [unique,charset(UTF16)] */
873 const char *Account
;/* [unique,charset(UTF16)] */
874 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
875 uint32_t RenameOptions
;
885 struct wkssvc_NetrValidateName2
{
887 const char *server_name
;/* [unique,charset(UTF16)] */
888 const char *name
;/* [ref,charset(UTF16)] */
889 const char *Account
;/* [unique,charset(UTF16)] */
890 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
891 enum wkssvc_NetValidateNameType name_type
;
901 struct wkssvc_NetrGetJoinableOus2
{
903 const char *server_name
;/* [unique,charset(UTF16)] */
904 const char *domain_name
;/* [ref,charset(UTF16)] */
905 const char *Account
;/* [unique,charset(UTF16)] */
906 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
907 uint32_t *num_ous
;/* [ref] */
911 const char ***ous
;/* [ref,charset(UTF16),size_is(,*num_ous)] */
912 uint32_t *num_ous
;/* [ref] */
919 struct wkssvc_NetrAddAlternateComputerName
{
921 const char *server_name
;/* [unique,charset(UTF16)] */
922 const char *NewAlternateMachineName
;/* [unique,charset(UTF16)] */
923 const char *Account
;/* [unique,charset(UTF16)] */
924 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
935 struct wkssvc_NetrRemoveAlternateComputerName
{
937 const char *server_name
;/* [unique,charset(UTF16)] */
938 const char *AlternateMachineNameToRemove
;/* [unique,charset(UTF16)] */
939 const char *Account
;/* [unique,charset(UTF16)] */
940 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
951 struct wkssvc_NetrSetPrimaryComputername
{
953 const char *server_name
;/* [unique,charset(UTF16)] */
954 const char *primary_name
;/* [unique,charset(UTF16)] */
955 const char *Account
;/* [unique,charset(UTF16)] */
956 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
967 struct wkssvc_NetrEnumerateComputerNames
{
969 const char *server_name
;/* [unique,charset(UTF16)] */
970 enum wkssvc_ComputerNameType name_type
;
975 struct wkssvc_ComputerNamesCtr
**ctr
;/* [ref] */
981 #endif /* _HEADER_wkssvc */