73 Socket->CatalogEntry = CatalogEntry;
77 Socket->Provider = CatalogEntry->Provider;
83 Socket->Overlapped = (CurrentThread->
OpenType == 0);
192 if (Socket->CatalogEntry)
196 Socket->CatalogEntry =
NULL;
241 if (OldSocket != Socket)
#define InterlockedIncrement
#define InterlockedDecrement
#define HeapFree(x, y, z)
BOOL WINAPI GetHandleInformation(IN HANDLE hObject, OUT LPDWORD lpdwFlags)
LPVOID WINAPI TlsGetValue(IN DWORD Index)
DWORD WINAPI WahCreateHandleContextTable(OUT PWAH_HANDLE_TABLE *Table)
DWORD WINAPI WahRemoveHandleContext(IN PWAH_HANDLE_TABLE Table, IN PWAH_HANDLE Handle)
PWAH_HANDLE WINAPI WahInsertHandleContext(IN PWAH_HANDLE_TABLE Table, IN PWAH_HANDLE Handle)
DWORD WINAPI WahDestroyHandleContextTable(IN PWAH_HANDLE_TABLE Table)
PWAH_HANDLE WINAPI WahReferenceContextByHandle(IN PWAH_HANDLE_TABLE Table, IN HANDLE Handle)
PWSSOCKET WSAAPI WsSockGetSocketNoExport(IN SOCKET Handle)
INT WSAAPI WsSockStartup(VOID)
INT WSAAPI WsSockAssociateHandle(IN PWSSOCKET Socket, IN SOCKET Handle, IN BOOLEAN IsProvider)
INT WSAAPI WsSockInitialize(IN PWSSOCKET Socket, IN PTCATALOG_ENTRY CatalogEntry)
PWSSOCKET WSAAPI WsSockFindIfsSocket(IN SOCKET Handle)
VOID WSAAPI WsSockDereference(IN PWSSOCKET Socket)
PWSSOCKET WSAAPI WsSockAllocate(VOID)
VOID WSPAPI WsSockCleanup(VOID)
PWAH_HANDLE_TABLE WsSockHandleTable
INT WSAAPI WsSockAddApiReference(IN SOCKET Handle)
VOID WSAAPI WsSockDelete(IN PWSSOCKET Socket)
PWSSOCKET WSAAPI WsSockGetSocket(IN SOCKET Handle)
INT WSAAPI WsSockDisassociateHandle(IN PWSSOCKET Socket)
BOOL WSAAPI WsSockDeleteSockets(IN LPVOID Context, IN PWAH_HANDLE Handle)
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
_In_ NDIS_ERROR_CODE ErrorCode
#define WSASYSCALLFAILURE
struct _WSSOCKET * PWSSOCKET
BOOL WSAAPI WsProcDetachSocket(IN PWSPROCESS Process, IN PWAH_HANDLE Handle)
VOID WSAAPI WsTcEntryDereference(IN PTCATALOG_ENTRY CatalogEntry)
FORCEINLINE PWSPROCESS WsGetProcess(VOID)
PTCATALOG WSAAPI WsProcGetTCatalog(IN PWSPROCESS Process)
DWORD WSAAPI WsTcFindIfsProviderForSocket(IN PTCATALOG TCatalog, SOCKET Socket)
_Must_inspect_result_ _In_ ULONG Flags