ReactOS 0.4.16-dev-329-g9223134
wshirda.c File Reference
#include "wshirda.h"
#include "debug.h"
Include dependency graph for wshirda.c:

Go to the source code of this file.

Functions

BOOL EXPORT DllMain (HANDLE hInstDll, ULONG dwReason, PVOID Reserved)
 
INT WINAPI WSHEnumProtocols (IN LPINT lpiProtocols OPTIONAL, IN LPWSTR lpTransportKeyName, IN OUT LPVOID lpProtocolBuffer, IN OUT LPDWORD lpdwBufferLength)
 
INT WINAPI WSHGetProviderGuid (IN LPWSTR ProviderName, OUT LPGUID ProviderGuid)
 
INT WINAPI WSHGetSockaddrType (IN PSOCKADDR Sockaddr, IN DWORD SockaddrLength, OUT PSOCKADDR_INFO SockaddrInfo)
 
INT WINAPI WSHGetSocketInformation (IN PVOID HelperDllSocketContext, IN SOCKET SocketHandle, IN HANDLE TdiAddressObjectHandle, IN HANDLE TdiConnectionObjectHandle, IN INT Level, IN INT OptionName, OUT PCHAR OptionValue, OUT LPINT OptionLength)
 
INT WINAPI WSHGetWSAProtocolInfo (IN LPWSTR ProviderName, OUT LPWSAPROTOCOL_INFOW *ProtocolInfo, OUT LPDWORD ProtocolInfoEntries)
 
INT WINAPI WSHGetWildcardSockaddr (IN PVOID HelperDllSocketContext, OUT PSOCKADDR Sockaddr, OUT PINT SockaddrLength)
 
DWORD WINAPI WSHGetWinsockMapping (OUT PWINSOCK_MAPPING Mapping, IN DWORD MappingLength)
 
INT WINAPI WSHIoctl (IN PVOID HelperDllSocketContext, IN SOCKET SocketHandle, IN HANDLE TdiAddressObjectHandle, IN HANDLE TdiConnectionObjectHandle, IN DWORD IoControlCode, IN LPVOID InputBuffer, IN DWORD InputBufferLength, IN LPVOID OutputBuffer, IN DWORD OutputBufferLength, OUT LPDWORD NumberOfBytesReturned, IN LPWSAOVERLAPPED Overlapped, IN LPWSAOVERLAPPED_COMPLETION_ROUTINE CompletionRoutine, OUT LPBOOL NeedsCompletion)
 
INT WINAPI WSHNotify (IN PVOID HelperDllSocketContext, IN SOCKET SocketHandle, IN HANDLE TdiAddressObjectHandle, IN HANDLE TdiConnectionObjectHandle, IN DWORD NotifyEvent)
 
INT WINAPI WSHOpenSocket (IN OUT PINT AddressFamily, IN OUT PINT SocketType, IN OUT PINT Protocol, OUT PUNICODE_STRING TransportDeviceName, OUT PVOID HelperDllSocketContext, OUT PDWORD NotificationEvents)
 
INT WINAPI WSHSetSocketInformation (IN PVOID HelperDllSocketContext, IN SOCKET SocketHandle, IN HANDLE TdiAddressObjectHandle, IN HANDLE TdiConnectionObjectHandle, IN INT Level, IN INT OptionName, IN PCHAR OptionValue, IN INT OptionLength)
 

Function Documentation

◆ DllMain()

BOOL EXPORT DllMain ( HANDLE  hInstDll,
ULONG  dwReason,
PVOID  Reserved 
)

Definition at line 22 of file wshirda.c.

25{
26 WSH_DbgPrint(MIN_TRACE, ("DllMain of wshirda.dll\n"));
27
28 switch (dwReason) {
30 /* Don't need thread attach notifications
31 so disable them to improve performance */
33 break;
34
36 break;
37
39 break;
40
42 break;
43 }
44 return TRUE;
45}
#define MIN_TRACE
Definition: debug.h:14
DWORD dwReason
Definition: misc.cpp:141
#define TRUE
Definition: types.h:120
#define DLL_THREAD_DETACH
Definition: compat.h:133
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
#define DLL_PROCESS_DETACH
Definition: compat.h:130
#define DLL_THREAD_ATTACH
Definition: compat.h:132
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define WSH_DbgPrint(_t_, _x_)
Definition: debug.h:44

◆ WSHEnumProtocols()

INT WINAPI WSHEnumProtocols ( IN LPINT lpiProtocols  OPTIONAL,
IN LPWSTR  lpTransportKeyName,
IN OUT LPVOID  lpProtocolBuffer,
IN OUT LPDWORD  lpdwBufferLength 
)

Definition at line 49 of file wshirda.c.

54{
56
57 return 0;
58}
#define UNIMPLEMENTED
Definition: ntoskrnl.c:15

◆ WSHGetProviderGuid()

INT WINAPI WSHGetProviderGuid ( IN LPWSTR  ProviderName,
OUT LPGUID  ProviderGuid 
)

Definition at line 62 of file wshirda.c.

65{
67
68 return 0;
69}

◆ WSHGetSockaddrType()

INT WINAPI WSHGetSockaddrType ( IN PSOCKADDR  Sockaddr,
IN DWORD  SockaddrLength,
OUT PSOCKADDR_INFO  SockaddrInfo 
)

Definition at line 73 of file wshirda.c.

77{
79
80 return 0;
81}

◆ WSHGetSocketInformation()

INT WINAPI WSHGetSocketInformation ( IN PVOID  HelperDllSocketContext,
IN SOCKET  SocketHandle,
IN HANDLE  TdiAddressObjectHandle,
IN HANDLE  TdiConnectionObjectHandle,
IN INT  Level,
IN INT  OptionName,
OUT PCHAR  OptionValue,
OUT LPINT  OptionLength 
)

Definition at line 85 of file wshirda.c.

94{
96
97 return 0;
98}

◆ WSHGetWildcardSockaddr()

INT WINAPI WSHGetWildcardSockaddr ( IN PVOID  HelperDllSocketContext,
OUT PSOCKADDR  Sockaddr,
OUT PINT  SockaddrLength 
)

Definition at line 114 of file wshirda.c.

118{
120
121 return 0;
122}

◆ WSHGetWinsockMapping()

DWORD WINAPI WSHGetWinsockMapping ( OUT PWINSOCK_MAPPING  Mapping,
IN DWORD  MappingLength 
)

Definition at line 126 of file wshirda.c.

129{
131
132 return 0;
133}

◆ WSHGetWSAProtocolInfo()

INT WINAPI WSHGetWSAProtocolInfo ( IN LPWSTR  ProviderName,
OUT LPWSAPROTOCOL_INFOW ProtocolInfo,
OUT LPDWORD  ProtocolInfoEntries 
)

Definition at line 102 of file wshirda.c.

106{
108
109 return 0;
110}

◆ WSHIoctl()

INT WINAPI WSHIoctl ( IN PVOID  HelperDllSocketContext,
IN SOCKET  SocketHandle,
IN HANDLE  TdiAddressObjectHandle,
IN HANDLE  TdiConnectionObjectHandle,
IN DWORD  IoControlCode,
IN LPVOID  InputBuffer,
IN DWORD  InputBufferLength,
IN LPVOID  OutputBuffer,
IN DWORD  OutputBufferLength,
OUT LPDWORD  NumberOfBytesReturned,
IN LPWSAOVERLAPPED  Overlapped,
IN LPWSAOVERLAPPED_COMPLETION_ROUTINE  CompletionRoutine,
OUT LPBOOL  NeedsCompletion 
)

Definition at line 137 of file wshirda.c.

151{
153
154 return 0;
155}

◆ WSHNotify()

INT WINAPI WSHNotify ( IN PVOID  HelperDllSocketContext,
IN SOCKET  SocketHandle,
IN HANDLE  TdiAddressObjectHandle,
IN HANDLE  TdiConnectionObjectHandle,
IN DWORD  NotifyEvent 
)

Definition at line 159 of file wshirda.c.

165{
167
168 return 0;
169}

◆ WSHOpenSocket()

INT WINAPI WSHOpenSocket ( IN OUT PINT  AddressFamily,
IN OUT PINT  SocketType,
IN OUT PINT  Protocol,
OUT PUNICODE_STRING  TransportDeviceName,
OUT PVOID  HelperDllSocketContext,
OUT PDWORD  NotificationEvents 
)

Definition at line 173 of file wshirda.c.

180{
182
183 return 0;
184}

◆ WSHSetSocketInformation()

INT WINAPI WSHSetSocketInformation ( IN PVOID  HelperDllSocketContext,
IN SOCKET  SocketHandle,
IN HANDLE  TdiAddressObjectHandle,
IN HANDLE  TdiConnectionObjectHandle,
IN INT  Level,
IN INT  OptionName,
IN PCHAR  OptionValue,
IN INT  OptionLength 
)

Definition at line 188 of file wshirda.c.

197{
199
200 return 0;
201}