81#define MAX_TRANSPORT_NAME MAX_INTERFACE_NAME_LEN
82#define MAX_TRANSPORT_ADDR 13
84#define NBT_TRANSPORT_NAME_HEADER "\\Device\\NetBT_Tcpip_"
85#define UNKNOWN_TRANSPORT_NAME_HEADER "\\Device\\UnknownTransport_"
134 if (enumData && enumData->
pbuf)
140 enumData->
n_adapt = totalLANAs;
150 if (*(enumData->
pbuf))
155 spaceFor = totalLANAs;
160 if (enumData->
n_read < spaceFor)
163 LMSTR transport_name, transport_addr;
168 transport_name = (
LMSTR)(*(enumData->
pbuf) +
171 transport_addr = (
LMSTR)(*(enumData->
pbuf) +
190 TRACE(
"%d of %d:ti at %p\n", lanaIndex, totalLANAs, ti);
191 TRACE(
"transport_name at %p %s\n",
194 TRACE(
"transport_address at %p %s\n",
231 FIXME(
":not implemented for non-local computers\n");
236 if (hresume && *hresume)
238 FIXME(
":resume handle not implemented\n");
253 if (!total_entries || !
pbuf)
261 *read_entries = enumData.
n_read;
262 *total_entries = enumData.
n_adapt;
263 if (hresume) *hresume= 0;
268 TRACE(
"Invalid level %d is specified\n",
level);
333 int username_sz, logon_domain_sz, oth_domains_sz, logon_server_sz;
335 FIXME(
"Level 1 processing is partially implemented\n");
352 TRACE(
"LsaOpenPolicyFailed with NT status %x\n",
358 (
PVOID*) &DomainInfo);
364 (username_sz + logon_domain_sz +
365 oth_domains_sz + logon_server_sz) *
sizeof(
WCHAR),
373 ui->wkui1_logon_domain = (
LMSTR) (
374 ((
PBYTE)
ui->wkui1_username) + username_sz *
sizeof(
WCHAR));
375 ui->wkui1_oth_domains = (
LMSTR) (
376 ((
PBYTE)
ui->wkui1_logon_domain) +
377 logon_domain_sz *
sizeof(
WCHAR));
378 ui->wkui1_logon_server = (
LMSTR) (
379 ((
PBYTE)
ui->wkui1_oth_domains) +
380 oth_domains_sz *
sizeof(
WCHAR));
391 ui->wkui1_oth_domains[0] = 0;
392 ui->wkui1_logon_server[0] = 0;
400 FIXME(
"Stub. Level 1101 processing is not implemented\n");
409 ui->wkui1101_oth_domains = (
LMSTR)(
ui + 1);
412 ui->wkui1101_oth_domains[0] = 0;
416 TRACE(
"Invalid level %d is specified\n",
level);
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
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)
BOOL WINAPI GetUserNameW(LPWSTR lpszName, LPDWORD lpSize)
#define ERROR_INVALID_PARAMETER
NET_API_STATUS WINAPI NetApiBufferFree(LPVOID Buffer)
NET_API_STATUS WINAPI NetApiBufferAllocate(DWORD ByteCount, LPVOID *Buffer)
NET_API_STATUS WINAPI NetApiBufferReallocate(LPVOID OldBuffer, DWORD NewByteCount, LPVOID *NewBuffer)
UCHAR NetBIOSNumAdapters(void)
void NetBIOSEnumAdapters(ULONG transport, NetBIOSEnumAdaptersCallback cb, void *closure)
static void wprint_name(WCHAR *buffer, int len, ULONG transport, PMIB_IFROW ifRow)
NET_API_STATUS WINAPI NetpGetComputerName(LPWSTR *Buffer)
#define MAX_TRANSPORT_ADDR
static void wprint_mac(WCHAR *buffer, int len, const MIB_IFROW *ifRow)
#define UNKNOWN_TRANSPORT_NAME_HEADER
DECLSPEC_HIDDEN BOOL NETAPI_IsLocalComputer(LMCSTR name)
NET_API_STATUS WINAPI I_NetNameCompare(LPVOID p1, LPWSTR wkgrp, LPWSTR comp, LPVOID p4, LPVOID p5)
#define MAX_TRANSPORT_NAME
#define NBT_TRANSPORT_NAME_HEADER
NET_API_STATUS WINAPI NetWkstaUserGetInfo(LMSTR reserved, DWORD level, PBYTE *bufptr)
static BOOL WkstaEnumAdaptersCallback(UCHAR totalLANAs, UCHAR lanaIndex, ULONG transport, const NetBIOSAdapterImpl *data, void *closure)
NET_API_STATUS WINAPI NetWkstaTransportEnum(LMSTR ServerName, DWORD level, PBYTE *pbuf, DWORD prefmaxlen, LPDWORD read_entries, PDWORD total_entries, PDWORD hresume)
NET_API_STATUS WINAPI I_NetNameValidate(LPVOID p1, LPWSTR wkgrp, LPVOID p3, LPVOID p4)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
GLenum GLuint GLenum GLsizei const GLchar * buf
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
DWORD WINAPI GetIfEntry(PMIB_IFROW pIfRow)
#define MAX_PREFERRED_LENGTH
struct _WKSTA_USER_INFO_0 * PWKSTA_USER_INFO_0
struct _WKSTA_TRANSPORT_INFO_0 WKSTA_TRANSPORT_INFO_0
struct _WKSTA_TRANSPORT_INFO_0 * PWKSTA_TRANSPORT_INFO_0
struct _WKSTA_USER_INFO_1101 * PWKSTA_USER_INFO_1101
#define memcpy(s1, s2, n)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
@ PolicyAccountDomainInformation
#define POLICY_VIEW_LOCAL_INFORMATION
#define STATUS_ACCESS_VIOLATION
UCHAR bPhysAddr[MAXLEN_PHYSADDR]
WCHAR wszName[MAX_INTERFACE_NAME_LEN]
LSA_UNICODE_STRING DomainName
LPWSTR wkti0_transport_address
DWORD wkti0_number_of_vcs
LPWSTR wkti0_transport_name
DWORD wkti0_quality_of_service
static unsigned int bufptr
#define MAX_COMPUTERNAME_LENGTH
#define ERROR_INVALID_LEVEL
#define ERROR_NETWORK_UNREACHABLE
#define RPC_X_NULL_REF_POINTER