ReactOS 0.4.16-dev-306-g647d351
ws2_32p.h
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS WinSock 2.2 Library
4 * FILE: dll/win32/ws2_32/inc/ws2_32p.h
5 * PURPOSE: WinSock 2.2 Main Header
6 */
7
8#pragma once
9
10#define WINSOCK_ROOT "System\\CurrentControlSet\\Services\\WinSock2\\Parameters"
11#define MAXALIASES 35
12
13typedef enum _WSASYNCOPS
14{
23
24typedef struct _WSASYNCBLOCK
25{
29 union
30 {
31 struct
32 {
41 struct
42 {
43 HWND hWnd;
44 UINT wMsg;
50 struct
51 {
52 HWND hWnd;
53 UINT wMsg;
60 };
62
63typedef struct _WSASYNCCONTEXT
64{
69
70typedef struct _WSPROTO_BUFFER
71{
76
77typedef struct _TPROVIDER
78{
84
85typedef struct _TCATALOG_ENTRY
86{
93
94typedef struct _TCATALOG
95{
104
105typedef struct _NSPROVIDER
106{
113
114typedef struct _NSQUERY_PROVIDER
115{
120
121typedef struct _NSCATALOG_ENTRY
122{
135
136typedef struct _NSCATALOG
137{
144
145typedef struct _NSQUERY
146{
159
160typedef struct _WSPROCESS
161{
174
175typedef struct _WSTHREAD
176{
181 LPBLOCKINGCALLBACK BlockingCallback;
193
194typedef struct _WSSOCKET
195{
205
206typedef struct _ENUM_CONTEXT
207{
213
215{
224
226{
234
236{
244
245typedef struct _WS_BUFFER
246{
251
252typedef BOOL
256);
257
258typedef BOOL
262);
263
264typedef BOOL
266 IN HWND hWnd,
267 IN UINT wMsg,
270);
271
273extern HANDLE WsSockHeap;
276extern DWORD GlobalTlsIndex;
277#define TlsIndex GlobalTlsIndex
280
281LPSTR
282WSAAPI
284
285LPWSTR
286WSAAPI
288
289VOID
290WSAAPI
292
293VOID
294WSAAPI
296
297BOOL
298WSAAPI
300
301BOOL
302WSAAPI
305 IN INT NameLength
306);
307
308VOID
309WSAAPI
313);
314
315INT
316WSAAPI
318 OUT LPWSAPROTOCOL_INFOA AnsiInfo);
319
320INT
321WSAAPI
323 IN OUT PSIZE_T SetSize,
324 OUT LPWSAQUERYSETW UnicodeSet);
325
326INT
327WSAAPI
329 IN OUT PSIZE_T SetSize,
330 OUT LPWSAQUERYSETA AnsiSet);
331
332INT
333WSAAPI
335 OUT LPWSAQUERYSETW *UnicodeCopy);
336
337INT
338WSAAPI
340
341INT
342WSAAPI
344
346WSAAPI
348
349INT
350WSAAPI
353
354HKEY
355WSAAPI
357
358VOID
359WSAAPI
361
362VOID
363WSAAPI
365
366INT
367WSAAPI
369 IN HANDLE CatalogEvent,
370 OUT LPDWORD UniqueId);
371
372BOOL
373WSAAPI
375
377WSAAPI
379
380VOID
381WSAAPI
382WsNcDelete(IN PNSCATALOG Catalog);
383
384INT
385WSAAPI
388 IN HANDLE CatalogEvent);
389
390INT
391WSAAPI
393 IN HANDLE CatalogEvent);
394
395VOID
396WSAAPI
399
400BOOL
401WSAAPI
402WsNcMatchProtocols(IN DWORD NameSpace,
404 IN LPWSAQUERYSETW QuerySet);
405
406INT
407WSAAPI
409 IN PNSCATALOG_ENTRY CatalogEntry);
410
411INT
412WSAAPI
414 IN LPGUID ProviderId,
415 OUT PNSCATALOG_ENTRY *CatalogEntry);
416
417VOID
418WSAAPI
422
423INT
424WSAAPI
426 IN OUT LPDWORD BugSize,
427 IN OUT LPWSASERVICECLASSINFOW lpServiceClassInfo);
428
430WSAAPI
432
433INT
434WSAAPI
437 IN ULONG UniqueId);
438
439VOID
440WSAAPI
442
443VOID
444WSAAPI
447
448BOOL
449WSAAPI
451 IN PNSQUERY NsQuery,
453);
454
456WSAAPI
458
459BOOL
460WSAAPI
463 PNSCATALOG_ENTRY CatalogEntry
464);
465
466VOID
467WSAAPI
468WsNqDelete(IN PNSQUERY NsQuery);
469
470DWORD
471WSAAPI
472WsNqInitialize(IN PNSQUERY NsQuery);
473
474DWORD
475WSAAPI
477 IN PNSQUERY NsQuery,
478 IN LPWSAQUERYSETW QuerySet,
479 IN DWORD ControlFlags,
480 IN PNSCATALOG Catalog
481);
482
483DWORD
484WSAAPI
486
487DWORD
488WSAAPI
490 PNSQUERY NsQuery,
491 DWORD,
492 PDWORD,
493 OUT LPWSAQUERYSETW QuerySet
494);
495
497WSAAPI
499 PNSQUERY NsQuery,
501);
502
504WSAAPI
508);
509
510VOID
511WSAAPI
513
514BOOL
515WSAAPI
517
518DWORD
519WSAAPI
521 IN PNSQUERY_PROVIDER QueryProvider,
522 DWORD,
523 PDWORD ,
524 LPWSAQUERYSETW QuerySet
525);
526
527DWORD
528WSAAPI
530
531DWORD
532WSAAPI
534 IN PNSQUERY_PROVIDER QueryProvider,
536);
537
539WSAAPI
541
542VOID
543WSAAPI
544WsNqProvDelete(IN PNSQUERY_PROVIDER QueryProvider);
545
546DWORD
547WSAAPI
549 IN PNSQUERY_PROVIDER QueryProvider,
550 IN LPWSAQUERYSETW QuerySet,
551 IN LPWSASERVICECLASSINFOW ServiceClassInfo,
552 IN DWORD
553);
554
555VOID
556WSAAPI
558
559DWORD
560WSAAPI
563 IN LPWSAQUERYSETW Restrictions,
564 struct _WSAServiceClassInfoW *,
565 IN DWORD ControlFlags,
566 OUT PHANDLE LookupHandle
567);
568
569DWORD
570WSAAPI
572
573DWORD
574WSAAPI
577 IN HANDLE LookupHandle
578);
579
580DWORD
581WSAAPI
585 IN LPGUID ProviderGuid
586);
587
589WSAAPI
591
592VOID
593WSAAPI
595
596DWORD
597WSAAPI
600 IN HANDLE LookupHandle,
601 IN DWORD ControlFlags,
603 OUT LPWSAQUERYSETW Results
604);
605
606VOID
607WSAAPI
609
610DWORD
611WSAAPI
614 int *
615);
616
618WSAAPI
620
621DWORD
622WSAAPI
625 IN LPSTR DllName,
626 LPWSAPROTOCOL_INFOW ProtocolInfo
627);
628
629VOID
630WSAAPI
632
633VOID
634WSAAPI
636
637VOID
638WSAAPI
640
641DWORD
642WSAAPI
646);
647
648DWORD
649WSAAPI
653);
654
656WSAAPI
658
659DWORD
660WSAAPI
662
663VOID
664WSAAPI
666
667DWORD
668WSAAPI
670
671DWORD
672WSAAPI
674
676WSAAPI
678 IN FARPROC BlockingHook);
679
680
682WSAAPI
684 IN LPBLOB Blob);
685
687WSAAPI
689 IN LPBLOB Blob);
690
692WSAAPI
694
696WSAAPI
698
699DWORD
700WSAAPI
702
703DWORD
704WSAAPI
708);
709
710DWORD
711WSAAPI
713
714DWORD
715WSAAPI
717
718DWORD
719WSAAPI
721
723WSAAPI
725
726VOID
727WSAAPI
729
730DWORD
731WSAAPI
733
734BOOL
735WSAAPI
736WsTcOpen(IN PTCATALOG TCatalog, IN HKEY);
737
739WSAAPI
740WsTcFindProvider(IN PTCATALOG TCatalog, IN LPGUID ProviderId);
741
742VOID
743WSAAPI
747
748VOID
749WSAAPI
751
753WSAAPI
755
756VOID
757WSAAPI
758WsTcDelete(IN PTCATALOG Catalog);
759
760DWORD
761WSAAPI
763
764VOID
765WSAAPI
767
768VOID
769WSAAPI
771
772DWORD
773WSAAPI
775
776DWORD
777WSAAPI
778WsTcLoadProvider(IN PTCATALOG TCatalog, IN PTCATALOG_ENTRY CatalogEntry);
779
780DWORD
781WSAAPI
783
784INT
785WSAAPI
787
788VOID
789WSAAPI
791
792BOOL
793WSAAPI
796
797VOID
798WSAAPI
800
802WSAAPI
804
805INT
806WSAAPI
808 IN PTCATALOG_ENTRY CatalogEntry);
809
810INT
811WSAAPI
814 IN BOOLEAN IsProvider);
815
816INT
817WSAAPI
819
820INT
821WSAAPI
823
825WSAAPI
827
828BOOL
829WSAAPI
832
833INT
834WSAAPI
837
838VOID
839WSAAPI
841
842INT
843WSAAPI
845
847WSAAPI
849
850VOID
851WSAAPI
853 IN WORD VersionRequested);
854
855VOID
856WSAAPI
858
859BOOL
860WSAAPI
862
863INT
864WSAAPI
865WsAsyncCancelRequest(IN HANDLE TaskHandle);
866
868WSAAPI
869WsAsyncAllocateBlock(IN SIZE_T ExtraLength);
870
871VOID
872WSAAPI
874
875VOID
876WSAAPI
878
879VOID
880WSAAPI
882
886{
887 return CurrentWsProcess;
888}
889
891DWORD
893{
894 /* Try to see if we're initialized. If not, do the full prolog */
896}
897
899DWORD
901{
902 /* Try to see if we're initialized. If not, do the full prolog */
903 if ((WsGetProcess()) && (*Tid = WsThreadGetThreadId(WsGetProcess())))
904 {
905 return ERROR_SUCCESS;
906 }
907 else
908 {
909 return WsSlowPrologTid(Tid);
910 }
911}
unsigned char BOOLEAN
HWND hWnd
Definition: settings.c:17
BOOL Query(LPCTSTR *ServiceArgs, DWORD ArgCount, BOOL bExtended)
Definition: query.c:292
Definition: bufpool.h:45
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define ERROR_SUCCESS
Definition: deptool.c:10
int(* FARPROC)()
Definition: compat.h:36
#define MAX_PATH
Definition: compat.h:34
#define FAR
Definition: zlib.h:34
DWORD CatalogEntryId
Definition: dllmain.c:21
@ AnsiString
Definition: dnslib.h:19
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
Definition: fltkernel.h:2653
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:223
ULONG Handle
Definition: gdb_input.c:15
static const char const char * DllPath
Definition: image.c:34
unsigned int UINT
Definition: ndis.h:50
IN PCO_ADDRESS_FAMILY AddressFamily
Definition: ndis.h:1906
#define BOOL
Definition: nt_native.h:43
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
#define CONST
Definition: pedump.c:81
DWORD * PDWORD
Definition: pedump.c:68
long LONG
Definition: pedump.c:60
static WCHAR Address[46]
Definition: ping.c:68
static LPWSAQUERYSETW
Definition: sock.c:90
base of all file and directory entries
Definition: entries.h:83
Definition: nspapi.h:57
PNSCATALOG Catalog
Definition: ws2_32p.h:211
PNSQUERY NsQuery
Definition: ws2_32p.h:210
INT ErrorCode
Definition: ws2_32p.h:209
LPWSAQUERYSETW lpqsRestrictions
Definition: ws2_32p.h:208
Definition: typedefs.h:120
Definition: ws2_32p.h:122
GUID ProviderId
Definition: ws2_32p.h:132
LIST_ENTRY CatalogLink
Definition: ws2_32p.h:123
WCHAR DllPath[MAX_PATH]
Definition: ws2_32p.h:133
LPWSTR ProviderName
Definition: ws2_32p.h:129
LONG RefCount
Definition: ws2_32p.h:124
DWORD Version
Definition: ws2_32p.h:128
BOOLEAN StoresServiceClassInfo
Definition: ws2_32p.h:131
LONG AddressFamily
Definition: ws2_32p.h:126
BOOLEAN Enabled
Definition: ws2_32p.h:130
DWORD NamespaceId
Definition: ws2_32p.h:127
PNS_PROVIDER Provider
Definition: ws2_32p.h:125
LIST_ENTRY CatalogList
Definition: ws2_32p.h:138
HKEY CatalogKey
Definition: ws2_32p.h:141
CRITICAL_SECTION Lock
Definition: ws2_32p.h:142
DWORD UniqueId
Definition: ws2_32p.h:140
DWORD ItemCount
Definition: ws2_32p.h:139
GUID ProviderId
Definition: ws2_32p.h:110
LONG RefCount
Definition: ws2_32p.h:107
DWORD NamespaceId
Definition: ws2_32p.h:108
NSP_ROUTINE Service
Definition: ws2_32p.h:111
HINSTANCE DllHandle
Definition: ws2_32p.h:109
LIST_ENTRY QueryLink
Definition: ws2_32p.h:116
PNS_PROVIDER Provider
Definition: ws2_32p.h:117
HANDLE LookupHandle
Definition: ws2_32p.h:118
LIST_ENTRY ProviderList
Definition: ws2_32p.h:150
BOOLEAN ShuttingDown
Definition: ws2_32p.h:149
PNSCATALOG Catalog
Definition: ws2_32p.h:156
DWORD Signature
Definition: ws2_32p.h:147
CRITICAL_SECTION Lock
Definition: ws2_32p.h:152
PNSQUERY_PROVIDER CurrentProvider
Definition: ws2_32p.h:153
DWORD ControlFlags
Definition: ws2_32p.h:155
PNSQUERY_PROVIDER ActiveProvider
Definition: ws2_32p.h:151
DWORD TryAgain
Definition: ws2_32p.h:157
LONG RefCount
Definition: ws2_32p.h:148
LPWSAQUERYSETW QuerySet
Definition: ws2_32p.h:154
LPWSAPROTOCOL_INFOW ProtocolBuffer
Definition: ws2_32p.h:228
Definition: ws2_32p.h:86
CHAR DllPath[MAX_PATH]
Definition: ws2_32p.h:90
LONG RefCount
Definition: ws2_32p.h:88
LIST_ENTRY CatalogLink
Definition: ws2_32p.h:87
PTPROVIDER Provider
Definition: ws2_32p.h:89
WSAPROTOCOL_INFOW ProtocolInfo
Definition: ws2_32p.h:91
HKEY CatalogKey
Definition: ws2_32p.h:100
DWORD NextId
Definition: ws2_32p.h:99
BOOLEAN Initialized
Definition: ws2_32p.h:102
DWORD UniqueId
Definition: ws2_32p.h:98
DWORD ItemCount
Definition: ws2_32p.h:97
LIST_ENTRY ProtocolList
Definition: ws2_32p.h:96
CRITICAL_SECTION Lock
Definition: ws2_32p.h:101
WSPPROC_TABLE Service
Definition: ws2_32p.h:80
WSPUPCALLTABLE UpcallTable
Definition: ws2_32p.h:82
LONG RefCount
Definition: ws2_32p.h:79
HINSTANCE DllHandle
Definition: ws2_32p.h:81
struct _WSASYNCBLOCK::@605::@607 GetHost
UINT wMsg
Definition: ws2_32p.h:34
DWORD Type
Definition: ws2_32p.h:37
LIST_ENTRY AsyncQueue
Definition: ws2_32p.h:26
HWND hWnd
Definition: ws2_32p.h:33
DWORD BufferLength
Definition: ws2_32p.h:39
WSASYNCOPS Operation
Definition: ws2_32p.h:28
PCHAR ByWhat
Definition: ws2_32p.h:35
PCHAR Protocol
Definition: ws2_32p.h:56
HANDLE TaskHandle
Definition: ws2_32p.h:27
DWORD Length
Definition: ws2_32p.h:36
struct _WSASYNCBLOCK::@605::@609 GetServ
struct _WSASYNCBLOCK::@605::@608 GetProto
PVOID Buffer
Definition: ws2_32p.h:38
LIST_ENTRY AsyncQueue
Definition: ws2_32p.h:65
HANDLE AsyncEvent
Definition: ws2_32p.h:66
LIST_ENTRY SocketList
Definition: ws2_32p.h:67
HANDLE NamespaceCatalogEvent
Definition: ws2_32p.h:169
HANDLE NotificationHelper
Definition: ws2_32p.h:165
CRITICAL_SECTION ThreadLock
Definition: ws2_32p.h:172
HANDLE ProtocolCatalogEvent
Definition: ws2_32p.h:168
PTCATALOG ProtocolCatalog
Definition: ws2_32p.h:166
HANDLE ApcHelper
Definition: ws2_32p.h:163
DWORD Version
Definition: ws2_32p.h:170
HANDLE HandleHelper
Definition: ws2_32p.h:164
BOOLEAN LockReady
Definition: ws2_32p.h:171
LONG RefCount
Definition: ws2_32p.h:162
PNSCATALOG NamespaceCatalog
Definition: ws2_32p.h:167
PCHAR Aliases[MAXALIASES]
Definition: ws2_32p.h:73
PROTOENT Protoent
Definition: ws2_32p.h:72
CHAR LineBuffer[512]
Definition: ws2_32p.h:74
PTPROVIDER Provider
Definition: ws2_32p.h:199
BOOLEAN IsProvider
Definition: ws2_32p.h:203
HANDLE Handle
Definition: ws2_32p.h:197
LONG RefCount
Definition: ws2_32p.h:196
PWSPROCESS Process
Definition: ws2_32p.h:198
BOOLEAN Overlapped
Definition: ws2_32p.h:201
PTCATALOG_ENTRY CatalogEntry
Definition: ws2_32p.h:200
BOOLEAN ApiSocket
Definition: ws2_32p.h:202
BOOLEAN Blocking
Definition: ws2_32p.h:183
DWORD ServentSize
Definition: ws2_32p.h:189
LPWSPCANCELBLOCKINGCALL CancelBlockingCall
Definition: ws2_32p.h:180
PWSPROCESS Process
Definition: ws2_32p.h:177
LPBLOCKINGCALLBACK BlockingCallback
Definition: ws2_32p.h:181
PCHAR Hostent
Definition: ws2_32p.h:186
PCHAR Servent
Definition: ws2_32p.h:187
FARPROC BlockingHook
Definition: ws2_32p.h:182
PVOID ProtocolInfo
Definition: ws2_32p.h:191
DWORD HostentSize
Definition: ws2_32p.h:188
DWORD OpenType
Definition: ws2_32p.h:190
HANDLE AsyncHelper
Definition: ws2_32p.h:179
WSATHREADID WahThreadId
Definition: ws2_32p.h:178
BOOLEAN Cancelled
Definition: ws2_32p.h:184
SIZE_T BytesUsed
Definition: ws2_32p.h:249
SIZE_T MaxSize
Definition: ws2_32p.h:248
ULONG_PTR Position
Definition: ws2_32p.h:247
ULONG_PTR * PSIZE_T
Definition: typedefs.h:80
ULONG_PTR SIZE_T
Definition: typedefs.h:80
uint32_t * LPDWORD
Definition: typedefs.h:59
int32_t INT
Definition: typedefs.h:58
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define IN
Definition: typedefs.h:39
uint32_t ULONG
Definition: typedefs.h:59
#define OUT
Definition: typedefs.h:40
char * PCHAR
Definition: typedefs.h:51
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
Definition: wdfdevice.h:3771
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:458
_Must_inspect_result_ _In_opt_ WDFKEY ParentKey
Definition: wdfregistry.h:69
_Must_inspect_result_ _In_ WDFCMRESLIST List
Definition: wdfresource.h:550
#define FORCEINLINE
Definition: wdftypes.h:67
LONG_PTR LPARAM
Definition: windef.h:208
UINT_PTR WPARAM
Definition: windef.h:207
int * LPINT
Definition: windef.h:178
#define WINAPI
Definition: msvc.h:6
#define WSAAPI
Definition: winsock2.h:605
UINT_PTR SOCKET
Definition: winsock.h:47
_WSASYNCOPS
Definition: ws2_32p.h:14
@ WsAsyncGetProtoByName
Definition: ws2_32p.h:17
@ WsAsyncGetServByPort
Definition: ws2_32p.h:20
@ WsAsyncGetHostByAddr
Definition: ws2_32p.h:15
@ WsAsyncGetHostByName
Definition: ws2_32p.h:16
@ WsAsyncGetProtoByNumber
Definition: ws2_32p.h:18
@ WsAsyncGetServByName
Definition: ws2_32p.h:19
@ WsAsyncTerminate
Definition: ws2_32p.h:21
VOID WSAAPI WsSockCleanup(VOID)
Definition: dsocket.c:36
FORCEINLINE DWORD WsQuickProlog(VOID)
Definition: ws2_32p.h:892
VOID WSAAPI WsAsyncQueueRequest(IN PWSASYNCBLOCK AsyncBlock)
Definition: async.c:919
struct _WSPROTO_BUFFER * PWSPROTO_BUFFER
struct _WS_BUFFER * PWS_BUFFER
DWORD WSAAPI WsNqLookupServiceEnd(IN PNSQUERY NsQuery)
Definition: nsquery.c:164
INT WSAAPI MapUnicodeQuerySetToAnsi(IN LPWSAQUERYSETW UnicodeSet, IN OUT PSIZE_T SetSize, OUT LPWSAQUERYSETA AnsiSet)
Definition: qshelpr.c:929
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)
Definition: dcatitem.c:17
BOOL WSAAPI WsNcMatchProtocols(IN DWORD NameSpace, IN LONG AddressFamily, IN LPWSAQUERYSETW QuerySet)
Definition: nscatalo.c:561
INT WSAAPI WsNcGetCatalogFromProviderId(IN PNSCATALOG Catalog, IN LPGUID ProviderId, OUT PNSCATALOG_ENTRY *CatalogEntry)
Definition: nscatalo.c:517
DWORD WSAAPI WsNpInitialize(IN PNS_PROVIDER Provider, IN LPWSTR DllPath, IN LPGUID ProviderGuid)
Definition: nsprovid.c:82
INT WSAAPI WsSockStartup(VOID)
Definition: dsocket.c:21
struct _NSCATALOG * PNSCATALOG
struct _PROTOCOL_ENUM_CONTEXT * PPROTOCOL_ENUM_CONTEXT
VOID WSAAPI WsNcDelete(IN PNSCATALOG Catalog)
Definition: nscatalo.c:624
PTCATALOG WSAAPI WsTcAllocate(VOID)
Definition: dcatalog.c:25
VOID WSAAPI WSNoteSuccessfulHostentLookup(IN CONST CHAR FAR *Name, IN CONST ULONG Address)
Definition: winsock.c:119
DWORD WSAAPI WsThreadDefaultBlockingHook(VOID)
Definition: dthread.c:17
INT WSAAPI WsSetupCatalogProtection(IN HKEY CatalogKey, IN HANDLE CatalogEvent, OUT LPDWORD UniqueId)
Definition: wsautil.c:142
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)
Definition: winsock.c:58
INT WSAAPI WsSockAssociateHandle(IN PWSSOCKET Socket, IN SOCKET Handle, IN BOOLEAN IsProvider)
Definition: dsocket.c:225
struct _TCATALOG_ENTRY TCATALOG_ENTRY
INT WSAAPI WsNcLoadProvider(IN PNSCATALOG Catalog, IN PNSCATALOG_ENTRY CatalogEntry)
Definition: nscatalo.c:400
DWORD WSAAPI WsThreadInitialize(IN PWSTHREAD Thread, IN PWSPROCESS Process)
Definition: dthread.c:176
struct _NSPROVIDER_ENUM_CONTEXT NSPROVIDER_ENUM_CONTEXT
PWSPROCESS CurrentWsProcess
Definition: dprocess.c:15
VOID WSAAPI WsNqDelete(IN PNSQUERY NsQuery)
Definition: nsquery.c:74
HKEY WSAAPI WsOpenRegistryRoot(VOID)
Definition: wsautil.c:17
struct _WSSOCKET * PWSSOCKET
INT WSAAPI WsNcInitializeFromRegistry(IN PNSCATALOG Catalog, IN HKEY ParentKey, IN HANDLE CatalogEvent)
Definition: nscatalo.c:211
DWORD WSAAPI WsNqLookupServiceBegin(IN PNSQUERY NsQuery, IN LPWSAQUERYSETW QuerySet, IN DWORD ControlFlags, IN PNSCATALOG Catalog)
Definition: nsquery.c:347
BOOL(WINAPI * PNSCATALOG_ENUMERATE_PROC)(IN PVOID Context, IN PNSCATALOG_ENTRY Entry)
Definition: ws2_32p.h:253
PWSASYNCBLOCK WSAAPI WsAsyncAllocateBlock(IN SIZE_T ExtraLength)
Definition: async.c:439
INT WSAAPI WsSockInitialize(IN PWSSOCKET Socket, IN PTCATALOG_ENTRY CatalogEntry)
Definition: dsocket.c:67
DWORD WSAAPI WsNpLookupServiceNext(IN PNS_PROVIDER Provider, IN HANDLE LookupHandle, IN DWORD ControlFlags, OUT PDWORD BufferLength, OUT LPWSAQUERYSETW Results)
Definition: nsprovid.c:240
DWORD WSAAPI WsNqInitialize(IN PNSQUERY NsQuery)
Definition: nsquery.c:42
DWORD WSAAPI WsThreadStartup(VOID)
Definition: dthread.c:153
struct _NSPROVIDER NSPROVIDER
PNSQUERY_PROVIDER WSAAPI WsNqNextProvider(PNSQUERY NsQuery, IN PNSQUERY_PROVIDER Provider)
struct _NSQUERY NSQUERY
VOID WSAAPI WsSockDereference(IN PWSSOCKET Socket)
Definition: dsocket.c:205
VOID WSAAPI WsAsyncTerminateThread(VOID)
Definition: async.c:899
DWORD WSAAPI WsNpLookupServiceEnd(IN PNS_PROVIDER Provider, IN HANDLE LookupHandle)
Definition: nsprovid.c:231
PNSQUERY_PROVIDER WSAAPI WsNqProvAllocate(VOID)
Definition: nsprovid.c:17
struct _TPROVIDER * PTPROVIDER
PSERVENT WSAAPI WsThreadBlobToServent(IN PWSTHREAD Thread, IN LPBLOB Blob)
Definition: dthread.c:349
PTPROVIDER WSAAPI WsTcFindProvider(IN PTCATALOG TCatalog, IN LPGUID ProviderId)
Definition: dcatalog.c:596
struct _WS_BUFFER WS_BUFFER
LPWSATHREADID WSAAPI WsThreadGetThreadId(IN PWSPROCESS Process)
Definition: dthread.c:297
struct _TPROVIDER TPROVIDER
struct _NSQUERY * PNSQUERY
PNSCATALOG_ENTRY WSAAPI WsNcEntryAllocate(VOID)
Definition: nscatent.c:17
INT WSAAPI CopyQuerySetW(IN LPWSAQUERYSETW UnicodeSet, OUT LPWSAQUERYSETW *UnicodeCopy)
Definition: qshelpr.c:1050
DWORD GlobalTlsIndex
Definition: dllmain.c:23
VOID WSAAPI WsTcEntrySetProvider(IN PTCATALOG_ENTRY CatalogEntry, IN PTPROVIDER Provider)
Definition: dcatitem.c:121
BOOL WSAAPI WsTcOpen(IN PTCATALOG TCatalog, IN HKEY)
Definition: dcatalog.c:38
FORCEINLINE DWORD WsQuickPrologTid(LPWSATHREADID *Tid)
Definition: ws2_32p.h:900
BOOL WSAAPI WsProcDetachSocket(IN PWSPROCESS Process, IN PWAH_HANDLE Handle)
Definition: dprocess.c:182
VOID WSAAPI WsTcEntryDereference(IN PTCATALOG_ENTRY CatalogEntry)
Definition: dcatitem.c:51
INT WSAAPI WsNcGetServiceClassInfo(IN PNSCATALOG Catalog, IN OUT LPDWORD BugSize, IN OUT LPWSASERVICECLASSINFOW lpServiceClassInfo)
Definition: nscatalo.c:444
DWORD WSAAPI WsThreadGetCurrentThread(IN PWSPROCESS Process, IN PWSTHREAD *Thread)
Definition: dthread.c:279
VOID WSAAPI WsRasInitializeAutodial(VOID)
Definition: rasdial.c:47
BOOL WSAAPI WsNqValidateAndReference(IN PNSQUERY Query)
Definition: nsquery.c:57
DWORD WSAAPI WsNqProvLookupServiceEnd(IN PNSQUERY_PROVIDER QueryProvider)
Definition: nsprovid.c:192
struct _PROVIDER_ENUM_CONTEXT PROVIDER_ENUM_CONTEXT
DWORD WSAAPI WsNqProvInitialize(IN PNSQUERY_PROVIDER QueryProvider, IN PNS_PROVIDER Provider)
Definition: nsprovid.c:30
DWORD WSAAPI WsTcGetEntryFromCatalogEntryId(IN PTCATALOG TCatalog, IN DWORD CatalogEntryId, IN PTCATALOG_ENTRY *CatalogEntry)
Definition: dcatalog.c:455
VOID WSAAPI WsTcEntryDelete(IN PTCATALOG_ENTRY CatalogEntry)
Definition: dcatitem.c:35
FORCEINLINE PWSPROCESS WsGetProcess(VOID)
Definition: ws2_32p.h:885
BOOL WSAAPI WsNqBeginEnumerationProc(PVOID Context, PNSCATALOG_ENTRY CatalogEntry)
Definition: nsquery.c:117
BOOL WSAAPI WSAttemptAutodialAddr(IN CONST SOCKADDR FAR *Name, IN INT NameLength)
Definition: winsock.c:20
struct _TCATALOG * PTCATALOG
PNSQUERY WSAAPI WsNqAllocate(VOID)
Definition: nsquery.c:22
BOOL(WINAPI * PTCATALOG_ENUMERATE_PROC)(IN PVOID Context, IN PTCATALOG_ENTRY Entry)
Definition: ws2_32p.h:259
VOID WSAAPI WsTcEnumerateCatalogItems(IN PTCATALOG Catalog, IN PTCATALOG_ENUMERATE_PROC Callback, IN PVOID Context)
Definition: dcatalog.c:750
INT WSAAPI WsSlowPrologTid(OUT LPWSATHREADID *ThreadId)
Definition: wsautil.c:120
VOID WSAAPI WsTpDereference(IN PTPROVIDER Provider)
Definition: dprovide.c:143
struct _WSASYNCCONTEXT WSASYNCCONTEXT
VOID WSAAPI WsThreadCleanup(VOID)
Definition: dthread.c:170
VOID WSAAPI WsProcDelete(IN PWSPROCESS Process)
Definition: dprocess.c:247
BOOLEAN WsAsyncThreadInitialized
Definition: async.c:15
BOOL WSAAPI WsCheckCatalogState(IN HANDLE Event)
Definition: wsautil.c:75
INT WSAAPI WsProcStartup(VOID)
Definition: dprocess.c:126
DWORD WSAAPI WsTcInitializeFromRegistry(IN PTCATALOG TCatalog, HKEY, PVOID)
struct _WSTHREAD * PWSTHREAD
PNSCATALOG WSAAPI WsProcGetNsCatalog(IN PWSPROCESS Process)
Definition: dprocess.c:166
struct _WSPROTO_BUFFER WSPROTO_BUFFER
struct _NSCATALOG_ENTRY NSCATALOG_ENTRY
INT WSAAPI MapAnsiQuerySetToUnicode(IN LPWSAQUERYSETA AnsiSet, IN OUT PSIZE_T SetSize, OUT LPWSAQUERYSETW UnicodeSet)
Definition: qshelpr.c:808
struct _TCATALOG TCATALOG
struct _WSSOCKET WSSOCKET
HINSTANCE WsDllHandle
Definition: dllmain.c:22
VOID WSAAPI WsDestroyStartupSynchronization(VOID)
Definition: startup.c:36
DWORD WSAAPI WsThreadCreate(IN PWSPROCESS Process, IN PWSTHREAD *Thread)
Definition: dthread.c:244
PWSSOCKET WSAAPI WsSockAllocate(VOID)
Definition: dsocket.c:48
DWORD WSAAPI WsTcGetEntryFromTriplet(IN PTCATALOG TCatalog, IN INT AddressFamily, IN INT SocketType, IN INT Protocol, IN DWORD StartId, IN PTCATALOG_ENTRY *CatalogEntry)
Definition: dcatalog.c:501
VOID WSAAPI WsNcEntrySetProvider(IN PNSCATALOG_ENTRY Entry, IN PNS_PROVIDER Provider)
Definition: nscatent.c:175
DWORD WSAAPI WsNpNSPCleanup(IN PNS_PROVIDER Provider)
Definition: nsprovid.c:140
PWAH_HANDLE_TABLE WsSockHandleTable
Definition: dsocket.c:15
struct _PROTOCOL_ENUM_CONTEXT PROTOCOL_ENUM_CONTEXT
PTPROVIDER WSAAPI WsTpAllocate(VOID)
Definition: dprovide.c:20
VOID WSAAPI WsNcEnumerateCatalogItems(IN PNSCATALOG Catalog, IN PNSCATALOG_ENUMERATE_PROC Callback, IN PVOID Context)
Definition: nscatalo.c:371
DWORD WSAAPI WsNqProvLookupServiceBegin(IN PNSQUERY_PROVIDER QueryProvider, IN LPWSAQUERYSETW QuerySet, IN LPWSASERVICECLASSINFOW ServiceClassInfo, IN DWORD)
Definition: nsprovid.c:216
VOID WSAAPI WsCreateStartupSynchronization(VOID)
Definition: startup.c:28
enum _WSASYNCOPS WSASYNCOPS
struct _NSCATALOG NSCATALOG
VOID WSAAPI WsProcSetVersion(IN PWSPROCESS Process, IN WORD VersionRequested)
Definition: dprocess.c:312
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)
Definition: dthread.c:120
struct _WSASYNCBLOCK WSASYNCBLOCK
INT WSAAPI WsSlowProlog(VOID)
Definition: wsautil.c:109
INT WSAAPI MapUnicodeProtocolInfoToAnsi(IN LPWSAPROTOCOL_INFOW UnicodeInfo, OUT LPWSAPROTOCOL_INFOA AnsiInfo)
Definition: wsautil.c:224
LPSTR WSAAPI AnsiDupFromUnicode(IN LPCWSTR UnicodeString)
Definition: qshelpr.c:20
PHOSTENT WSAAPI WsThreadBlobToHostent(IN PWSTHREAD Thread, IN LPBLOB Blob)
Definition: dthread.c:316
VOID WSAAPI WsNqDereference(IN PNSQUERY Query)
Definition: nsquery.c:105
PTCATALOG WSAAPI WsProcGetTCatalog(IN PWSPROCESS Process)
Definition: dprocess.c:150
struct _WSPROCESS * PWSPROCESS
HANDLE WsSockHeap
Definition: dllmain.c:21
PNSCATALOG WSAAPI WsNcAllocate(VOID)
Definition: nscatalo.c:25
VOID WSAAPI WsNcEntryDereference(IN PNSCATALOG_ENTRY CatalogEntry)
Definition: nscatent.c:53
INT WSAAPI WsProcGetAsyncHelper(IN PWSPROCESS Process, OUT PHANDLE Handle)
Definition: dprocess.c:107
INT WSAAPI WsApiProlog(OUT PWSPROCESS *Process, OUT PWSTHREAD *Thread)
Definition: wsautil.c:91
VOID WSAAPI WsRasUninitializeAutodial(VOID)
Definition: rasdial.c:55
DWORD WSAAPI WsNqProvLookupServiceNext(IN PNSQUERY_PROVIDER QueryProvider, DWORD, PDWORD, LPWSAQUERYSETW QuerySet)
INT WSAAPI WsSockAddApiReference(IN SOCKET Handle)
Definition: dsocket.c:159
DWORD WSAAPI WsTcGetEntryFromAf(IN PTCATALOG TCatalog, IN INT AddressFamily, IN PTCATALOG_ENTRY *CatalogEntry)
Definition: dcatalog.c:403
DWORD WSAAPI WsThreadCancelBlockingCall(IN PWSTHREAD Thread)
Definition: dthread.c:96
VOID WSAAPI WsNpDereference(IN PNS_PROVIDER Provider)
Definition: nsprovid.c:180
struct _WSTHREAD WSTHREAD
struct _WSASYNCBLOCK * PWSASYNCBLOCK
PWS_SOCK_POST_ROUTINE WsSockPostRoutine
Definition: startup.c:18
VOID WSAAPI WsTpDelete(IN PTPROVIDER Provider)
Definition: dprovide.c:122
VOID WSAAPI WsThreadDestroyCurrentThread(VOID)
Definition: dthread.c:225
#define MAXALIASES
Definition: ws2_32p.h:11
FARPROC WSAAPI WsThreadSetBlockingHook(IN PWSTHREAD Thread, IN FARPROC BlockingHook)
Definition: dthread.c:60
VOID WSAAPI WsAsyncGlobalTerminate(VOID)
Definition: async.c:39
struct _WSASYNCCONTEXT * PWSASYNCCONTEXT
VOID WSAAPI WsNpDelete(IN PNS_PROVIDER Provider)
Definition: nsprovid.c:161
INT WSAAPI WsAsyncCancelRequest(IN HANDLE TaskHandle)
Definition: async.c:936
DWORD WSAAPI WsThreadUnhookBlockingHook(IN PWSTHREAD Thread)
Definition: dthread.c:84
LPWSTR WSAAPI UnicodeDupFromAnsi(IN LPCSTR AnsiString)
Definition: qshelpr.c:68
struct _PROVIDER_ENUM_CONTEXT * PPROVIDER_ENUM_CONTEXT
BOOL WSAAPI WsAsyncCheckAndInitThread(VOID)
Definition: async.c:832
struct _NSPROVIDER * PNS_PROVIDER
BOOL(WINAPI * PWS_SOCK_POST_ROUTINE)(IN HWND hWnd, IN UINT wMsg, IN WPARAM wParam, IN LPARAM lParam)
Definition: ws2_32p.h:265
PWSSOCKET WSAAPI WsSockGetSocket(IN SOCKET Handle)
Definition: dsocket.c:140
INT WSAAPI WsSockDisassociateHandle(IN PWSSOCKET Socket)
Definition: dsocket.c:217
INT WSAAPI WsNcRefreshFromRegistry(IN PNSCATALOG Catalog, IN HANDLE CatalogEvent)
Definition: nscatalo.c:230
BOOL WSAAPI WsSockDeleteSockets(IN LPVOID Context, IN PWAH_HANDLE Handle)
Definition: dsocket.c:180
struct _ENUM_CONTEXT ENUM_CONTEXT
PNSQUERY_PROVIDER WSAAPI WsNqPreviousProvider(IN PNSQUERY Query, IN PNSQUERY_PROVIDER Provider)
Definition: nsquery.c:532
VOID WSAAPI WsTcDelete(IN PTCATALOG Catalog)
Definition: dcatalog.c:883
VOID WSAAPI WsAsyncGlobalInitialize(VOID)
Definition: async.c:31
struct _NSQUERY_PROVIDER * PNSQUERY_PROVIDER
DWORD WSAAPI WsTpWSPCleanup(IN PTPROVIDER Provider, int *)
VOID WSAAPI WsNcUpdateNamespaceList(IN PNSCATALOG Catalog, IN PLIST_ENTRY List)
Definition: nscatalo.c:455
DWORD WSAAPI WsTcFindIfsProviderForSocket(IN PTCATALOG TCatalog, SOCKET Socket)
PWSTHREAD WSAAPI WsThreadAllocate(VOID)
Definition: dthread.c:135
struct _NSPROVIDER_ENUM_CONTEXT * PNSPROVIDER_ENUM_CONTEXT
PNS_PROVIDER WSAAPI WsNpAllocate(VOID)
Definition: nsprovid.c:63
VOID WSAAPI WsNqProvDelete(IN PNSQUERY_PROVIDER QueryProvider)
Definition: nsprovid.c:45
BOOL WSAAPI WsNqAddProvider(IN PNSQUERY NsQuery, IN PNS_PROVIDER Provider)
Definition: nsquery.c:552
VOID WSAAPI WsThreadDelete(IN PWSTHREAD Thread)
Definition: dthread.c:202
DWORD WSAAPI WsTcRefreshFromRegistry(IN PTCATALOG TCatalog, PVOID)
INT WSAAPI WsNcEntryInitializeFromRegistry(IN PNSCATALOG_ENTRY CatalogEntry, IN HKEY ParentKey, IN ULONG UniqueId)
Definition: nscatent.c:65
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)
Definition: dcatalog.c:629
struct _NSCATALOG_ENTRY * PNSCATALOG_ENTRY
int(WSPAPI * LPWSPCANCELBLOCKINGCALL)(_Out_ LPINT lpErrno)
Definition: ws2spi.h:96
_In_ USHORT SocketType
Definition: wsk.h:182
const char * LPCSTR
Definition: xmlstorage.h:183
char * LPSTR
Definition: xmlstorage.h:182
__wchar_t WCHAR
Definition: xmlstorage.h:180
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
char CHAR
Definition: xmlstorage.h:175