/* header auto-generated by pidl */ #ifndef _HEADER_wkssvc #define _HEADER_wkssvc #include "librpc/gen_ndr/srvsvc.h" struct wkssvc_NetWkstaInfo100 { uint16_t platform_id;/* [keepref] */ const char *server_name;/* [unique,keepref,charset(UTF16)] */ const char *domain_name;/* [unique,keepref,charset(UTF16)] */ uint32_t version_major;/* [keepref] */ uint32_t version_minor;/* [keepref] */ }; struct wkssvc_NetWkstaInfo101 { uint16_t platform_id;/* [keepref] */ const char *server_name;/* [unique,keepref,charset(UTF16)] */ const char *domain_name;/* [unique,keepref,charset(UTF16)] */ uint32_t version_major;/* [keepref] */ uint32_t version_minor;/* [keepref] */ const char *lan_root;/* [unique,keepref,charset(UTF16)] */ }; struct wkssvc_NetWkstaInfo102 { uint16_t platform_id;/* [keepref] */ const char *server_name;/* [unique,keepref,charset(UTF16)] */ const char *domain_name;/* [unique,keepref,charset(UTF16)] */ uint32_t version_major;/* [keepref] */ uint32_t version_minor;/* [keepref] */ const char *lan_root;/* [unique,keepref,charset(UTF16)] */ uint32_t logged_on_users;/* [keepref] */ }; struct wkssvc_NetWkstaInfo502 { uint32_t char_wait;/* [keepref] */ uint32_t collection_time;/* [keepref] */ uint32_t maximum_collection_count;/* [keepref] */ uint32_t keep_connection;/* [keepref] */ uint32_t max_commands;/* [keepref] */ uint32_t session_timeout;/* [keepref] */ uint32_t size_char_buf;/* [keepref] */ uint32_t max_threads;/* [keepref] */ uint32_t lock_quota;/* [keepref] */ uint32_t lock_increment;/* [keepref] */ uint32_t lock_maximum;/* [keepref] */ uint32_t pipe_increment;/* [keepref] */ uint32_t pipe_maximum;/* [keepref] */ uint32_t cache_file_timeout;/* [keepref] */ uint32_t dormant_file_limit;/* [keepref] */ uint32_t read_ahead_throughput;/* [keepref] */ uint32_t num_mailslot_buffers;/* [keepref] */ uint32_t num_srv_announce_buffers;/* [keepref] */ uint32_t max_illegal_dgram_events;/* [keepref] */ uint32_t dgram_event_reset_freq;/* [keepref] */ uint32_t log_election_packets;/* [keepref] */ uint32_t use_opportunistic_locking;/* [keepref] */ uint32_t use_unlock_behind;/* [keepref] */ uint32_t use_close_behind;/* [keepref] */ uint32_t buf_named_pipes;/* [keepref] */ uint32_t use_lock_read_unlock;/* [keepref] */ uint32_t utilize_nt_caching;/* [keepref] */ uint32_t use_raw_read;/* [keepref] */ uint32_t use_raw_write;/* [keepref] */ uint32_t use_write_raw_data;/* [keepref] */ uint32_t use_encryption;/* [keepref] */ uint32_t buf_files_deny_write;/* [keepref] */ uint32_t buf_read_only_files;/* [keepref] */ uint32_t force_core_create_mode;/* [keepref] */ uint32_t use_512_byte_max_transfer;/* [keepref] */ }; struct wkssvc_NetWkstaInfo1010 { uint32_t char_wait;/* [keepref] */ }; struct wkssvc_NetWkstaInfo1011 { uint32_t collection_time;/* [keepref] */ }; struct wkssvc_NetWkstaInfo1012 { uint32_t maximum_collection_count;/* [keepref] */ }; struct wkssvc_NetWkstaInfo1013 { uint32_t keep_connection;/* [keepref] */ }; struct wkssvc_NetWkstaInfo1018 { uint32_t session_timeout;/* [keepref] */ }; struct wkssvc_NetWkstaInfo1023 { uint32_t size_char_buf;/* [keepref] */ }; struct wkssvc_NetWkstaInfo1027 { uint32_t errorlog_sz;/* [keepref] */ }; struct wkssvc_NetWkstaInfo1033 { uint32_t max_threads;/* [keepref] */ }; union wkssvc_NetWkstaInfo { struct wkssvc_NetWkstaInfo100 *info100;/* [unique,keepref,case(100)] */ struct wkssvc_NetWkstaInfo101 *info101;/* [unique,keepref,case(101)] */ struct wkssvc_NetWkstaInfo102 *info102;/* [unique,keepref,case(102)] */ struct wkssvc_NetWkstaInfo502 *info502;/* [unique,keepref,case(502)] */ struct wkssvc_NetWkstaInfo1010 *info1010;/* [unique,keepref,case(1010)] */ struct wkssvc_NetWkstaInfo1011 *info1011;/* [unique,keepref,case(1011)] */ struct wkssvc_NetWkstaInfo1012 *info1012;/* [unique,keepref,case(1012)] */ struct wkssvc_NetWkstaInfo1013 *info1013;/* [unique,keepref,case(1013)] */ struct wkssvc_NetWkstaInfo1018 *info1018;/* [unique,keepref,case(1018)] */ struct wkssvc_NetWkstaInfo1023 *info1023;/* [unique,keepref,case(1023)] */ struct wkssvc_NetWkstaInfo1027 *info1027;/* [unique,keepref,case(1027)] */ struct wkssvc_NetWkstaInfo1033 *info1033;/* [unique,keepref,case(1033)] */ }; struct USER_INFO_0 { const char *user;/* [unique,keepref,charset(UTF16)] */ }; struct USER_INFO_0_CONTAINER { uint32_t entries_read;/* [keepref] */ struct USER_INFO_0 *user0;/* [unique,keepref,size_is(entries_read)] */ }; struct USER_INFO_1 { const char *user_name;/* [unique,keepref,charset(UTF16)] */ const char *logon_domain;/* [unique,keepref,charset(UTF16)] */ const char *other_domains;/* [unique,keepref,charset(UTF16)] */ const char *logon_server;/* [unique,keepref,charset(UTF16)] */ }; struct USER_INFO_1_CONTAINER { uint32_t entries_read;/* [keepref] */ struct USER_INFO_1 *user1;/* [unique,keepref,size_is(entries_read)] */ }; union WKS_USER_ENUM_UNION { struct USER_INFO_0_CONTAINER *user0;/* [unique,keepref,case(0)] */ struct USER_INFO_1_CONTAINER *user1;/* [unique,keepref,case] */ }/* [switch_type(uint32)] */; struct wkssvc_NetWkstaTransportInfo0 { uint32_t quality_of_service;/* [keepref] */ uint32_t vc_count;/* [keepref] */ const char *name;/* [unique,keepref,charset(UTF16)] */ const char *address;/* [unique,keepref,charset(UTF16)] */ uint32_t wan_link;/* [keepref] */ }; struct wkssvc_NetWkstaTransportCtr0 { uint32_t count;/* [keepref] */ struct wkssvc_NetWkstaTransportInfo0 *array;/* [unique,keepref,size_is(count)] */ }; union wkssvc_NetWkstaTransportCtr { struct wkssvc_NetWkstaTransportCtr0 *ctr0;/* [unique,keepref,case(0)] */ }; struct wkssvc_PasswordBuffer { uint8_t data[524];/* [keepref] */ }; /* bitmap wkssvc_joinflags */ #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 ) /* bitmap wkssvc_renameflags */ #define WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE ( 0x00000002 ) struct wkssvc_NetWkstaGetInfo { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ uint32_t level;/* [keepref] */ } in; struct { union wkssvc_NetWkstaInfo *info;/* [keepref,ref,switch_is(level)] */ WERROR result; } out; }; struct wkssvc_NetWkstaSetInfo { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ uint32_t level;/* [keepref] */ union wkssvc_NetWkstaInfo *info;/* [keepref,ref,switch_is(level)] */ uint32_t *parm_error;/* [keepref,ref] */ } in; struct { uint32_t *parm_error;/* [keepref,ref] */ WERROR result; } out; }; struct wkssvc_NetWkstaEnumUsers { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ uint32_t level;/* [keepref] */ union WKS_USER_ENUM_UNION *users;/* [keepref,ref] */ uint32_t prefmaxlen;/* [keepref] */ uint32_t *resumehandle;/* [keepref,ref] */ } in; struct { union WKS_USER_ENUM_UNION *users;/* [keepref,ref] */ uint32_t *entriesread;/* [unique,keepref] */ uint32_t *totalentries;/* [unique,keepref] */ uint32_t *resumehandle;/* [keepref,ref] */ WERROR result; } out; }; struct WKSSVC_NETRWKSTAUSERGETINFO { struct { WERROR result; } out; }; struct WKSSVC_NETRWKSTAUSERSETINFO { struct { WERROR result; } out; }; struct wkssvc_NetWkstaTransportEnum { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ uint32_t *level;/* [unique,keepref] */ union wkssvc_NetWkstaTransportCtr *ctr;/* [keepref,ref,switch_is(level)] */ uint32_t max_buffer;/* [keepref] */ uint32_t *resume_handle;/* [unique,keepref] */ } in; struct { uint32_t *level;/* [unique,keepref] */ union wkssvc_NetWkstaTransportCtr *ctr;/* [keepref,ref,switch_is(level)] */ uint32_t *totalentries;/* [unique,keepref] */ uint32_t *resume_handle;/* [unique,keepref] */ WERROR result; } out; }; struct WKSSVC_NETRWKSTATRANSPORTADD { struct { WERROR result; } out; }; struct WKSSVC_NETRWKSTATRANSPORTDEL { struct { WERROR result; } out; }; struct WKSSVC_NETRUSEADD { struct { WERROR result; } out; }; struct WKSSVC_NETRUSEGETINFO { struct { WERROR result; } out; }; struct WKSSVC_NETRUSEDEL { struct { WERROR result; } out; }; struct WKSSVC_NETRUSEENUM { struct { WERROR result; } out; }; struct WKSSVC_NETRMESSAGEBUFFERSEND { struct { WERROR result; } out; }; struct WKSSVC_NETRWORKSTATIONSTATISTICSGET { struct { WERROR result; } out; }; struct WKSSVC_NETRLOGONDOMAINNAMEADD { struct { WERROR result; } out; }; struct WKSSVC_NETRLOGONDOMAINNAMEDEL { struct { WERROR result; } out; }; struct WKSSVC_NETRJOINDOMAIN { struct { WERROR result; } out; }; struct WKSSVC_NETRUNJOINDOMAIN { struct { WERROR result; } out; }; struct WKSSVC_NETRRENAMEMACHINEINDOMAIN { struct { WERROR result; } out; }; struct WKSSVC_NETRVALIDATENAME { struct { WERROR result; } out; }; struct WKSSVC_NETRGETJOININFORMATION { struct { WERROR result; } out; }; struct WKSSVC_NETRGETJOINABLEOUS { struct { WERROR result; } out; }; struct wkssvc_NetrJoinDomain2 { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ const char *domain_name;/* [keepref,ref,charset(UTF16)] */ const char *account_name;/* [unique,keepref,charset(UTF16)] */ const char *admin_account;/* [unique,keepref,charset(UTF16)] */ struct wkssvc_PasswordBuffer *encrypted_password;/* [unique,keepref] */ uint32_t join_flags;/* [keepref] */ } in; struct { WERROR result; } out; }; struct wkssvc_NetrUnjoinDomain2 { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ const char *account;/* [unique,keepref,charset(UTF16)] */ struct wkssvc_PasswordBuffer *encrypted_password;/* [unique,keepref] */ uint32_t unjoin_flags;/* [keepref] */ } in; struct { WERROR result; } out; }; struct wkssvc_NetrRenameMachineInDomain2 { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ const char *NewMachineName;/* [unique,keepref,charset(UTF16)] */ const char *Account;/* [unique,keepref,charset(UTF16)] */ struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique,keepref] */ uint32_t RenameOptions;/* [keepref] */ } in; struct { WERROR result; } out; }; struct WKSSVC_NETRVALIDATENAME2 { struct { WERROR result; } out; }; struct WKSSVC_NETRGETJOINABLEOUS2 { struct { WERROR result; } out; }; struct wkssvc_NetrAddAlternateComputerName { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ const char *NewAlternateMachineName;/* [unique,keepref,charset(UTF16)] */ const char *Account;/* [unique,keepref,charset(UTF16)] */ struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique,keepref] */ uint32_t Reserved;/* [keepref] */ } in; struct { WERROR result; } out; }; struct wkssvc_NetrRemoveAlternateComputerName { struct { const char *server_name;/* [unique,keepref,charset(UTF16)] */ const char *AlternateMachineNameToRemove;/* [unique,keepref,charset(UTF16)] */ const char *Account;/* [unique,keepref,charset(UTF16)] */ struct wkssvc_PasswordBuffer *EncryptedPassword;/* [unique,keepref] */ uint32_t Reserved;/* [keepref] */ } in; struct { WERROR result; } out; }; struct WKSSVC_NETRSETPRIMARYCOMPUTERNAME { struct { WERROR result; } out; }; struct WKSSVC_NETRENUMERATECOMPUTERNAMES { struct { WERROR result; } out; }; #endif /* _HEADER_wkssvc */