47 ERR(
"RpcServerUseProtseqEpW() failed (Status %lx)\n",
Status);
54 ERR(
"RpcServerRegisterIf() failed (Status %lx)\n",
Status);
61 ERR(
"RpcServerListen() failed (Status %lx)\n",
Status);
89 DWORD dwComputerNameLength;
102 dwComputerNameLength++;
111 WARN(
"LsaOpenPolicy() failed (Status 0x%08lx)\n", NtStatus);
117 (
PVOID*)&DomainInfo);
123 WARN(
"LsaQueryInformationPolicy() failed (Status 0x%08lx)\n", NtStatus);
131 if (pWkstaInfo ==
NULL)
150 *WkstaInfo = pWkstaInfo;
155 if (pWkstaInfo ==
NULL)
178 *WkstaInfo = pWkstaInfo;
183 if (pWkstaInfo ==
NULL)
208 *WkstaInfo = pWkstaInfo;
217 if (DomainInfo !=
NULL)
231 unsigned long *ErrorParameter)
244 unsigned long PreferredMaximumLength,
245 unsigned long *TotalEntries,
246 unsigned long *ResumeHandle)
248 ERR(
"NetrWkstaUserEnum(%p %p 0x%lx %p %p)\n",
249 ServerName, UserInfo, PreferredMaximumLength, TotalEntries, ResumeHandle);
279 unsigned long *ErrorParameter)
292 unsigned long PreferredMaximumLength,
293 unsigned long* TotalEntries,
294 unsigned long *ResumeHandle)
308 unsigned long *ErrorParameter)
320 wchar_t *TransportName,
321 unsigned long ForceLevel)
335 unsigned long *ErrorParameter)
362 unsigned long ForceLevel)
375 unsigned long PreferredMaximumLength,
376 unsigned long *TotalEntries,
377 unsigned long *ResumeHandle)
389 TRACE(
"NetrMessageBufferSend()\n");
406 TRACE(
"NetrWorkstationStatisticsGet(%p %p %lu 0x%lx %p)\n",
416 if (pStatBuffer ==
NULL)
435 TRACE(
"NetrLogonDomainNameAdd(%s)\n",
447 TRACE(
"NetrLogonDomainNameDel(%s)\n",
458 TRACE(
"NetrJoinDomain()\n");
468 TRACE(
"NetrUnjoinDomain()\n");
478 TRACE(
"NetrValidateName()\n");
488 TRACE(
"NetrRenameMachineInDomain()\n");
498 wchar_t **NameBuffer,
501 TRACE(
"NetrGetJoinInformation(%p %p %p)\n",
502 ServerName, NameBuffer, BufferType);
504 if (NameBuffer ==
NULL)
517 TRACE(
"NetrGetJoinableOUs()\n");
528 wchar_t *DomainNameParam,
529 wchar_t *MachineAccountOU,
530 wchar_t *AccountName,
536 FIXME(
"NetrJoinDomain2(%p %S %S %S %S %p 0x%lx)\n",
537 RpcBindingHandle, ServerName, DomainNameParam, MachineAccountOU,
540 if (DomainNameParam ==
NULL)
545 FIXME(
"NetrJoinDomain2: NETSETUP_JOIN_DOMAIN is not supported yet!\n");
563 wchar_t *AccountName,
579 wchar_t *AccountName,
594 wchar_t *NameToValidate,
595 wchar_t *AccountName,
610 wchar_t *DomainNameParam,
611 wchar_t *AccountName,
613 unsigned long* OUCount,
627 wchar_t *AlternateName,
628 wchar_t *DomainAccount,
643 wchar_t *AlternateName,
644 wchar_t *DomainAccount,
659 wchar_t *PrimaryName,
660 wchar_t *DomainAccount,
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 NameType
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static WCHAR ServiceName[]
DWORD WINAPI RpcThreadRoutine(LPVOID lpParameter)
NET_API_STATUS NetpGetJoinInformation(LPWSTR *NameBuffer, PNETSETUP_JOIN_STATUS BufferType)
NET_API_STATUS NetpJoinWorkgroup(_In_ LPCWSTR lpWorkgroupName)
OSVERSIONINFOW VersionInfo
unsigned long __stdcall NetrUseDel(WKSSVC_IMPERSONATE_HANDLE ServerName, wchar_t *UseName, unsigned long ForceLevel)
unsigned long __stdcall NetrUseAdd(WKSSVC_IMPERSONATE_HANDLE ServerName, unsigned long Level, LPUSE_INFO InfoStruct, unsigned long *ErrorParameter)
unsigned long __stdcall NetrWkstaTransportAdd(WKSSVC_IDENTIFY_HANDLE ServerName, unsigned long Level, LPWKSTA_TRANSPORT_INFO_0 TransportInfo, unsigned long *ErrorParameter)
unsigned long __stdcall NetrGetJoinInformation(WKSSVC_IMPERSONATE_HANDLE ServerName, wchar_t **NameBuffer, PNETSETUP_JOIN_STATUS BufferType)
unsigned long __stdcall NetrRemoveAlternateComputerName(handle_t RpcBindingHandle, wchar_t *ServerName, wchar_t *AlternateName, wchar_t *DomainAccount, PJOINPR_ENCRYPTED_USER_PASSWORD EncryptedPassword, unsigned long Reserved)
unsigned long __stdcall NetrRenameMachineInDomain2(handle_t RpcBindingHandle, wchar_t *ServerName, wchar_t *MachineName, wchar_t *AccountName, PJOINPR_ENCRYPTED_USER_PASSWORD Password, unsigned long Options)
unsigned long __stdcall NetrWkstaTransportEnum(WKSSVC_IDENTIFY_HANDLE ServerName, LPWKSTA_TRANSPORT_ENUM_STRUCT TransportInfo, unsigned long PreferredMaximumLength, unsigned long *TotalEntries, unsigned long *ResumeHandle)
unsigned long __stdcall NetrJoinDomain(void)
unsigned long __stdcall NetrMessageBufferSend(void)
unsigned long __stdcall NetrWkstaUserEnum(WKSSVC_IDENTIFY_HANDLE ServerName, LPWKSTA_USER_ENUM_STRUCT UserInfo, unsigned long PreferredMaximumLength, unsigned long *TotalEntries, unsigned long *ResumeHandle)
unsigned long __stdcall NetrGetJoinableOUs(void)
unsigned long __stdcall NetrWkstaGetInfo(WKSSVC_IDENTIFY_HANDLE ServerName, unsigned long Level, LPWKSTA_INFO *WkstaInfo)
unsigned long __stdcall NetrGetJoinableOUs2(handle_t RpcBindingHandle, wchar_t *ServerName, wchar_t *DomainNameParam, wchar_t *AccountName, PJOINPR_ENCRYPTED_USER_PASSWORD Password, unsigned long *OUCount, wchar_t ***OUs)
unsigned long __stdcall NetrValidateName2(handle_t RpcBindingHandle, wchar_t *ServerName, wchar_t *NameToValidate, wchar_t *AccountName, PJOINPR_ENCRYPTED_USER_PASSWORD Password, NETSETUP_NAME_TYPE NameType)
unsigned long __stdcall NetrWkstaSetInfo(WKSSVC_IDENTIFY_HANDLE ServerName, unsigned long Level, LPWKSTA_INFO WkstaInfo, unsigned long *ErrorParameter)
unsigned long __stdcall NetrEnumerateComputerNames(WKSSVC_IMPERSONATE_HANDLE ServerName, NET_COMPUTER_NAME_TYPE NameType, unsigned long Reserved, PNET_COMPUTER_NAME_ARRAY *ComputerNames)
unsigned long __stdcall NetrWorkstationStatisticsGet(WKSSVC_IDENTIFY_HANDLE ServerName, wchar_t *ServiceName, unsigned long Level, unsigned long Options, LPSTAT_WORKSTATION_0 *Buffer)
unsigned long __stdcall NetrWkstaTransportDel(WKSSVC_IDENTIFY_HANDLE ServerName, wchar_t *TransportName, unsigned long ForceLevel)
unsigned long __stdcall NetrValidateName(void)
unsigned long __stdcall NetrLogonDomainNameDel(WKSSVC_IDENTIFY_HANDLE DomainName)
unsigned long __stdcall NetrLogonDomainNameAdd(WKSSVC_IDENTIFY_HANDLE DomainName)
unsigned long __stdcall NetrRenameMachineInDomain(void)
unsigned long __stdcall NetrSetPrimaryComputerName(handle_t RpcBindingHandle, wchar_t *ServerName, wchar_t *PrimaryName, wchar_t *DomainAccount, PJOINPR_ENCRYPTED_USER_PASSWORD EncryptedPassword, unsigned long Reserved)
unsigned long __stdcall NetrWkstaUserSetInfo(WKSSVC_IDENTIFY_HANDLE Unused, unsigned long Level, LPWKSTA_USER_INFO UserInfo, unsigned long *ErrorParameter)
unsigned long __stdcall NetrUnjoinDomain(void)
unsigned long __stdcall NetrUnjoinDomain2(handle_t RpcBindingHandle, wchar_t *ServerName, wchar_t *AccountName, PJOINPR_ENCRYPTED_USER_PASSWORD Password, unsigned long Options)
unsigned long __stdcall NetrAddAlternateComputerName(handle_t RpcBindingHandle, wchar_t *ServerName, wchar_t *AlternateName, wchar_t *DomainAccount, PJOINPR_ENCRYPTED_USER_PASSWORD EncryptedPassword, unsigned long Reserved)
unsigned long __stdcall NetrJoinDomain2(handle_t RpcBindingHandle, wchar_t *ServerName, wchar_t *DomainNameParam, wchar_t *MachineAccountOU, wchar_t *AccountName, PJOINPR_ENCRYPTED_USER_PASSWORD Password, unsigned long Options)
unsigned long __stdcall NetrUseEnum(WKSSVC_IDENTIFY_HANDLE ServerName, LPUSE_ENUM_STRUCT InfoStruct, unsigned long PreferredMaximumLength, unsigned long *TotalEntries, unsigned long *ResumeHandle)
unsigned long __stdcall NetrUseGetInfo(WKSSVC_IMPERSONATE_HANDLE ServerName, wchar_t *UseName, unsigned long Level, LPUSE_INFO InfoStruct)
unsigned long __stdcall NetrWkstaUserGetInfo(WKSSVC_IDENTIFY_HANDLE Unused, unsigned long Level, LPWKSTA_USER_INFO UserInfo)
BOOL WINAPI GetComputerNameW(LPWSTR lpBuffer, LPDWORD lpnSize)
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES ObjectAttributes
#define ERROR_NOT_ENOUGH_MEMORY
NTSTATUS WINAPI LsaOpenPolicy(IN PLSA_UNICODE_STRING SystemName OPTIONAL, IN PLSA_OBJECT_ATTRIBUTES ObjectAttributes, IN ACCESS_MASK DesiredAccess, OUT PLSA_HANDLE PolicyHandle)
ULONG WINAPI LsaNtStatusToWinError(IN NTSTATUS Status)
NTSTATUS WINAPI LsaQueryInformationPolicy(IN LSA_HANDLE PolicyHandle, IN POLICY_INFORMATION_CLASS InformationClass, OUT PVOID *Buffer)
NTSTATUS WINAPI LsaFreeMemory(IN PVOID Buffer)
NTSTATUS WINAPI LsaClose(IN LSA_HANDLE ObjectHandle)
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INVALID_PARAMETER
#define ERROR_NOT_SUPPORTED
#define HeapFree(x, y, z)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
enum _NETSETUP_JOIN_STATUS * PNETSETUP_JOIN_STATUS
#define NETSETUP_JOIN_DOMAIN
@ PolicyPrimaryDomainInformation
#define POLICY_VIEW_LOCAL_INFORMATION
RPC_STATUS WINAPI RpcServerListen(UINT MinimumCallThreads, UINT MaxCalls, UINT DontWait)
RPC_STATUS WINAPI RpcServerRegisterIf(RPC_IF_HANDLE IfSpec, UUID *MgrTypeUuid, RPC_MGR_EPV *MgrEpv)
RPC_STATUS WINAPI RpcServerUseProtseqEpW(RPC_WSTR Protseq, UINT MaxCalls, RPC_WSTR Endpoint, LPVOID SecurityDescriptor)
#define RPC_C_LISTEN_MAX_CALLS_DEFAULT
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
#define midl_user_allocate
_In_ DWORD _Out_ PDWORD _In_opt_ PCSTR MachineName
LPWSTR wki100_computername
LPWSTR wki101_computername
DWORD wki102_logged_on_users
LPWSTR wki102_computername
WKSTA_INFO_102 WkstaInfo102
WKSTA_INFO_101 WkstaInfo101
WKSTA_INFO_100 WkstaInfo100
_In_ PWDFDEVICE_INIT _In_ PWDF_REMOVE_LOCK_OPTIONS Options
#define MAX_COMPUTERNAME_LENGTH
_Reserved_ PVOID Reserved
#define ERROR_INVALID_LEVEL
enum _NET_COMPUTER_NAME_TYPE NET_COMPUTER_NAME_TYPE
enum _NETSETUP_NAME_TYPE NETSETUP_NAME_TYPE
wchar_t * WKSSVC_IMPERSONATE_HANDLE
wchar_t * WKSSVC_IDENTIFY_HANDLE
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level