2006-09-19 02:20:37 +04:00
/* header auto-generated by pidl */
2006-11-07 02:20:35 +03:00
# include "librpc/gen_ndr/srvsvc.h"
2006-09-19 02:20:37 +04:00
# ifndef _HEADER_wkssvc
# define _HEADER_wkssvc
struct wkssvc_NetWkstaInfo100 {
2006-09-20 02:22:57 +04:00
uint16_t platform_id ;
const char * server_name ; /* [unique,charset(UTF16)] */
const char * domain_name ; /* [unique,charset(UTF16)] */
uint32_t version_major ;
uint32_t version_minor ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo101 {
2006-09-20 02:22:57 +04:00
uint16_t 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)] */
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo102 {
2006-09-20 02:22:57 +04:00
uint16_t 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 ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo502 {
2006-09-20 02:22:57 +04:00
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 ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo1010 {
2006-09-20 02:22:57 +04:00
uint32_t char_wait ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo1011 {
2006-09-20 02:22:57 +04:00
uint32_t collection_time ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo1012 {
2006-09-20 02:22:57 +04:00
uint32_t maximum_collection_count ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo1013 {
2006-09-20 02:22:57 +04:00
uint32_t keep_connection ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo1018 {
2006-09-20 02:22:57 +04:00
uint32_t session_timeout ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo1023 {
2006-09-20 02:22:57 +04:00
uint32_t size_char_buf ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo1027 {
2006-09-20 02:22:57 +04:00
uint32_t errorlog_sz ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaInfo1033 {
2006-09-20 02:22:57 +04:00
uint32_t max_threads ;
2006-09-19 02:20:37 +04:00
} ;
union wkssvc_NetWkstaInfo {
2006-09-20 02:22:57 +04:00
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_NetWkstaInfo1033 * info1033 ; /* [unique,case(1033)] */
2006-09-19 02:20:37 +04:00
} ;
struct USER_INFO_0 {
2006-09-20 02:22:57 +04:00
const char * user ; /* [unique,charset(UTF16)] */
2006-09-19 02:20:37 +04:00
} ;
struct USER_INFO_0_CONTAINER {
2006-09-20 02:22:57 +04:00
uint32_t entries_read ;
struct USER_INFO_0 * user0 ; /* [unique,size_is(entries_read)] */
2006-09-19 02:20:37 +04:00
} ;
struct USER_INFO_1 {
2006-09-20 02:22:57 +04:00
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)] */
2006-09-19 02:20:37 +04:00
} ;
struct USER_INFO_1_CONTAINER {
2006-09-20 02:22:57 +04:00
uint32_t entries_read ;
struct USER_INFO_1 * user1 ; /* [unique,size_is(entries_read)] */
2006-09-19 02:20:37 +04:00
} ;
union WKS_USER_ENUM_UNION {
2006-09-20 02:22:57 +04:00
struct USER_INFO_0_CONTAINER * user0 ; /* [unique,case(0)] */
struct USER_INFO_1_CONTAINER * user1 ; /* [unique,case] */
2006-09-19 02:20:37 +04:00
} /* [switch_type(uint32)] */ ;
struct wkssvc_NetWkstaTransportInfo0 {
2006-09-20 02:22:57 +04:00
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 ;
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_NetWkstaTransportCtr0 {
2006-09-20 02:22:57 +04:00
uint32_t count ;
struct wkssvc_NetWkstaTransportInfo0 * array ; /* [unique,size_is(count)] */
2006-09-19 02:20:37 +04:00
} ;
union wkssvc_NetWkstaTransportCtr {
2006-09-20 02:22:57 +04:00
struct wkssvc_NetWkstaTransportCtr0 * ctr0 ; /* [unique,case(0)] */
2006-09-19 02:20:37 +04:00
} ;
struct wkssvc_PasswordBuffer {
2006-09-20 02:22:57 +04:00
uint8_t data [ 524 ] ;
2006-09-19 02:20:37 +04:00
} ;
/* 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 {
2006-09-20 02:22:57 +04:00
const char * server_name ; /* [unique,charset(UTF16)] */
uint32_t level ;
2006-09-19 02:20:37 +04:00
} in ;
struct {
2006-09-20 02:22:57 +04:00
union wkssvc_NetWkstaInfo * info ; /* [ref,switch_is(level)] */
2006-09-19 02:20:37 +04:00
WERROR result ;
} out ;
} ;
struct wkssvc_NetWkstaSetInfo {
struct {
2006-09-20 02:22:57 +04:00
const char * server_name ; /* [unique,charset(UTF16)] */
uint32_t level ;
union wkssvc_NetWkstaInfo * info ; /* [ref,switch_is(level)] */
uint32_t * parm_error ; /* [ref] */
2006-09-19 02:20:37 +04:00
} in ;
struct {
2006-09-20 02:22:57 +04:00
uint32_t * parm_error ; /* [ref] */
2006-09-19 02:20:37 +04:00
WERROR result ;
} out ;
} ;
struct wkssvc_NetWkstaEnumUsers {
struct {
2006-09-20 02:22:57 +04:00
const char * server_name ; /* [unique,charset(UTF16)] */
uint32_t level ;
union WKS_USER_ENUM_UNION * users ; /* [ref] */
uint32_t prefmaxlen ;
uint32_t * resumehandle ; /* [ref] */
2006-09-19 02:20:37 +04:00
} in ;
struct {
2006-09-20 02:22:57 +04:00
union WKS_USER_ENUM_UNION * users ; /* [ref] */
uint32_t * entriesread ; /* [unique] */
uint32_t * totalentries ; /* [unique] */
uint32_t * resumehandle ; /* [ref] */
2006-09-19 02:20:37 +04:00
WERROR result ;
} out ;
} ;
struct WKSSVC_NETRWKSTAUSERGETINFO {
struct {
WERROR result ;
} out ;
} ;
struct WKSSVC_NETRWKSTAUSERSETINFO {
struct {
WERROR result ;
} out ;
} ;
struct wkssvc_NetWkstaTransportEnum {
struct {
2006-09-20 02:22:57 +04:00
const char * server_name ; /* [unique,charset(UTF16)] */
2006-09-20 21:03:06 +04:00
uint32_t * level ; /* [ref] */
2006-09-20 23:26:21 +04:00
union wkssvc_NetWkstaTransportCtr * ctr ; /* [ref,switch_is(*level)] */
2006-09-20 02:22:57 +04:00
uint32_t max_buffer ;
2006-09-20 21:03:06 +04:00
uint32_t * resume_handle ; /* [ref] */
2006-09-19 02:20:37 +04:00
} in ;
struct {
2006-09-20 21:03:06 +04:00
uint32_t * level ; /* [ref] */
2006-09-20 23:26:21 +04:00
union wkssvc_NetWkstaTransportCtr * ctr ; /* [ref,switch_is(*level)] */
2006-09-20 02:22:57 +04:00
uint32_t * totalentries ; /* [unique] */
2006-09-20 21:03:06 +04:00
uint32_t * resume_handle ; /* [ref] */
2006-09-19 02:20:37 +04:00
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 {
2006-09-20 02:22:57 +04:00
const char * server_name ; /* [unique,charset(UTF16)] */
const char * domain_name ; /* [ref,charset(UTF16)] */
const char * account_name ; /* [unique,charset(UTF16)] */
const char * admin_account ; /* [unique,charset(UTF16)] */
struct wkssvc_PasswordBuffer * encrypted_password ; /* [unique] */
uint32_t join_flags ;
2006-09-19 02:20:37 +04:00
} in ;
struct {
WERROR result ;
} out ;
} ;
struct wkssvc_NetrUnjoinDomain2 {
struct {
2006-09-20 02:22:57 +04:00
const char * server_name ; /* [unique,charset(UTF16)] */
const char * account ; /* [unique,charset(UTF16)] */
struct wkssvc_PasswordBuffer * encrypted_password ; /* [unique] */
uint32_t unjoin_flags ;
2006-09-19 02:20:37 +04:00
} in ;
struct {
WERROR result ;
} out ;
} ;
struct wkssvc_NetrRenameMachineInDomain2 {
struct {
2006-09-20 02:22:57 +04:00
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 ;
2006-09-19 02:20:37 +04:00
} in ;
struct {
WERROR result ;
} out ;
} ;
struct WKSSVC_NETRVALIDATENAME2 {
struct {
WERROR result ;
} out ;
} ;
struct WKSSVC_NETRGETJOINABLEOUS2 {
struct {
WERROR result ;
} out ;
} ;
struct wkssvc_NetrAddAlternateComputerName {
struct {
2006-09-20 02:22:57 +04:00
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 ;
2006-09-19 02:20:37 +04:00
} in ;
struct {
WERROR result ;
} out ;
} ;
struct wkssvc_NetrRemoveAlternateComputerName {
struct {
2006-09-20 02:22:57 +04:00
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 ;
2006-09-19 02:20:37 +04:00
} in ;
struct {
WERROR result ;
} out ;
} ;
struct WKSSVC_NETRSETPRIMARYCOMPUTERNAME {
struct {
WERROR result ;
} out ;
} ;
struct WKSSVC_NETRENUMERATECOMPUTERNAMES {
struct {
WERROR result ;
} out ;
} ;
# endif /* _HEADER_wkssvc */