10#define WINSOCK_ROOT "System\\CurrentControlSet\\Services\\WinSock2\\Parameters"
277#define TlsIndex GlobalTlsIndex
853 IN WORD VersionRequested);
BOOL Query(LPCTSTR *ServiceArgs, DWORD ArgCount, BOOL bExtended)
_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
static const char const char * DllPath
IN PCO_ADDRESS_FAMILY AddressFamily
base of all file and directory entries
LPWSAQUERYSETW lpqsRestrictions
BOOLEAN StoresServiceClassInfo
PNSQUERY_PROVIDER CurrentProvider
PNSQUERY_PROVIDER ActiveProvider
LPWSAPROTOCOL_INFOW ProtocolBuffer
WSAPROTOCOL_INFOW ProtocolInfo
WSPUPCALLTABLE UpcallTable
struct _WSASYNCBLOCK::@605::@607 GetHost
struct _WSASYNCBLOCK::@605::@609 GetServ
struct _WSASYNCBLOCK::@605::@608 GetProto
HANDLE NamespaceCatalogEvent
HANDLE NotificationHelper
CRITICAL_SECTION ThreadLock
HANDLE ProtocolCatalogEvent
PTCATALOG ProtocolCatalog
PNSCATALOG NamespaceCatalog
PCHAR Aliases[MAXALIASES]
PTCATALOG_ENTRY CatalogEntry
LPWSPCANCELBLOCKINGCALL CancelBlockingCall
LPBLOCKINGCALLBACK BlockingCallback
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
_Must_inspect_result_ _In_opt_ WDFKEY ParentKey
_Must_inspect_result_ _In_ WDFCMRESLIST List
@ WsAsyncGetProtoByNumber
VOID WSAAPI WsSockCleanup(VOID)
FORCEINLINE DWORD WsQuickProlog(VOID)
VOID WSAAPI WsAsyncQueueRequest(IN PWSASYNCBLOCK AsyncBlock)
struct _WSPROTO_BUFFER * PWSPROTO_BUFFER
struct _WS_BUFFER * PWS_BUFFER
DWORD WSAAPI WsNqLookupServiceEnd(IN PNSQUERY NsQuery)
INT WSAAPI MapUnicodeQuerySetToAnsi(IN LPWSAQUERYSETW UnicodeSet, IN OUT PSIZE_T SetSize, OUT LPWSAQUERYSETA AnsiSet)
DWORD WSAAPI WsNqLookupServiceNext(PNSQUERY NsQuery, DWORD, PDWORD, OUT LPWSAQUERYSETW QuerySet)
DWORD WSAAPI WsTcEntryInitializeFromRegistry(IN PTCATALOG_ENTRY CatalogEntry, IN HKEY, unsigned long)
PTCATALOG_ENTRY WSAAPI WsTcEntryAllocate(VOID)
BOOL WSAAPI WsNcMatchProtocols(IN DWORD NameSpace, IN LONG AddressFamily, IN LPWSAQUERYSETW QuerySet)
INT WSAAPI WsNcGetCatalogFromProviderId(IN PNSCATALOG Catalog, IN LPGUID ProviderId, OUT PNSCATALOG_ENTRY *CatalogEntry)
DWORD WSAAPI WsNpInitialize(IN PNS_PROVIDER Provider, IN LPWSTR DllPath, IN LPGUID ProviderGuid)
INT WSAAPI WsSockStartup(VOID)
struct _NSCATALOG * PNSCATALOG
struct _PROTOCOL_ENUM_CONTEXT * PPROTOCOL_ENUM_CONTEXT
VOID WSAAPI WsNcDelete(IN PNSCATALOG Catalog)
PTCATALOG WSAAPI WsTcAllocate(VOID)
VOID WSAAPI WSNoteSuccessfulHostentLookup(IN CONST CHAR FAR *Name, IN CONST ULONG Address)
DWORD WSAAPI WsThreadDefaultBlockingHook(VOID)
INT WSAAPI WsSetupCatalogProtection(IN HKEY CatalogKey, IN HANDLE CatalogEvent, OUT LPDWORD UniqueId)
VOID WSAAPI WsTcUpdateProtocolList(IN PTCATALOG TCatalog, PLIST_ENTRY ProtocolList)
struct _WSPROCESS WSPROCESS
struct _ENUM_CONTEXT * PENUM_CONTEXT
struct _NSQUERY_PROVIDER NSQUERY_PROVIDER
BOOL WSAAPI WSAttemptAutodialName(IN CONST LPWSAQUERYSETW lpqsRestrictions)
INT WSAAPI WsSockAssociateHandle(IN PWSSOCKET Socket, IN SOCKET Handle, IN BOOLEAN IsProvider)
struct _TCATALOG_ENTRY TCATALOG_ENTRY
INT WSAAPI WsNcLoadProvider(IN PNSCATALOG Catalog, IN PNSCATALOG_ENTRY CatalogEntry)
DWORD WSAAPI WsThreadInitialize(IN PWSTHREAD Thread, IN PWSPROCESS Process)
struct _NSPROVIDER_ENUM_CONTEXT NSPROVIDER_ENUM_CONTEXT
PWSPROCESS CurrentWsProcess
VOID WSAAPI WsNqDelete(IN PNSQUERY NsQuery)
HKEY WSAAPI WsOpenRegistryRoot(VOID)
struct _WSSOCKET * PWSSOCKET
INT WSAAPI WsNcInitializeFromRegistry(IN PNSCATALOG Catalog, IN HKEY ParentKey, IN HANDLE CatalogEvent)
DWORD WSAAPI WsNqLookupServiceBegin(IN PNSQUERY NsQuery, IN LPWSAQUERYSETW QuerySet, IN DWORD ControlFlags, IN PNSCATALOG Catalog)
BOOL(WINAPI * PNSCATALOG_ENUMERATE_PROC)(IN PVOID Context, IN PNSCATALOG_ENTRY Entry)
PWSASYNCBLOCK WSAAPI WsAsyncAllocateBlock(IN SIZE_T ExtraLength)
INT WSAAPI WsSockInitialize(IN PWSSOCKET Socket, IN PTCATALOG_ENTRY CatalogEntry)
DWORD WSAAPI WsNpLookupServiceNext(IN PNS_PROVIDER Provider, IN HANDLE LookupHandle, IN DWORD ControlFlags, OUT PDWORD BufferLength, OUT LPWSAQUERYSETW Results)
DWORD WSAAPI WsNqInitialize(IN PNSQUERY NsQuery)
DWORD WSAAPI WsThreadStartup(VOID)
struct _NSPROVIDER NSPROVIDER
PNSQUERY_PROVIDER WSAAPI WsNqNextProvider(PNSQUERY NsQuery, IN PNSQUERY_PROVIDER Provider)
VOID WSAAPI WsSockDereference(IN PWSSOCKET Socket)
VOID WSAAPI WsAsyncTerminateThread(VOID)
DWORD WSAAPI WsNpLookupServiceEnd(IN PNS_PROVIDER Provider, IN HANDLE LookupHandle)
PNSQUERY_PROVIDER WSAAPI WsNqProvAllocate(VOID)
struct _TPROVIDER * PTPROVIDER
PSERVENT WSAAPI WsThreadBlobToServent(IN PWSTHREAD Thread, IN LPBLOB Blob)
PTPROVIDER WSAAPI WsTcFindProvider(IN PTCATALOG TCatalog, IN LPGUID ProviderId)
struct _WS_BUFFER WS_BUFFER
LPWSATHREADID WSAAPI WsThreadGetThreadId(IN PWSPROCESS Process)
struct _TPROVIDER TPROVIDER
struct _NSQUERY * PNSQUERY
PNSCATALOG_ENTRY WSAAPI WsNcEntryAllocate(VOID)
INT WSAAPI CopyQuerySetW(IN LPWSAQUERYSETW UnicodeSet, OUT LPWSAQUERYSETW *UnicodeCopy)
VOID WSAAPI WsTcEntrySetProvider(IN PTCATALOG_ENTRY CatalogEntry, IN PTPROVIDER Provider)
BOOL WSAAPI WsTcOpen(IN PTCATALOG TCatalog, IN HKEY)
FORCEINLINE DWORD WsQuickPrologTid(LPWSATHREADID *Tid)
BOOL WSAAPI WsProcDetachSocket(IN PWSPROCESS Process, IN PWAH_HANDLE Handle)
VOID WSAAPI WsTcEntryDereference(IN PTCATALOG_ENTRY CatalogEntry)
INT WSAAPI WsNcGetServiceClassInfo(IN PNSCATALOG Catalog, IN OUT LPDWORD BugSize, IN OUT LPWSASERVICECLASSINFOW lpServiceClassInfo)
DWORD WSAAPI WsThreadGetCurrentThread(IN PWSPROCESS Process, IN PWSTHREAD *Thread)
VOID WSAAPI WsRasInitializeAutodial(VOID)
BOOL WSAAPI WsNqValidateAndReference(IN PNSQUERY Query)
DWORD WSAAPI WsNqProvLookupServiceEnd(IN PNSQUERY_PROVIDER QueryProvider)
struct _PROVIDER_ENUM_CONTEXT PROVIDER_ENUM_CONTEXT
DWORD WSAAPI WsNqProvInitialize(IN PNSQUERY_PROVIDER QueryProvider, IN PNS_PROVIDER Provider)
DWORD WSAAPI WsTcGetEntryFromCatalogEntryId(IN PTCATALOG TCatalog, IN DWORD CatalogEntryId, IN PTCATALOG_ENTRY *CatalogEntry)
VOID WSAAPI WsTcEntryDelete(IN PTCATALOG_ENTRY CatalogEntry)
FORCEINLINE PWSPROCESS WsGetProcess(VOID)
BOOL WSAAPI WsNqBeginEnumerationProc(PVOID Context, PNSCATALOG_ENTRY CatalogEntry)
BOOL WSAAPI WSAttemptAutodialAddr(IN CONST SOCKADDR FAR *Name, IN INT NameLength)
struct _TCATALOG * PTCATALOG
PNSQUERY WSAAPI WsNqAllocate(VOID)
BOOL(WINAPI * PTCATALOG_ENUMERATE_PROC)(IN PVOID Context, IN PTCATALOG_ENTRY Entry)
VOID WSAAPI WsTcEnumerateCatalogItems(IN PTCATALOG Catalog, IN PTCATALOG_ENUMERATE_PROC Callback, IN PVOID Context)
INT WSAAPI WsSlowPrologTid(OUT LPWSATHREADID *ThreadId)
VOID WSAAPI WsTpDereference(IN PTPROVIDER Provider)
struct _WSASYNCCONTEXT WSASYNCCONTEXT
VOID WSAAPI WsThreadCleanup(VOID)
VOID WSAAPI WsProcDelete(IN PWSPROCESS Process)
BOOLEAN WsAsyncThreadInitialized
BOOL WSAAPI WsCheckCatalogState(IN HANDLE Event)
INT WSAAPI WsProcStartup(VOID)
DWORD WSAAPI WsTcInitializeFromRegistry(IN PTCATALOG TCatalog, HKEY, PVOID)
struct _WSTHREAD * PWSTHREAD
PNSCATALOG WSAAPI WsProcGetNsCatalog(IN PWSPROCESS Process)
struct _WSPROTO_BUFFER WSPROTO_BUFFER
struct _NSCATALOG_ENTRY NSCATALOG_ENTRY
INT WSAAPI MapAnsiQuerySetToUnicode(IN LPWSAQUERYSETA AnsiSet, IN OUT PSIZE_T SetSize, OUT LPWSAQUERYSETW UnicodeSet)
struct _TCATALOG TCATALOG
struct _WSSOCKET WSSOCKET
VOID WSAAPI WsDestroyStartupSynchronization(VOID)
DWORD WSAAPI WsThreadCreate(IN PWSPROCESS Process, IN PWSTHREAD *Thread)
PWSSOCKET WSAAPI WsSockAllocate(VOID)
DWORD WSAAPI WsTcGetEntryFromTriplet(IN PTCATALOG TCatalog, IN INT AddressFamily, IN INT SocketType, IN INT Protocol, IN DWORD StartId, IN PTCATALOG_ENTRY *CatalogEntry)
VOID WSAAPI WsNcEntrySetProvider(IN PNSCATALOG_ENTRY Entry, IN PNS_PROVIDER Provider)
DWORD WSAAPI WsNpNSPCleanup(IN PNS_PROVIDER Provider)
PWAH_HANDLE_TABLE WsSockHandleTable
struct _PROTOCOL_ENUM_CONTEXT PROTOCOL_ENUM_CONTEXT
PTPROVIDER WSAAPI WsTpAllocate(VOID)
VOID WSAAPI WsNcEnumerateCatalogItems(IN PNSCATALOG Catalog, IN PNSCATALOG_ENUMERATE_PROC Callback, IN PVOID Context)
DWORD WSAAPI WsNqProvLookupServiceBegin(IN PNSQUERY_PROVIDER QueryProvider, IN LPWSAQUERYSETW QuerySet, IN LPWSASERVICECLASSINFOW ServiceClassInfo, IN DWORD)
VOID WSAAPI WsCreateStartupSynchronization(VOID)
enum _WSASYNCOPS WSASYNCOPS
struct _NSCATALOG NSCATALOG
VOID WSAAPI WsProcSetVersion(IN PWSPROCESS Process, IN WORD VersionRequested)
DWORD WSAAPI WsNpLookupServiceBegin(IN PNS_PROVIDER Provider, IN LPWSAQUERYSETW Restrictions, struct _WSAServiceClassInfoW *, IN DWORD ControlFlags, OUT PHANDLE LookupHandle)
PWSPROTO_BUFFER WSAAPI WsThreadGetProtoBuffer(IN PWSTHREAD Thread)
struct _WSASYNCBLOCK WSASYNCBLOCK
INT WSAAPI WsSlowProlog(VOID)
INT WSAAPI MapUnicodeProtocolInfoToAnsi(IN LPWSAPROTOCOL_INFOW UnicodeInfo, OUT LPWSAPROTOCOL_INFOA AnsiInfo)
LPSTR WSAAPI AnsiDupFromUnicode(IN LPCWSTR UnicodeString)
PHOSTENT WSAAPI WsThreadBlobToHostent(IN PWSTHREAD Thread, IN LPBLOB Blob)
VOID WSAAPI WsNqDereference(IN PNSQUERY Query)
PTCATALOG WSAAPI WsProcGetTCatalog(IN PWSPROCESS Process)
struct _WSPROCESS * PWSPROCESS
PNSCATALOG WSAAPI WsNcAllocate(VOID)
VOID WSAAPI WsNcEntryDereference(IN PNSCATALOG_ENTRY CatalogEntry)
INT WSAAPI WsProcGetAsyncHelper(IN PWSPROCESS Process, OUT PHANDLE Handle)
INT WSAAPI WsApiProlog(OUT PWSPROCESS *Process, OUT PWSTHREAD *Thread)
VOID WSAAPI WsRasUninitializeAutodial(VOID)
DWORD WSAAPI WsNqProvLookupServiceNext(IN PNSQUERY_PROVIDER QueryProvider, DWORD, PDWORD, LPWSAQUERYSETW QuerySet)
INT WSAAPI WsSockAddApiReference(IN SOCKET Handle)
DWORD WSAAPI WsTcGetEntryFromAf(IN PTCATALOG TCatalog, IN INT AddressFamily, IN PTCATALOG_ENTRY *CatalogEntry)
DWORD WSAAPI WsThreadCancelBlockingCall(IN PWSTHREAD Thread)
VOID WSAAPI WsNpDereference(IN PNS_PROVIDER Provider)
struct _WSTHREAD WSTHREAD
struct _WSASYNCBLOCK * PWSASYNCBLOCK
PWS_SOCK_POST_ROUTINE WsSockPostRoutine
VOID WSAAPI WsTpDelete(IN PTPROVIDER Provider)
VOID WSAAPI WsThreadDestroyCurrentThread(VOID)
FARPROC WSAAPI WsThreadSetBlockingHook(IN PWSTHREAD Thread, IN FARPROC BlockingHook)
VOID WSAAPI WsAsyncGlobalTerminate(VOID)
struct _WSASYNCCONTEXT * PWSASYNCCONTEXT
VOID WSAAPI WsNpDelete(IN PNS_PROVIDER Provider)
INT WSAAPI WsAsyncCancelRequest(IN HANDLE TaskHandle)
DWORD WSAAPI WsThreadUnhookBlockingHook(IN PWSTHREAD Thread)
LPWSTR WSAAPI UnicodeDupFromAnsi(IN LPCSTR AnsiString)
struct _PROVIDER_ENUM_CONTEXT * PPROVIDER_ENUM_CONTEXT
BOOL WSAAPI WsAsyncCheckAndInitThread(VOID)
struct _NSPROVIDER * PNS_PROVIDER
BOOL(WINAPI * PWS_SOCK_POST_ROUTINE)(IN HWND hWnd, IN UINT wMsg, IN WPARAM wParam, IN LPARAM lParam)
PWSSOCKET WSAAPI WsSockGetSocket(IN SOCKET Handle)
INT WSAAPI WsSockDisassociateHandle(IN PWSSOCKET Socket)
INT WSAAPI WsNcRefreshFromRegistry(IN PNSCATALOG Catalog, IN HANDLE CatalogEvent)
BOOL WSAAPI WsSockDeleteSockets(IN LPVOID Context, IN PWAH_HANDLE Handle)
struct _ENUM_CONTEXT ENUM_CONTEXT
PNSQUERY_PROVIDER WSAAPI WsNqPreviousProvider(IN PNSQUERY Query, IN PNSQUERY_PROVIDER Provider)
VOID WSAAPI WsTcDelete(IN PTCATALOG Catalog)
VOID WSAAPI WsAsyncGlobalInitialize(VOID)
struct _NSQUERY_PROVIDER * PNSQUERY_PROVIDER
DWORD WSAAPI WsTpWSPCleanup(IN PTPROVIDER Provider, int *)
VOID WSAAPI WsNcUpdateNamespaceList(IN PNSCATALOG Catalog, IN PLIST_ENTRY List)
DWORD WSAAPI WsTcFindIfsProviderForSocket(IN PTCATALOG TCatalog, SOCKET Socket)
PWSTHREAD WSAAPI WsThreadAllocate(VOID)
struct _NSPROVIDER_ENUM_CONTEXT * PNSPROVIDER_ENUM_CONTEXT
PNS_PROVIDER WSAAPI WsNpAllocate(VOID)
VOID WSAAPI WsNqProvDelete(IN PNSQUERY_PROVIDER QueryProvider)
BOOL WSAAPI WsNqAddProvider(IN PNSQUERY NsQuery, IN PNS_PROVIDER Provider)
VOID WSAAPI WsThreadDelete(IN PWSTHREAD Thread)
DWORD WSAAPI WsTcRefreshFromRegistry(IN PTCATALOG TCatalog, PVOID)
INT WSAAPI WsNcEntryInitializeFromRegistry(IN PNSCATALOG_ENTRY CatalogEntry, IN HKEY ParentKey, IN ULONG UniqueId)
DWORD WSAAPI WsTpInitialize(IN PTPROVIDER Provider, IN LPSTR DllName, LPWSAPROTOCOL_INFOW ProtocolInfo)
struct _TCATALOG_ENTRY * PTCATALOG_ENTRY
DWORD WSAAPI WsTcLoadProvider(IN PTCATALOG TCatalog, IN PTCATALOG_ENTRY CatalogEntry)
struct _NSCATALOG_ENTRY * PNSCATALOG_ENTRY
int(WSPAPI * LPWSPCANCELBLOCKINGCALL)(_Out_ LPINT lpErrno)