/* header auto-generated by pidl */ #include <stdint.h> #include "libcli/util/ntstatus.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=(int)(0), NetSetupMachine=(int)(1), NetSetupWorkgroup=(int)(2), NetSetupDomain=(int)(3), NetSetupNonExistentDomain=(int)(4), NetSetupDnsMachine=(int)(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=(int)(0), NET_SETUP_UNJOINED=(int)(1), NET_SETUP_WORKGROUP_NAME=(int)(2), NET_SETUP_DOMAIN_NAME=(int)(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_IGNORE_UNSUPPORTED_FLAGS ( 0x10000000 ) #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=(int)(0), NetAlternateComputerNames=(int)(1), NetAllComputerNames=(int)(2), NetComputerNameTypeMax=(int)(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 */