79 sprintf(AddressBuffer,
"%u.%u.%u.%u",
94 for (
i = 0;
i < 8;
i++)
122 WsaQuery->
dwSize =
sizeof(*WsaQuery);
127 WsaQuery->lpafpProtocols =
afp;
185 *Results = NewResults;
227 PCHAR Results = ResultsBuffer;
247 pszName = szLocalName;
263 if (!(Blob) && (!(
name) || !(*
name)))
313 CHAR AddressBuffer[100];
317 PCHAR Results = ResultsBuffer;
402 PCHAR Results = ResultsBuffer;
437 PCHAR Results = ResultsBuffer;
506 PCHAR Results = ResultsBuffer;
610 AddressCopy = AsyncBlock + 1;
616 AsyncBlock->
GetHost.wMsg = wMsg;
617 AsyncBlock->
GetHost.ByWhat = AddressCopy;
648 DPRINT(
"WSAAsyncGetProtoByNumber: %lx, %lx, %s\n",
hWnd, wMsg,
Name);
675 NameCopy = AsyncBlock + 1;
681 AsyncBlock->
GetHost.wMsg = wMsg;
682 AsyncBlock->
GetHost.ByWhat = NameCopy;
711 DPRINT(
"WSAAsyncGetProtoByName: %lx, %lx, %s\n",
hWnd, wMsg,
Name);
738 NameCopy = AsyncBlock + 1;
745 AsyncBlock->
GetProto.ByWhat = NameCopy;
833 DPRINT(
"WSAAsyncGetProtoByNumber: %lx, %lx, %s\n",
hWnd, wMsg,
Name);
860 NameCopy = AsyncBlock + 1;
866 AsyncBlock->
GetServ.wMsg = wMsg;
867 AsyncBlock->
GetServ.ByWhat = NameCopy;
897 DPRINT(
"WSAAsyncGetProtoByNumber: %lx, %lx, %lx\n",
hWnd, wMsg,
Port);
926 AsyncBlock->
GetServ.wMsg = wMsg;
950 DPRINT(
"WSACancelAsyncRequest: %lx\n", hAsyncTaskHandle);
static USHORT USHORT * NewLength
static UNICODE_STRING PortName
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
#define HeapFree(x, y, z)
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
HANDLE WSAAPI WSAAsyncGetHostByName(IN HWND hWnd, IN UINT wMsg, IN CONST CHAR FAR *Name, OUT CHAR FAR *Buffer, IN INT BufferLength)
HANDLE WSAAPI WSAAsyncGetServByName(IN HWND hWnd, IN UINT wMsg, IN CONST CHAR FAR *Name, IN CONST CHAR FAR *Protocol, OUT CHAR FAR *Buffer, IN INT BufferLength)
PSERVENT WSAAPI getservbyport(IN int port, IN const char FAR *proto)
HANDLE WSAAPI WSAAsyncGetProtoByName(IN HWND hWnd, IN UINT wMsg, IN CONST CHAR FAR *Name, OUT CHAR FAR *Buffer, IN INT BufferLength)
PHOSTENT WSAAPI gethostbyname(IN const char FAR *name)
PSERVENT WSAAPI getservbyname(IN const char FAR *name, IN const char FAR *proto)
INT WSAAPI WSACancelAsyncRequest(IN HANDLE hAsyncTaskHandle)
INT WSAAPI gethostname(OUT char FAR *name, IN INT namelen)
VOID WSAAPI FixList(PCHAR **List, ULONG_PTR Base)
VOID WSAAPI UnpackServEnt(PSERVENT Servent)
HANDLE WSAAPI WSAAsyncGetServByPort(IN HWND hWnd, IN UINT wMsg, IN INT Port, IN CONST CHAR FAR *Protocol, OUT CHAR FAR *Buffer, IN INT BufferLength)
VOID WSAAPI UnpackHostEnt(PHOSTENT Hostent)
HANDLE WSAAPI WSAAsyncGetProtoByNumber(IN HWND hWnd, IN UINT wMsg, IN INT Number, OUT CHAR FAR *Buffer, IN INT BufferLength)
LPBLOB WSAAPI getxyDataEnt(IN OUT PCHAR *Results, IN DWORD Length, IN LPSTR Name, IN LPCGUID Type, IN LPSTR *NewName)
VOID WSAAPI Local_Ip4AddresstoString(IN PCHAR AddressBuffer, IN PCHAR Address)
HANDLE WSAAPI WSAAsyncGetHostByAddr(IN HWND hWnd, IN UINT wMsg, IN CONST CHAR FAR *Address, IN INT Length, IN INT Type, OUT CHAR FAR *Buffer, IN INT BufferLength)
PHOSTENT WSAAPI gethostbyaddr(IN const char FAR *addr, IN int len, IN int type)
VOID WSAAPI Local_Ip6AddresstoString(IN PCHAR AddressBuffer, IN PCHAR Address)
GLuint GLuint GLsizei GLenum type
GLenum const GLvoid * addr
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
#define sprintf(buf, format,...)
_In_ NDIS_ERROR_CODE ErrorCode
const GUID DECLSPEC_SELECTANY HostAddrByNameGuid
const GUID DECLSPEC_SELECTANY HostnameGuid
const GUID DECLSPEC_SELECTANY IANAGuid
const GUID DECLSPEC_SELECTANY AddressGuid
_In_ ULONG _In_ ULONG _In_ ULONG Length
_In_opt_ PENTER_STATE_SYSTEM_HANDLER _In_opt_ PVOID _In_ LONG _In_opt_ LONG volatile * Number
#define IsEqualGUID(rguid1, rguid2)
INT WSAAPI WSALookupServiceEnd(IN HANDLE hLookup)
INT WSAAPI WSALookupServiceNextA(IN HANDLE hLookup, IN DWORD dwControlFlags, IN OUT LPDWORD lpdwBufferLength, OUT LPWSAQUERYSETA lpqsResults)
INT WSAAPI WSALookupServiceBeginA(IN LPWSAQUERYSETA lpqsRestrictions, IN DWORD dwControlFlags, OUT LPHANDLE lphLookup)
DWORD dwNumberOfProtocols
LPSTR lpszServiceInstanceName
struct _WSASYNCBLOCK::@609::@611 GetHost
struct _WSASYNCBLOCK::@609::@613 GetServ
struct _WSASYNCBLOCK::@609::@612 GetProto
#define RtlZeroMemory(Destination, Length)
#define RtlMoveMemory(Destination, Source, Length)
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
_Must_inspect_result_ _In_ WDFCMRESLIST List
DWORD WINAPI GetLastError(void)
#define WSAHOST_NOT_FOUND
#define WSASERVICE_NOT_FOUND
struct _WSAQuerySetA * PWSAQUERYSETA
#define WSA_NOT_ENOUGH_MEMORY
VOID WINAPI WSNoteSuccessfulHostentLookup(IN CONST CHAR FAR *Name, IN CONST ULONG Address)
@ WsAsyncGetProtoByNumber
VOID WSAAPI WsAsyncQueueRequest(IN PWSASYNCBLOCK AsyncBlock)
PWSASYNCBLOCK WSAAPI WsAsyncAllocateBlock(IN SIZE_T ExtraLength)
PSERVENT WSAAPI WsThreadBlobToServent(IN PWSTHREAD Thread, IN LPBLOB Blob)
PHOSTENT WSAAPI WsThreadBlobToHostent(IN PWSTHREAD Thread, IN LPBLOB Blob)
INT WSAAPI WsApiProlog(OUT PWSPROCESS *Process, OUT PWSTHREAD *Thread)
INT WSAAPI WsAsyncCancelRequest(IN HANDLE TaskHandle)
BOOL WSAAPI WsAsyncCheckAndInitThread(VOID)
_In_ PUNICODE_STRING NewName