1 /* header auto-generated by pidl */
5 #include "libcli/util/ntstatus.h"
7 #include "librpc/gen_ndr/srvsvc.h"
8 #include "librpc/gen_ndr/lsa.h"
10 #define _HEADER_wkssvc
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 NET_SETUP_UNKNOWN_STATUS
=0,
443 NET_SETUP_UNJOINED
=1,
444 NET_SETUP_WORKGROUP_NAME
=2,
445 NET_SETUP_DOMAIN_NAME
=3
448 { __donnot_use_enum_wkssvc_NetJoinStatus
=0x7FFFFFFF}
449 #define NET_SETUP_UNKNOWN_STATUS ( 0 )
450 #define NET_SETUP_UNJOINED ( 1 )
451 #define NET_SETUP_WORKGROUP_NAME ( 2 )
452 #define NET_SETUP_DOMAIN_NAME ( 3 )
456 struct wkssvc_PasswordBuffer
{
458 }/* [flag(LIBNDR_PRINT_ARRAY_HEX)] */;
460 /* bitmap wkssvc_joinflags */
461 #define WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS ( 0x10000000 )
462 #define WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME ( 0x00000400 )
463 #define WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT ( 0x00000200 )
464 #define WKSSVC_JOIN_FLAGS_DEFER_SPN ( 0x00000100 )
465 #define WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED ( 0x00000080 )
466 #define WKSSVC_JOIN_FLAGS_JOIN_UNSECURE ( 0x00000040 )
467 #define WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED ( 0x00000020 )
468 #define WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE ( 0x00000010 )
469 #define WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE ( 0x00000004 )
470 #define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 )
471 #define WKSSVC_JOIN_FLAGS_JOIN_TYPE ( 0x00000001 )
473 enum wkssvc_ComputerNameType
474 #ifndef USE_UINT_ENUMS
476 NetPrimaryComputerName
=0,
477 NetAlternateComputerNames
=1,
478 NetAllComputerNames
=2,
479 NetComputerNameTypeMax
=3
482 { __donnot_use_enum_wkssvc_ComputerNameType
=0x7FFFFFFF}
483 #define NetPrimaryComputerName ( 0 )
484 #define NetAlternateComputerNames ( 1 )
485 #define NetAllComputerNames ( 2 )
486 #define NetComputerNameTypeMax ( 3 )
490 struct wkssvc_ComputerNamesCtr
{
492 struct lsa_String
*computer_name
;/* [unique,size_is(count)] */
496 struct wkssvc_NetWkstaGetInfo
{
498 const char *server_name
;/* [unique,charset(UTF16)] */
503 union wkssvc_NetWkstaInfo
*info
;/* [ref,switch_is(level)] */
510 struct wkssvc_NetWkstaSetInfo
{
512 const char *server_name
;/* [unique,charset(UTF16)] */
514 union wkssvc_NetWkstaInfo
*info
;/* [ref,switch_is(level)] */
515 uint32_t *parm_error
;/* [ref] */
519 uint32_t *parm_error
;/* [ref] */
526 struct wkssvc_NetWkstaEnumUsers
{
528 const char *server_name
;/* [unique,charset(UTF16)] */
530 struct wkssvc_NetWkstaEnumUsersInfo
*info
;/* [ref] */
531 uint32_t *resume_handle
;/* [unique] */
535 uint32_t *entries_read
;/* [ref] */
536 struct wkssvc_NetWkstaEnumUsersInfo
*info
;/* [ref] */
537 uint32_t *resume_handle
;/* [unique] */
544 struct wkssvc_NetrWkstaUserGetInfo
{
546 const char *unknown
;/* [unique,charset(UTF16)] */
551 union wkssvc_NetrWkstaUserInfo
*info
;/* [ref,switch_is(level)] */
558 struct wkssvc_NetrWkstaUserSetInfo
{
560 const char *unknown
;/* [unique,charset(UTF16)] */
562 union wkssvc_NetrWkstaUserInfo
*info
;/* [ref,switch_is(level)] */
563 uint32_t *parm_err
;/* [unique] */
567 uint32_t *parm_err
;/* [unique] */
574 struct wkssvc_NetWkstaTransportEnum
{
576 const char *server_name
;/* [unique,charset(UTF16)] */
578 struct wkssvc_NetWkstaTransportInfo
*info
;/* [ref] */
579 uint32_t *resume_handle
;/* [unique] */
583 uint32_t *total_entries
;/* [ref] */
584 struct wkssvc_NetWkstaTransportInfo
*info
;/* [ref] */
585 uint32_t *resume_handle
;/* [unique] */
592 struct wkssvc_NetrWkstaTransportAdd
{
594 const char *server_name
;/* [unique,charset(UTF16)] */
596 struct wkssvc_NetWkstaTransportInfo0
*info0
;/* [ref] */
597 uint32_t *parm_err
;/* [unique] */
601 uint32_t *parm_err
;/* [unique] */
608 struct wkssvc_NetrWkstaTransportDel
{
610 const char *server_name
;/* [unique,charset(UTF16)] */
611 const char *transport_name
;/* [unique,charset(UTF16)] */
622 struct wkssvc_NetrUseAdd
{
624 const char *server_name
;/* [unique,charset(UTF16)] */
626 union wkssvc_NetrUseGetInfoCtr
*ctr
;/* [ref,switch_is(level)] */
627 uint32_t *parm_err
;/* [unique] */
631 uint32_t *parm_err
;/* [unique] */
638 struct wkssvc_NetrUseGetInfo
{
640 const char *server_name
;/* [unique,charset(UTF16)] */
641 const char *use_name
;/* [ref,charset(UTF16)] */
646 union wkssvc_NetrUseGetInfoCtr
*ctr
;/* [ref,switch_is(level)] */
653 struct wkssvc_NetrUseDel
{
655 const char *server_name
;/* [unique,charset(UTF16)] */
656 const char *use_name
;/* [ref,charset(UTF16)] */
667 struct wkssvc_NetrUseEnum
{
669 const char *server_name
;/* [unique,charset(UTF16)] */
671 struct wkssvc_NetrUseEnumInfo
*info
;/* [ref] */
672 uint32_t *resume_handle
;/* [unique] */
676 uint32_t *entries_read
;/* [ref] */
677 struct wkssvc_NetrUseEnumInfo
*info
;/* [ref] */
678 uint32_t *resume_handle
;/* [unique] */
685 struct wkssvc_NetrMessageBufferSend
{
687 const char *server_name
;/* [unique,charset(UTF16)] */
688 const char *message_name
;/* [ref,charset(UTF16)] */
689 const char *message_sender_name
;/* [unique,charset(UTF16)] */
690 uint8_t *message_buffer
;/* [ref,size_is(message_size)] */
691 uint32_t message_size
;
701 struct wkssvc_NetrWorkstationStatisticsGet
{
703 const char *server_name
;/* [unique,charset(UTF16)] */
704 const char *unknown2
;/* [unique,charset(UTF16)] */
710 struct wkssvc_NetrWorkstationStatistics
**info
;/* [ref] */
717 struct wkssvc_NetrLogonDomainNameAdd
{
719 const char *domain_name
;/* [ref,charset(UTF16)] */
729 struct wkssvc_NetrLogonDomainNameDel
{
731 const char *domain_name
;/* [ref,charset(UTF16)] */
741 struct wkssvc_NetrJoinDomain
{
743 const char *server_name
;/* [unique,charset(UTF16)] */
744 const char *domain_name
;/* [ref,charset(UTF16)] */
745 const char *account_ou
;/* [unique,charset(UTF16)] */
746 const char *Account
;/* [unique,charset(UTF16)] */
747 const char *password
;/* [unique,charset(UTF16)] */
758 struct wkssvc_NetrUnjoinDomain
{
760 const char *server_name
;/* [unique,charset(UTF16)] */
761 const char *Account
;/* [unique,charset(UTF16)] */
762 const char *password
;/* [unique,charset(UTF16)] */
763 uint32_t unjoin_flags
;
773 struct wkssvc_NetrRenameMachineInDomain
{
775 const char *server_name
;/* [unique,charset(UTF16)] */
776 const char *NewMachineName
;/* [unique,charset(UTF16)] */
777 const char *Account
;/* [unique,charset(UTF16)] */
778 const char *password
;/* [unique,charset(UTF16)] */
779 uint32_t RenameOptions
;
789 struct wkssvc_NetrValidateName
{
791 const char *server_name
;/* [unique,charset(UTF16)] */
792 const char *name
;/* [ref,charset(UTF16)] */
793 const char *Account
;/* [unique,charset(UTF16)] */
794 const char *Password
;/* [unique,charset(UTF16)] */
795 enum wkssvc_NetValidateNameType name_type
;
805 struct wkssvc_NetrGetJoinInformation
{
807 const char *server_name
;/* [unique,charset(UTF16)] */
808 const char **name_buffer
;/* [ref,charset(UTF16)] */
812 enum wkssvc_NetJoinStatus
*name_type
;/* [ref] */
813 const char **name_buffer
;/* [ref,charset(UTF16)] */
820 struct wkssvc_NetrGetJoinableOus
{
822 const char *server_name
;/* [unique,charset(UTF16)] */
823 const char *domain_name
;/* [ref,charset(UTF16)] */
824 const char *Account
;/* [unique,charset(UTF16)] */
825 const char *unknown
;/* [unique,charset(UTF16)] */
826 uint32_t *num_ous
;/* [ref] */
830 const char ***ous
;/* [ref,charset(UTF16),size_is(,*num_ous)] */
831 uint32_t *num_ous
;/* [ref] */
838 struct wkssvc_NetrJoinDomain2
{
840 const char *server_name
;/* [unique,charset(UTF16)] */
841 const char *domain_name
;/* [ref,charset(UTF16)] */
842 const char *account_ou
;/* [unique,charset(UTF16)] */
843 const char *admin_account
;/* [unique,charset(UTF16)] */
844 struct wkssvc_PasswordBuffer
*encrypted_password
;/* [unique] */
855 struct wkssvc_NetrUnjoinDomain2
{
857 const char *server_name
;/* [unique,charset(UTF16)] */
858 const char *account
;/* [unique,charset(UTF16)] */
859 struct wkssvc_PasswordBuffer
*encrypted_password
;/* [unique] */
860 uint32_t unjoin_flags
;
870 struct wkssvc_NetrRenameMachineInDomain2
{
872 const char *server_name
;/* [unique,charset(UTF16)] */
873 const char *NewMachineName
;/* [unique,charset(UTF16)] */
874 const char *Account
;/* [unique,charset(UTF16)] */
875 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
876 uint32_t RenameOptions
;
886 struct wkssvc_NetrValidateName2
{
888 const char *server_name
;/* [unique,charset(UTF16)] */
889 const char *name
;/* [ref,charset(UTF16)] */
890 const char *Account
;/* [unique,charset(UTF16)] */
891 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
892 enum wkssvc_NetValidateNameType name_type
;
902 struct wkssvc_NetrGetJoinableOus2
{
904 const char *server_name
;/* [unique,charset(UTF16)] */
905 const char *domain_name
;/* [ref,charset(UTF16)] */
906 const char *Account
;/* [unique,charset(UTF16)] */
907 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
908 uint32_t *num_ous
;/* [ref] */
912 const char ***ous
;/* [ref,charset(UTF16),size_is(,*num_ous)] */
913 uint32_t *num_ous
;/* [ref] */
920 struct wkssvc_NetrAddAlternateComputerName
{
922 const char *server_name
;/* [unique,charset(UTF16)] */
923 const char *NewAlternateMachineName
;/* [unique,charset(UTF16)] */
924 const char *Account
;/* [unique,charset(UTF16)] */
925 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
936 struct wkssvc_NetrRemoveAlternateComputerName
{
938 const char *server_name
;/* [unique,charset(UTF16)] */
939 const char *AlternateMachineNameToRemove
;/* [unique,charset(UTF16)] */
940 const char *Account
;/* [unique,charset(UTF16)] */
941 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
952 struct wkssvc_NetrSetPrimaryComputername
{
954 const char *server_name
;/* [unique,charset(UTF16)] */
955 const char *primary_name
;/* [unique,charset(UTF16)] */
956 const char *Account
;/* [unique,charset(UTF16)] */
957 struct wkssvc_PasswordBuffer
*EncryptedPassword
;/* [unique] */
968 struct wkssvc_NetrEnumerateComputerNames
{
970 const char *server_name
;/* [unique,charset(UTF16)] */
971 enum wkssvc_ComputerNameType name_type
;
976 struct wkssvc_ComputerNamesCtr
**ctr
;/* [ref] */
982 #endif /* _HEADER_wkssvc */