OpenAFS
OpenAFS distributed network file system
|
00001 00002 00003 /* this ALWAYS GENERATED file contains the definitions for the interfaces */ 00004 00005 00006 /* File created by MIDL compiler version 7.00.0500 */ 00007 /* at Sat Aug 18 01:29:37 2012 00008 */ 00009 /* Compiler settings for ms-wkssvc.idl: 00010 Os, W1, Zp8, env=Win32 (32b run) 00011 protocol : dce , ms_ext, c_ext 00012 error checks: allocation ref bounds_check enum stub_data 00013 VC __declspec() decoration level: 00014 __declspec(uuid()), __declspec(selectany), __declspec(novtable) 00015 DECLSPEC_UUID(), MIDL_INTERFACE() 00016 */ 00017 //@@MIDL_FILE_HEADING( ) 00018 00019 #pragma warning( disable: 4049 ) /* more than 64k source lines */ 00020 00021 00022 /* verify that the <rpcndr.h> version is high enough to compile this file*/ 00023 #ifndef __REQUIRED_RPCNDR_H_VERSION__ 00024 #define __REQUIRED_RPCNDR_H_VERSION__ 440 00025 #endif 00026 00027 #include "rpc.h" 00028 #include "rpcndr.h" 00029 00030 #ifndef __ms2Dwkssvc_h__ 00031 #define __ms2Dwkssvc_h__ 00032 00033 #if defined(_MSC_VER) && (_MSC_VER >= 1020) 00034 #pragma once 00035 #endif 00036 00037 /* Forward Declarations */ 00038 00039 /* header files for imported files */ 00040 #include "wtypes.h" 00041 00042 #ifdef __cplusplus 00043 extern "C"{ 00044 #endif 00045 00046 00047 #ifndef __wkssvc_INTERFACE_DEFINED__ 00048 #define __wkssvc_INTERFACE_DEFINED__ 00049 00050 /* interface wkssvc */ 00051 /* [unique][version][uuid] */ 00052 00053 typedef 00054 enum _NETSETUP_JOIN_STATUS 00055 { NetSetupUnknownStatus = 0, 00056 NetSetupUnjoined = ( NetSetupUnknownStatus + 1 ) , 00057 NetSetupWorkgroupName = ( NetSetupUnjoined + 1 ) , 00058 NetSetupDomainName = ( NetSetupWorkgroupName + 1 ) 00059 } NETSETUP_JOIN_STATUS; 00060 00061 typedef enum _NETSETUP_JOIN_STATUS *PNETSETUP_JOIN_STATUS; 00062 00063 typedef 00064 enum _NETSETUP_NAME_TYPE 00065 { NetSetupUnknown = 0, 00066 NetSetupMachine = ( NetSetupUnknown + 1 ) , 00067 NetSetupWorkgroup = ( NetSetupMachine + 1 ) , 00068 NetSetupDomain = ( NetSetupWorkgroup + 1 ) , 00069 NetSetupNonExistentDomain = ( NetSetupDomain + 1 ) , 00070 NetSetupDnsMachine = ( NetSetupNonExistentDomain + 1 ) 00071 } NETSETUP_NAME_TYPE; 00072 00073 typedef enum _NETSETUP_NAME_TYPE *PNETSETUP_NAME_TYPE; 00074 00075 typedef 00076 enum _NET_COMPUTER_NAME_TYPE 00077 { NetPrimaryComputerName = 0, 00078 NetAlternateComputerNames = ( NetPrimaryComputerName + 1 ) , 00079 NetAllComputerNames = ( NetAlternateComputerNames + 1 ) , 00080 NetComputerNameTypeMax = ( NetAllComputerNames + 1 ) 00081 } NET_COMPUTER_NAME_TYPE; 00082 00083 typedef enum _NET_COMPUTER_NAME_TYPE *PNET_COMPUTER_NAME_TYPE; 00084 00085 typedef struct _STAT_WORKSTATION_0 00086 { 00087 LARGE_INTEGER StatisticsStartTime; 00088 LARGE_INTEGER BytesReceived; 00089 LARGE_INTEGER SmbsReceived; 00090 LARGE_INTEGER PagingReadBytesRequested; 00091 LARGE_INTEGER NonPagingReadBytesRequested; 00092 LARGE_INTEGER CacheReadBytesRequested; 00093 LARGE_INTEGER NetworkReadBytesRequested; 00094 LARGE_INTEGER BytesTransmitted; 00095 LARGE_INTEGER SmbsTransmitted; 00096 LARGE_INTEGER PagingWriteBytesRequested; 00097 LARGE_INTEGER NonPagingWriteBytesRequested; 00098 LARGE_INTEGER CacheWriteBytesRequested; 00099 LARGE_INTEGER NetworkWriteBytesRequested; 00100 unsigned long InitiallyFailedOperations; 00101 unsigned long FailedCompletionOperations; 00102 unsigned long ReadOperations; 00103 unsigned long RandomReadOperations; 00104 unsigned long ReadSmbs; 00105 unsigned long LargeReadSmbs; 00106 unsigned long SmallReadSmbs; 00107 unsigned long WriteOperations; 00108 unsigned long RandomWriteOperations; 00109 unsigned long WriteSmbs; 00110 unsigned long LargeWriteSmbs; 00111 unsigned long SmallWriteSmbs; 00112 unsigned long RawReadsDenied; 00113 unsigned long RawWritesDenied; 00114 unsigned long NetworkErrors; 00115 unsigned long Sessions; 00116 unsigned long FailedSessions; 00117 unsigned long Reconnects; 00118 unsigned long CoreConnects; 00119 unsigned long Lanman20Connects; 00120 unsigned long Lanman21Connects; 00121 unsigned long LanmanNtConnects; 00122 unsigned long ServerDisconnects; 00123 unsigned long HungSessions; 00124 unsigned long UseCount; 00125 unsigned long FailedUseCount; 00126 unsigned long CurrentCommands; 00127 } STAT_WORKSTATION_0; 00128 00129 typedef struct _STAT_WORKSTATION_0 *PSTAT_WORKSTATION_0; 00130 00131 typedef struct _STAT_WORKSTATION_0 *LPSTAT_WORKSTATION_0; 00132 00133 typedef struct _WKSTA_INFO_100 00134 { 00135 unsigned long wki100_platform_id; 00136 wchar_t *wki100_computername; 00137 wchar_t *wki100_langroup; 00138 unsigned long wki100_ver_major; 00139 unsigned long wki100_ver_minor; 00140 } WKSTA_INFO_100; 00141 00142 typedef struct _WKSTA_INFO_100 *PWKSTA_INFO_100; 00143 00144 typedef struct _WKSTA_INFO_100 *LPWKSTA_INFO_100; 00145 00146 typedef struct _WKSTA_INFO_101 00147 { 00148 unsigned long wki101_platform_id; 00149 wchar_t *wki101_computername; 00150 wchar_t *wki101_langroup; 00151 unsigned long wki101_ver_major; 00152 unsigned long wki101_ver_minor; 00153 wchar_t *wki101_lanroot; 00154 } WKSTA_INFO_101; 00155 00156 typedef struct _WKSTA_INFO_101 *PWKSTA_INFO_101; 00157 00158 typedef struct _WKSTA_INFO_101 *LPWKSTA_INFO_101; 00159 00160 typedef struct _WKSTA_INFO_102 00161 { 00162 unsigned long wki102_platform_id; 00163 wchar_t *wki102_computername; 00164 wchar_t *wki102_langroup; 00165 unsigned long wki102_ver_major; 00166 unsigned long wki102_ver_minor; 00167 wchar_t *wki102_lanroot; 00168 unsigned long wki102_logged_on_users; 00169 } WKSTA_INFO_102; 00170 00171 typedef struct _WKSTA_INFO_102 *PWKSTA_INFO_102; 00172 00173 typedef struct _WKSTA_INFO_102 *LPWKSTA_INFO_102; 00174 00175 typedef struct _WKSTA_INFO_502 00176 { 00177 unsigned long wki502_char_wait; 00178 unsigned long wki502_collection_time; 00179 unsigned long wki502_maximum_collection_count; 00180 unsigned long wki502_keep_conn; 00181 unsigned long wki502_max_cmds; 00182 unsigned long wki502_sess_timeout; 00183 unsigned long wki502_siz_char_buf; 00184 unsigned long wki502_max_threads; 00185 unsigned long wki502_lock_quota; 00186 unsigned long wki502_lock_increment; 00187 unsigned long wki502_lock_maximum; 00188 unsigned long wki502_pipe_increment; 00189 unsigned long wki502_pipe_maximum; 00190 unsigned long wki502_cache_file_timeout; 00191 unsigned long wki502_dormant_file_limit; 00192 unsigned long wki502_read_ahead_throughput; 00193 unsigned long wki502_num_mailslot_buffers; 00194 unsigned long wki502_num_srv_announce_buffers; 00195 unsigned long wki502_max_illegal_datagram_events; 00196 unsigned long wki502_illegal_datagram_event_reset_frequency; 00197 int wki502_log_election_packets; 00198 int wki502_use_opportunistic_locking; 00199 int wki502_use_unlock_behind; 00200 int wki502_use_close_behind; 00201 int wki502_buf_named_pipes; 00202 int wki502_use_lock_read_unlock; 00203 int wki502_utilize_nt_caching; 00204 int wki502_use_raw_read; 00205 int wki502_use_raw_write; 00206 int wki502_use_write_raw_data; 00207 int wki502_use_encryption; 00208 int wki502_buf_files_deny_write; 00209 int wki502_buf_read_only_files; 00210 int wki502_force_core_create_mode; 00211 int wki502_use_512_byte_max_transfer; 00212 } WKSTA_INFO_502; 00213 00214 typedef struct _WKSTA_INFO_502 *PWKSTA_INFO_502; 00215 00216 typedef struct _WKSTA_INFO_502 *LPWKSTA_INFO_502; 00217 00218 typedef struct _WKSTA_INFO_1013 00219 { 00220 unsigned long wki1013_keep_conn; 00221 } WKSTA_INFO_1013; 00222 00223 typedef struct _WKSTA_INFO_1013 *PWKSTA_INFO_1013; 00224 00225 typedef struct _WKSTA_INFO_1013 *LPWKSTA_INFO_1013; 00226 00227 typedef struct _WKSTA_INFO_1018 00228 { 00229 unsigned long wki1018_sess_timeout; 00230 } WKSTA_INFO_1018; 00231 00232 typedef struct _WKSTA_INFO_1018 *PWKSTA_INFO_1018; 00233 00234 typedef struct _WKSTA_INFO_1018 *LPWKSTA_INFO_1018; 00235 00236 typedef struct _WKSTA_INFO_1046 00237 { 00238 unsigned long wki1046_dormant_file_limit; 00239 } WKSTA_INFO_1046; 00240 00241 typedef struct _WKSTA_INFO_1046 *PWKSTA_INFO_1046; 00242 00243 typedef struct _WKSTA_INFO_1046 *LPWKSTA_INFO_1046; 00244 00245 typedef struct _WKSTA_USER_INFO_0 00246 { 00247 wchar_t *wkui0_username; 00248 } WKSTA_USER_INFO_0; 00249 00250 typedef struct _WKSTA_USER_INFO_0 *PWKSTA_USER_INFO_0; 00251 00252 typedef struct _WKSTA_USER_INFO_0 *LPWKSTA_USER_INFO_0; 00253 00254 typedef struct _WKSTA_USER_INFO_1 00255 { 00256 wchar_t *wkui1_username; 00257 wchar_t *wkui1_logon_domain; 00258 wchar_t *wkui1_oth_domains; 00259 wchar_t *wkui1_logon_server; 00260 } WKSTA_USER_INFO_1; 00261 00262 typedef struct _WKSTA_USER_INFO_1 *PWKSTA_USER_INFO_1; 00263 00264 typedef struct _WKSTA_USER_INFO_1 *LPWKSTA_USER_INFO_1; 00265 00266 typedef struct _WKSTA_TRANSPORT_INFO_0 00267 { 00268 unsigned long wkti0_quality_of_service; 00269 unsigned long wkti0_number_of_vcs; 00270 wchar_t *wkti0_transport_name; 00271 wchar_t *wkti0_transport_address; 00272 unsigned long wkti0_wan_ish; 00273 } WKSTA_TRANSPORT_INFO_0; 00274 00275 typedef struct _WKSTA_TRANSPORT_INFO_0 *PWKSTA_TRANSPORT_INFO_0; 00276 00277 typedef struct _WKSTA_TRANSPORT_INFO_0 *LPWKSTA_TRANSPORT_INFO_0; 00278 00279 typedef /* [handle] */ wchar_t *WKSSVC_IDENTIFY_HANDLE; 00280 00281 typedef /* [handle] */ wchar_t *WKSSVC_IMPERSONATE_HANDLE; 00282 00283 typedef /* [switch_type] */ union _WKSTA_INFO 00284 { 00285 LPWKSTA_INFO_100 WkstaInfo100; 00286 LPWKSTA_INFO_101 WkstaInfo101; 00287 LPWKSTA_INFO_102 WkstaInfo102; 00288 LPWKSTA_INFO_502 WkstaInfo502; 00289 LPWKSTA_INFO_1013 WkstaInfo1013; 00290 LPWKSTA_INFO_1018 WkstaInfo1018; 00291 LPWKSTA_INFO_1046 WkstaInfo1046; 00292 /* Empty union arm */ 00293 } WKSTA_INFO; 00294 00295 typedef /* [switch_type] */ union _WKSTA_INFO *PWKSTA_INFO; 00296 00297 typedef /* [switch_type] */ union _WKSTA_INFO *LPWKSTA_INFO; 00298 00299 unsigned long NetrWkstaGetInfo( 00300 /* [unique][string][in] */ WKSSVC_IDENTIFY_HANDLE ServerName, 00301 /* [in] */ unsigned long Level, 00302 /* [switch_is][out] */ LPWKSTA_INFO WkstaInfo); 00303 00304 unsigned long NetrWkstaSetInfo( 00305 /* [unique][string][in] */ WKSSVC_IDENTIFY_HANDLE ServerName, 00306 /* [in] */ unsigned long Level, 00307 /* [switch_is][in] */ LPWKSTA_INFO WkstaInfo, 00308 /* [unique][out][in] */ unsigned long *ErrorParameter); 00309 00310 typedef struct _WKSTA_USER_INFO_0_CONTAINER 00311 { 00312 unsigned long EntriesRead; 00313 LPWKSTA_USER_INFO_0 Buffer; 00314 } WKSTA_USER_INFO_0_CONTAINER; 00315 00316 typedef struct _WKSTA_USER_INFO_0_CONTAINER *PWKSTA_USER_INFO_0_CONTAINER; 00317 00318 typedef struct _WKSTA_USER_INFO_0_CONTAINER *LPWKSTA_USER_INFO_0_CONTAINER; 00319 00320 typedef struct _WKSTA_USER_INFO_1_CONTAINER 00321 { 00322 unsigned long EntriesRead; 00323 LPWKSTA_USER_INFO_1 Buffer; 00324 } WKSTA_USER_INFO_1_CONTAINER; 00325 00326 typedef struct _WKSTA_USER_INFO_1_CONTAINER *PWKSTA_USER_INFO_1_CONTAINER; 00327 00328 typedef struct _WKSTA_USER_INFO_1_CONTAINER *LPWKSTA_USER_INFO_1_CONTAINER; 00329 00330 typedef struct _WKSTA_USER_ENUM_STRUCT 00331 { 00332 unsigned long Level; 00333 /* [switch_type] */ union _WKSTA_USER_ENUM_UNION 00334 { 00335 LPWKSTA_USER_INFO_0_CONTAINER Level0; 00336 LPWKSTA_USER_INFO_1_CONTAINER Level1; 00337 /* Empty union arm */ 00338 } WkstaUserInfo; 00339 } WKSTA_USER_ENUM_STRUCT; 00340 00341 typedef struct _WKSTA_USER_ENUM_STRUCT *PWKSTA_USER_ENUM_STRUCT; 00342 00343 typedef struct _WKSTA_USER_ENUM_STRUCT *LPWKSTA_USER_ENUM_STRUCT; 00344 00345 unsigned long NetrWkstaUserEnum( 00346 /* [unique][string][in] */ WKSSVC_IDENTIFY_HANDLE ServerName, 00347 /* [out][in] */ LPWKSTA_USER_ENUM_STRUCT UserInfo, 00348 /* [in] */ unsigned long PreferredMaximumLength, 00349 /* [out] */ unsigned long *TotalEntries, 00350 /* [unique][out][in] */ unsigned long *ResumeHandle); 00351 00352 void Opnum3NotUsedOnWire( 00353 /* [in] */ handle_t IDL_handle); 00354 00355 void Opnum4NotUsedOnWire( 00356 /* [in] */ handle_t IDL_handle); 00357 00358 typedef struct _WKSTA_TRANSPORT_INFO_0_CONTAINER 00359 { 00360 unsigned long EntriesRead; 00361 LPWKSTA_TRANSPORT_INFO_0 Buffer; 00362 } WKSTA_TRANSPORT_INFO_0_CONTAINER; 00363 00364 typedef struct _WKSTA_TRANSPORT_INFO_0_CONTAINER *PWKSTA_TRANSPORT_INFO_0_CONTAINER; 00365 00366 typedef struct _WKSTA_TRANSPORT_INFO_0_CONTAINER *LPWKSTA_TRANSPORT_INFO_0_CONTAINER; 00367 00368 typedef struct _WKSTA_TRANSPORT_ENUM_STRUCT 00369 { 00370 unsigned long Level; 00371 /* [switch_type] */ union _WKSTA_TRANSPORT_ENUM_UNION 00372 { 00373 LPWKSTA_TRANSPORT_INFO_0_CONTAINER Level0; 00374 /* Empty union arm */ 00375 } WkstaTransportInfo; 00376 } WKSTA_TRANSPORT_ENUM_STRUCT; 00377 00378 typedef struct _WKSTA_TRANSPORT_ENUM_STRUCT *PWKSTA_TRANSPORT_ENUM_STRUCT; 00379 00380 typedef struct _WKSTA_TRANSPORT_ENUM_STRUCT *LPWKSTA_TRANSPORT_ENUM_STRUCT; 00381 00382 unsigned long NetrWkstaTransportEnum( 00383 /* [unique][string][in] */ WKSSVC_IDENTIFY_HANDLE ServerName, 00384 /* [out][in] */ LPWKSTA_TRANSPORT_ENUM_STRUCT TransportInfo, 00385 /* [in] */ unsigned long PreferredMaximumLength, 00386 /* [out] */ unsigned long *TotalEntries, 00387 /* [unique][out][in] */ unsigned long *ResumeHandle); 00388 00389 unsigned long NetrWkstaTransportAdd( 00390 /* [unique][string][in] */ WKSSVC_IDENTIFY_HANDLE ServerName, 00391 /* [in] */ unsigned long Level, 00392 /* [in] */ LPWKSTA_TRANSPORT_INFO_0 TransportInfo, 00393 /* [unique][out][in] */ unsigned long *ErrorParameter); 00394 00395 unsigned long NetrWkstaTransportDel( 00396 /* [unique][string][in] */ WKSSVC_IDENTIFY_HANDLE ServerName, 00397 /* [unique][string][in] */ wchar_t *TransportName, 00398 /* [in] */ unsigned long ForceLevel); 00399 00400 void Opnum8NotUsedOnWire( 00401 /* [in] */ handle_t IDL_handle); 00402 00403 void Opnum9NotUsedOnWire( 00404 /* [in] */ handle_t IDL_handle); 00405 00406 void Opnum10NotUsedOnWire( 00407 /* [in] */ handle_t IDL_handle); 00408 00409 void Opnum11NotUsedOnWire( 00410 /* [in] */ handle_t IDL_handle); 00411 00412 void Opnum12NotUsedOnWire( 00413 /* [in] */ handle_t IDL_handle); 00414 00415 unsigned long NetrWorkstationStatisticsGet( 00416 /* [unique][string][in] */ WKSSVC_IDENTIFY_HANDLE ServerName, 00417 /* [unique][string][in] */ wchar_t *ServiceName, 00418 /* [in] */ unsigned long Level, 00419 /* [in] */ unsigned long Options, 00420 /* [out] */ LPSTAT_WORKSTATION_0 *Buffer); 00421 00422 void Opnum14NotUsedOnWire( 00423 /* [in] */ handle_t IDL_handle); 00424 00425 void Opnum15NotUsedOnWire( 00426 /* [in] */ handle_t IDL_handle); 00427 00428 void Opnum16NotUsedOnWire( 00429 /* [in] */ handle_t IDL_handle); 00430 00431 void Opnum17NotUsedOnWire( 00432 /* [in] */ handle_t IDL_handle); 00433 00434 void Opnum18NotUsedOnWire( 00435 /* [in] */ handle_t IDL_handle); 00436 00437 void Opnum19NotUsedOnWire( 00438 /* [in] */ handle_t IDL_handle); 00439 00440 unsigned long NetrGetJoinInformation( 00441 /* [unique][string][in] */ WKSSVC_IMPERSONATE_HANDLE ServerName, 00442 /* [string][out][in] */ wchar_t **NameBuffer, 00443 /* [out] */ PNETSETUP_JOIN_STATUS BufferType); 00444 00445 void Opnum21NotUsedOnWire( 00446 /* [in] */ handle_t IDL_handle); 00447 00448 typedef struct _JOINPR_USER_PASSWORD 00449 { 00450 unsigned char Obfuscator[ 8 ]; 00451 wchar_t Buffer[ 256 ]; 00452 unsigned long Length; 00453 } JOINPR_USER_PASSWORD; 00454 00455 typedef struct _JOINPR_USER_PASSWORD *PJOINPR_USER_PASSWORD; 00456 00457 typedef struct _JOINPR_ENCRYPTED_USER_PASSWORD 00458 { 00459 unsigned char Buffer[ 524 ]; 00460 } JOINPR_ENCRYPTED_USER_PASSWORD; 00461 00462 typedef struct _JOINPR_ENCRYPTED_USER_PASSWORD *PJOINPR_ENCRYPTED_USER_PASSWORD; 00463 00464 typedef struct _UNICODE_STRING 00465 { 00466 unsigned short Length; 00467 unsigned short MaximumLength; 00468 unsigned short *Buffer; 00469 } UNICODE_STRING; 00470 00471 typedef struct _UNICODE_STRING *PUNICODE_STRING; 00472 00473 unsigned long NetrJoinDomain2( 00474 /* [in] */ handle_t RpcBindingHandle, 00475 /* [unique][string][in] */ wchar_t *ServerName, 00476 /* [string][in] */ wchar_t *DomainName, 00477 /* [unique][string][in] */ wchar_t *MachineAccountOU, 00478 /* [unique][string][in] */ wchar_t *AccountName, 00479 /* [unique][in] */ PJOINPR_ENCRYPTED_USER_PASSWORD Password, 00480 /* [in] */ unsigned long Options); 00481 00482 unsigned long NetrUnjoinDomain2( 00483 /* [in] */ handle_t RpcBindingHandle, 00484 /* [unique][string][in] */ wchar_t *ServerName, 00485 /* [unique][string][in] */ wchar_t *AccountName, 00486 /* [unique][in] */ PJOINPR_ENCRYPTED_USER_PASSWORD Password, 00487 /* [in] */ unsigned long Options); 00488 00489 unsigned long NetrRenameMachineInDomain2( 00490 /* [in] */ handle_t RpcBindingHandle, 00491 /* [unique][string][in] */ wchar_t *ServerName, 00492 /* [unique][string][in] */ wchar_t *MachineName, 00493 /* [unique][string][in] */ wchar_t *AccountName, 00494 /* [unique][in] */ PJOINPR_ENCRYPTED_USER_PASSWORD Password, 00495 /* [in] */ unsigned long Options); 00496 00497 unsigned long NetrValidateName2( 00498 /* [in] */ handle_t RpcBindingHandle, 00499 /* [unique][string][in] */ wchar_t *ServerName, 00500 /* [string][in] */ wchar_t *NameToValidate, 00501 /* [unique][string][in] */ wchar_t *AccountName, 00502 /* [unique][in] */ PJOINPR_ENCRYPTED_USER_PASSWORD Password, 00503 /* [in] */ NETSETUP_NAME_TYPE NameType); 00504 00505 unsigned long NetrGetJoinableOUs2( 00506 /* [in] */ handle_t RpcBindingHandle, 00507 /* [unique][string][in] */ wchar_t *ServerName, 00508 /* [string][in] */ wchar_t *DomainName, 00509 /* [unique][string][in] */ wchar_t *AccountName, 00510 /* [unique][in] */ PJOINPR_ENCRYPTED_USER_PASSWORD Password, 00511 /* [out][in] */ unsigned long *OUCount, 00512 /* [size_is][size_is][string][out] */ wchar_t ***OUs); 00513 00514 unsigned long NetrAddAlternateComputerName( 00515 /* [in] */ handle_t RpcBindingHandle, 00516 /* [unique][string][in] */ wchar_t *ServerName, 00517 /* [unique][string][in] */ wchar_t *AlternateName, 00518 /* [unique][string][in] */ wchar_t *DomainAccount, 00519 /* [unique][in] */ PJOINPR_ENCRYPTED_USER_PASSWORD EncryptedPassword, 00520 /* [in] */ unsigned long Reserved); 00521 00522 unsigned long NetrRemoveAlternateComputerName( 00523 /* [in] */ handle_t RpcBindingHandle, 00524 /* [unique][string][in] */ wchar_t *ServerName, 00525 /* [unique][string][in] */ wchar_t *AlternateName, 00526 /* [unique][string][in] */ wchar_t *DomainAccount, 00527 /* [unique][in] */ PJOINPR_ENCRYPTED_USER_PASSWORD EncryptedPassword, 00528 /* [in] */ unsigned long Reserved); 00529 00530 unsigned long NetrSetPrimaryComputerName( 00531 /* [in] */ handle_t RpcBindingHandle, 00532 /* [unique][string][in] */ wchar_t *ServerName, 00533 /* [unique][string][in] */ wchar_t *PrimaryName, 00534 /* [unique][string][in] */ wchar_t *DomainAccount, 00535 /* [unique][in] */ PJOINPR_ENCRYPTED_USER_PASSWORD EncryptedPassword, 00536 /* [in] */ unsigned long Reserved); 00537 00538 typedef struct _NET_COMPUTER_NAME_ARRAY 00539 { 00540 unsigned long EntryCount; 00541 PUNICODE_STRING ComputerNames; 00542 } NET_COMPUTER_NAME_ARRAY; 00543 00544 typedef struct _NET_COMPUTER_NAME_ARRAY *PNET_COMPUTER_NAME_ARRAY; 00545 00546 unsigned long NetrEnumerateComputerNames( 00547 /* [unique][string][in] */ WKSSVC_IMPERSONATE_HANDLE ServerName, 00548 /* [in] */ NET_COMPUTER_NAME_TYPE NameType, 00549 /* [in] */ unsigned long Reserved, 00550 /* [out] */ PNET_COMPUTER_NAME_ARRAY *ComputerNames); 00551 00552 00553 00554 extern RPC_IF_HANDLE wkssvc_v1_0_c_ifspec; 00555 extern RPC_IF_HANDLE wkssvc_v1_0_s_ifspec; 00556 #endif /* __wkssvc_INTERFACE_DEFINED__ */ 00557 00558 /* Additional Prototypes for ALL interfaces */ 00559 00560 handle_t __RPC_USER WKSSVC_IDENTIFY_HANDLE_bind ( WKSSVC_IDENTIFY_HANDLE ); 00561 void __RPC_USER WKSSVC_IDENTIFY_HANDLE_unbind( WKSSVC_IDENTIFY_HANDLE, handle_t ); 00562 handle_t __RPC_USER WKSSVC_IMPERSONATE_HANDLE_bind ( WKSSVC_IMPERSONATE_HANDLE ); 00563 void __RPC_USER WKSSVC_IMPERSONATE_HANDLE_unbind( WKSSVC_IMPERSONATE_HANDLE, handle_t ); 00564 00565 /* end of Additional Prototypes */ 00566 00567 #ifdef __cplusplus 00568 } 00569 #endif 00570 00571 #endif 00572 00573