ReactOS 0.4.15-dev-8102-g108db8f
internettransport.c File Reference
#include "ws2tcpip.h"
#include "windef.h"
#include "winnt.h"
#include "objbase.h"
#include "ole2.h"
#include "mimeole.h"
#include <stdio.h>
#include "wine/debug.h"
#include "inetcomm_private.h"
Include dependency graph for internettransport.c:

Go to the source code of this file.

Macros

#define COBJMACROS
 
#define IX_READ   (WM_USER + 0)
 
#define IX_READLINE   (WM_USER + 1)
 
#define IX_WRITE   (WM_USER + 2)
 

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (inetcomm)
 
HRESULT InternetTransport_Init (InternetTransport *This)
 
HRESULT InternetTransport_GetServerInfo (InternetTransport *This, LPINETSERVER pInetServer)
 
HRESULT InternetTransport_InetServerFromAccount (InternetTransport *This, IImnAccount *pAccount, LPINETSERVER pInetServer)
 
HRESULT InternetTransport_Connect (InternetTransport *This, LPINETSERVER pInetServer, boolean fAuthenticate, boolean fCommandLogging)
 
HRESULT InternetTransport_HandsOffCallback (InternetTransport *This)
 
HRESULT InternetTransport_DropConnection (InternetTransport *This)
 
HRESULT InternetTransport_GetStatus (InternetTransport *This, IXPSTATUS *pCurrentStatus)
 
HRESULT InternetTransport_ChangeStatus (InternetTransport *This, IXPSTATUS Status)
 
HRESULT InternetTransport_ReadLine (InternetTransport *This, INETXPORT_COMPLETION_FUNCTION fnCompletion)
 
HRESULT InternetTransport_Write (InternetTransport *This, const char *pvData, int cbSize, INETXPORT_COMPLETION_FUNCTION fnCompletion)
 
HRESULT InternetTransport_DoCommand (InternetTransport *This, LPCSTR pszCommand, INETXPORT_COMPLETION_FUNCTION fnCompletion)
 
static LRESULT CALLBACK InternetTransport_WndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
BOOL InternetTransport_RegisterClass (HINSTANCE hInstance)
 
void InternetTransport_UnregisterClass (HINSTANCE hInstance)
 

Variables

static const WCHAR wszClassName [] = {'T','h','o','r','C','o','n','n','W','n','d','C','l','a','s','s',0}
 

Macro Definition Documentation

◆ COBJMACROS

#define COBJMACROS

Definition at line 21 of file internettransport.c.

◆ IX_READ

#define IX_READ   (WM_USER + 0)

Definition at line 40 of file internettransport.c.

◆ IX_READLINE

#define IX_READLINE   (WM_USER + 1)

Definition at line 41 of file internettransport.c.

◆ IX_WRITE

#define IX_WRITE   (WM_USER + 2)

Definition at line 42 of file internettransport.c.

Function Documentation

◆ InternetTransport_ChangeStatus()

HRESULT InternetTransport_ChangeStatus ( InternetTransport This,
IXPSTATUS  Status 
)

Definition at line 192 of file internettransport.c.

193{
194 This->Status = Status;
195 if (This->pCallback)
196 ITransportCallback_OnStatus(This->pCallback, Status,
197 (IInternetTransport *)&This->u.vtbl);
198 return S_OK;
199}
Status
Definition: gdiplustypes.h:25
#define S_OK
Definition: intsafe.h:52

Referenced by InternetTransport_Connect(), InternetTransport_DropConnection(), POP3Transport_CallbackProcessPASSResp(), POP3Transport_CommandQUIT(), SMTPTransport_CallbackProcessHelloResp(), and SMTPTransport_CommandQUIT().

◆ InternetTransport_Connect()

HRESULT InternetTransport_Connect ( InternetTransport This,
LPINETSERVER  pInetServer,
boolean  fAuthenticate,
boolean  fCommandLogging 
)

Definition at line 71 of file internettransport.c.

73{
74 struct addrinfo *ai;
75 struct addrinfo *ai_cur;
76 struct addrinfo hints;
77 int ret;
78 char szPort[10];
79
80 if (This->Status != IXP_DISCONNECTED)
81 return IXP_E_ALREADY_CONNECTED;
82
83 This->ServerInfo = *pInetServer;
84 This->fCommandLogging = fCommandLogging;
85
86 This->hwnd = CreateWindowW(wszClassName, wszClassName, 0, 0, 0, 0, 0, NULL, NULL, NULL, 0);
87 if (!This->hwnd)
90
91 hints.ai_flags = 0;
92 hints.ai_family = PF_UNSPEC;
93 hints.ai_socktype = SOCK_STREAM;
94 hints.ai_protocol = IPPROTO_TCP;
95 hints.ai_addrlen = 0;
96 hints.ai_addr = NULL;
97 hints.ai_canonname = NULL;
98 hints.ai_next = NULL;
99
100 snprintf(szPort, sizeof(szPort), "%d", (unsigned short)pInetServer->dwPort);
101
103
104 ret = getaddrinfo(pInetServer->szServerName, szPort, &hints, &ai);
105 if (ret)
106 {
107 ERR("getaddrinfo failed: %d\n", ret);
108 return IXP_E_CANT_FIND_HOST;
109 }
110
111 for (ai_cur = ai; ai_cur; ai_cur = ai->ai_next)
112 {
113 int so;
114
115 if (TRACE_ON(inetcomm))
116 {
117 char host[256];
118 char service[256];
119 getnameinfo(ai_cur->ai_addr, ai_cur->ai_addrlen,
120 host, sizeof(host), service, sizeof(service),
122 TRACE("trying %s:%s\n", host, service);
123 }
124
126
127 so = socket(ai_cur->ai_family, ai_cur->ai_socktype, ai_cur->ai_protocol);
128 if (so == -1)
129 {
130 WARN("socket() failed\n");
131 continue;
132 }
133 This->Socket = so;
134
135 /* FIXME: set to async */
136
137 if (0 > connect(This->Socket, ai_cur->ai_addr, ai_cur->ai_addrlen))
138 {
139 WARN("connect() failed\n");
140 closesocket(This->Socket);
141 continue;
142 }
144
145 /* FIXME: call WSAAsyncSelect */
146
147 freeaddrinfo(ai);
148 TRACE("connected\n");
149 return S_OK;
150 }
151
152 freeaddrinfo(ai);
153
154 return IXP_E_CANT_FIND_HOST;
155}
#define WARN(fmt,...)
Definition: debug.h:115
#define ERR(fmt,...)
Definition: debug.h:113
#define NULL
Definition: types.h:112
#define TRACE_ON(x)
Definition: compat.h:75
#define IPPROTO_TCP
Definition: ip.h:196
#define SOCK_STREAM
Definition: tcpip.h:118
@ IXP_CONNECTING
Definition: imnxport.idl:246
@ IXP_CONNECTED
Definition: imnxport.idl:248
@ IXP_DISCONNECTED
Definition: imnxport.idl:253
@ IXP_FINDINGHOST
Definition: imnxport.idl:245
HRESULT InternetTransport_ChangeStatus(InternetTransport *This, IXPSTATUS Status)
static const WCHAR wszClassName[]
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
#define closesocket
Definition: ncftp.h:477
namespace GUID const ADDRINFOEXW * hints
Definition: sock.c:80
SOCKET WSAAPI socket(IN INT af, IN INT type, IN INT protocol)
Definition: socklife.c:143
#define TRACE(s)
Definition: solgame.cpp:4
DWORD dwPort
Definition: imnxport.idl:226
CHAR szServerName[CCHMAX_SERVER_NAME]
Definition: imnxport.idl:223
size_t ai_addrlen
Definition: ws2def.h:669
struct sockaddr * ai_addr
Definition: ws2def.h:671
int ai_socktype
Definition: ws2def.h:667
int ai_protocol
Definition: ws2def.h:668
struct addrinfo * ai_next
Definition: ws2def.h:672
int ai_family
Definition: ws2def.h:666
#define GWLP_USERDATA
Definition: treelist.c:63
int ret
char * host
Definition: whois.c:55
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
#define HRESULT_FROM_WIN32(x)
Definition: winerror.h:92
#define PF_UNSPEC
Definition: winsock.h:371
#define snprintf
Definition: wintirpc.h:48
#define CreateWindowW(a, b, c, d, e, f, g, h, i, j, k)
Definition: winuser.h:4316
#define SetWindowLongPtrW
Definition: winuser.h:5346
#define NI_NUMERICHOST
Definition: ws2def.h:354
#define NI_NUMERICSERV
Definition: ws2def.h:356
#define getaddrinfo
Definition: wspiapi.h:44
#define getnameinfo
Definition: wspiapi.h:45
#define freeaddrinfo
Definition: wspiapi.h:46

Referenced by IMAPTransport_Connect(), POP3Transport_Connect(), and SMTPTransport_Connect().

◆ InternetTransport_DoCommand()

HRESULT InternetTransport_DoCommand ( InternetTransport This,
LPCSTR  pszCommand,
INETXPORT_COMPLETION_FUNCTION  fnCompletion 
)

Definition at line 248 of file internettransport.c.

250{
251 if (This->Status == IXP_DISCONNECTED)
252 return IXP_E_NOT_CONNECTED;
253
254 if (This->fnCompletion)
255 return IXP_E_BUSY;
256
257 if (This->pCallback && This->fCommandLogging)
258 {
259 ITransportCallback_OnCommand(This->pCallback, CMD_SEND, (LPSTR)pszCommand, 0,
260 (IInternetTransport *)&This->u.vtbl);
261 }
262 return InternetTransport_Write(This, pszCommand, strlen(pszCommand), fnCompletion);
263}
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
HRESULT InternetTransport_Write(InternetTransport *This, const char *pvData, int cbSize, INETXPORT_COMPLETION_FUNCTION fnCompletion)
char * LPSTR
Definition: xmlstorage.h:182

Referenced by POP3Transport_CallbackProcessUSERResp(), POP3Transport_CallbackSendUSERCmd(), POP3Transport_CommandDELE(), POP3Transport_CommandLIST(), POP3Transport_CommandNOOP(), POP3Transport_CommandPASS(), POP3Transport_CommandQUIT(), POP3Transport_CommandRETR(), POP3Transport_CommandRSET(), POP3Transport_CommandSTAT(), POP3Transport_CommandTOP(), POP3Transport_CommandUIDL(), POP3Transport_CommandUSER(), SMTPTransport_CallbackMessageSendDOT(), SMTPTransport_CallbackMessageSendTo(), SMTPTransport_CallbackSendHello(), SMTPTransport_CommandAUTH(), SMTPTransport_CommandDATA(), SMTPTransport_CommandEHLO(), SMTPTransport_CommandHELO(), SMTPTransport_CommandMAIL(), SMTPTransport_CommandQUIT(), SMTPTransport_CommandRCPT(), SMTPTransport_CommandRSET(), and SMTPTransport_SendMessage().

◆ InternetTransport_DropConnection()

HRESULT InternetTransport_DropConnection ( InternetTransport This)

Definition at line 168 of file internettransport.c.

169{
170 if (This->Status == IXP_DISCONNECTED)
171 return IXP_E_NOT_CONNECTED;
172
173 shutdown(This->Socket, SD_BOTH);
174
175 closesocket(This->Socket);
176
177 DestroyWindow(This->hwnd);
178 This->hwnd = NULL;
179
181
182 return S_OK;
183}
INT WSAAPI shutdown(IN SOCKET s, IN INT how)
Definition: sockctrl.c:506
#define SD_BOTH
Definition: winsock.h:56
BOOL WINAPI DestroyWindow(_In_ HWND)

Referenced by IMAPTransport_DropConnection(), IMAPTransport_Release(), POP3Transport_CallbackProcessQUITResponse(), POP3Transport_DropConnection(), POP3Transport_Release(), SMTPTransport_CallbackDisconnect(), SMTPTransport_DropConnection(), and SMTPTransport_Release().

◆ InternetTransport_GetServerInfo()

HRESULT InternetTransport_GetServerInfo ( InternetTransport This,
LPINETSERVER  pInetServer 
)

Definition at line 55 of file internettransport.c.

56{
57 if (This->Status == IXP_DISCONNECTED)
58 return IXP_E_NOT_CONNECTED;
59
60 *pInetServer = This->ServerInfo;
61 return S_OK;
62}

Referenced by IMAPTransport_GetServerInfo(), POP3Transport_GetServerInfo(), and SMTPTransport_GetServerInfo().

◆ InternetTransport_GetStatus()

HRESULT InternetTransport_GetStatus ( InternetTransport This,
IXPSTATUS pCurrentStatus 
)

Definition at line 185 of file internettransport.c.

187{
188 *pCurrentStatus = This->Status;
189 return S_OK;
190}

Referenced by IMAPTransport_GetStatus(), POP3Transport_GetStatus(), and SMTPTransport_GetStatus().

◆ InternetTransport_HandsOffCallback()

HRESULT InternetTransport_HandsOffCallback ( InternetTransport This)

Definition at line 157 of file internettransport.c.

158{
159 if (!This->pCallback)
160 return S_FALSE;
161
162 ITransportCallback_Release(This->pCallback);
163 This->pCallback = NULL;
164
165 return S_OK;
166}
#define S_FALSE
Definition: winerror.h:2357

Referenced by IMAPTransport_HandsOffCallback(), POP3Transport_HandsOffCallback(), and SMTPTransport_HandsOffCallback().

◆ InternetTransport_InetServerFromAccount()

HRESULT InternetTransport_InetServerFromAccount ( InternetTransport This,
IImnAccount pAccount,
LPINETSERVER  pInetServer 
)

Definition at line 64 of file internettransport.c.

66{
67 FIXME("(%p, %p): stub\n", pAccount, pInetServer);
68 return E_NOTIMPL;
69}
#define FIXME(fmt,...)
Definition: debug.h:114
#define E_NOTIMPL
Definition: ddrawi.h:99

Referenced by IMAPTransport_InetServerFromAccount(), POP3Transport_InetServerFromAccount(), and SMTPTransport_InetServerFromAccount().

◆ InternetTransport_Init()

HRESULT InternetTransport_Init ( InternetTransport This)

Definition at line 44 of file internettransport.c.

45{
46 This->pCallback = NULL;
47 This->Status = IXP_DISCONNECTED;
48 This->Socket = -1;
49 This->fCommandLogging = FALSE;
50 This->fnCompletion = NULL;
51
52 return S_OK;
53}
#define FALSE
Definition: types.h:117

Referenced by CreateIMAPTransport(), CreatePOP3Transport(), and CreateSMTPTransport().

◆ InternetTransport_ReadLine()

HRESULT InternetTransport_ReadLine ( InternetTransport This,
INETXPORT_COMPLETION_FUNCTION  fnCompletion 
)

Definition at line 201 of file internettransport.c.

203{
204 if (This->Status == IXP_DISCONNECTED)
205 return IXP_E_NOT_CONNECTED;
206
207 if (This->fnCompletion)
208 return IXP_E_BUSY;
209
210 This->fnCompletion = fnCompletion;
211
212 This->cbBuffer = 1024;
213 This->pBuffer = HeapAlloc(GetProcessHeap(), 0, This->cbBuffer);
214 This->iCurrentBufferOffset = 0;
215
216 if (WSAAsyncSelect(This->Socket, This->hwnd, IX_READLINE, FD_READ) == SOCKET_ERROR)
217 {
218 ERR("WSAAsyncSelect failed with error %d\n", WSAGetLastError());
219 /* FIXME: handle error */
220 }
221 return S_OK;
222}
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
INT WSAAPI WSAAsyncSelect(IN SOCKET s, IN HWND hWnd, IN UINT wMsg, IN LONG lEvent)
Definition: select.c:134
#define IX_READLINE
int PASCAL FAR WSAGetLastError(void)
Definition: dllmain.c:112
#define FD_READ
Definition: winsock.h:405
#define SOCKET_ERROR
Definition: winsock.h:333

Referenced by POP3Transport_CallbackProcessLISTResp(), POP3Transport_CallbackProcessRETRResp(), POP3Transport_CallbackProcessTOPResp(), POP3Transport_CallbackProcessUIDLResp(), POP3Transport_CallbackRecvDELEResp(), POP3Transport_CallbackRecvLISTResp(), POP3Transport_CallbackRecvNOOPResp(), POP3Transport_CallbackRecvPASSResp(), POP3Transport_CallbackRecvQUITResp(), POP3Transport_CallbackRecvRETRResp(), POP3Transport_CallbackRecvRSETResp(), POP3Transport_CallbackRecvSTATResp(), POP3Transport_CallbackRecvTOPResp(), POP3Transport_CallbackRecvUIDLResp(), POP3Transport_CallbackRecvUSERResp(), POP3Transport_Connect(), SMTPTransport_CallbackMessageReadDataResponse(), SMTPTransport_CallbackMessageReadFromResponse(), SMTPTransport_CallbackMessageReadResponse(), SMTPTransport_CallbackMessageReadToResponse(), SMTPTransport_CallbackProcessHelloResp(), SMTPTransport_CallbackReadDATAResponse(), SMTPTransport_CallbackReadMAILResponse(), SMTPTransport_CallbackReadRCPTResponse(), SMTPTransport_CallbackReadResponseDoNothing(), SMTPTransport_CallbackRecvHelloResp(), and SMTPTransport_Connect().

◆ InternetTransport_RegisterClass()

BOOL InternetTransport_RegisterClass ( HINSTANCE  hInstance)

Definition at line 367 of file internettransport.c.

368{
369 WNDCLASSW cls;
370 WSADATA wsadata;
371
372 if (WSAStartup(MAKEWORD(2, 2), &wsadata))
373 return FALSE;
374
375 memset(&cls, 0, sizeof(cls));
376 cls.hInstance = hInstance;
379
380 return RegisterClassW(&cls);
381}
HINSTANCE hInstance
Definition: charmap.c:19
INT WINAPI WSAStartup(IN WORD wVersionRequested, OUT LPWSADATA lpWSAData)
Definition: startup.c:113
static LRESULT CALLBACK InternetTransport_WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
#define memset(x, y, z)
Definition: compat.h:39
LPCWSTR lpszClassName
Definition: winuser.h:3185
HINSTANCE hInstance
Definition: winuser.h:3180
WNDPROC lpfnWndProc
Definition: winuser.h:3177
#define MAKEWORD(a, b)
Definition: typedefs.h:248
ATOM WINAPI RegisterClassW(_In_ CONST WNDCLASSW *)

Referenced by DllMain().

◆ InternetTransport_UnregisterClass()

void InternetTransport_UnregisterClass ( HINSTANCE  hInstance)

Definition at line 383 of file internettransport.c.

384{
386 WSACleanup();
387}
int PASCAL FAR WSACleanup(void)
Definition: startup.c:60
BOOL WINAPI UnregisterClassW(_In_ LPCWSTR, HINSTANCE)

Referenced by DllMain().

◆ InternetTransport_WndProc()

static LRESULT CALLBACK InternetTransport_WndProc ( HWND  hwnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)
static

Definition at line 265 of file internettransport.c.

266{
267 if (uMsg == IX_READ)
268 {
270
271 /* no work to do */
272 if (!This->fnCompletion)
273 return 0;
274
275 while (This->iCurrentBufferOffset < This->cbBuffer)
276 {
277 if (recv(This->Socket, &This->pBuffer[This->iCurrentBufferOffset], 1, 0) <= 0)
278 {
280 break;
281
282 ERR("recv failed with error %d\n", WSAGetLastError());
283 /* FIXME: handle error */
284 }
285
286 This->iCurrentBufferOffset++;
287 }
288 if (This->iCurrentBufferOffset == This->cbBuffer)
289 {
290 INETXPORT_COMPLETION_FUNCTION fnCompletion = This->fnCompletion;
291 char *pBuffer;
292
293 This->fnCompletion = NULL;
294 pBuffer = This->pBuffer;
295 This->pBuffer = NULL;
296 fnCompletion((IInternetTransport *)&This->u.vtbl, pBuffer,
297 This->iCurrentBufferOffset);
299 return 0;
300 }
301
302 if (WSAAsyncSelect(This->Socket, hwnd, uMsg, FD_READ) == SOCKET_ERROR)
303 {
304 ERR("WSAAsyncSelect failed with error %d\n", WSAGetLastError());
305 /* FIXME: handle error */
306 }
307 return 0;
308 }
309 else if (uMsg == IX_READLINE)
310 {
312
313 /* no work to do */
314 if (!This->fnCompletion)
315 return 0;
316
317 while (This->iCurrentBufferOffset < This->cbBuffer - 1)
318 {
319 fd_set infd;
320
321 if (recv(This->Socket, &This->pBuffer[This->iCurrentBufferOffset], 1, 0) <= 0)
322 {
324 break;
325
326 ERR("recv failed with error %d\n", WSAGetLastError());
327 /* FIXME: handle error */
328 return 0;
329 }
330
331 if (This->pBuffer[This->iCurrentBufferOffset] == '\n')
332 {
333 INETXPORT_COMPLETION_FUNCTION fnCompletion = This->fnCompletion;
334 char *pBuffer;
335
336 This->fnCompletion = NULL;
337 This->pBuffer[This->iCurrentBufferOffset++] = '\0';
338 pBuffer = This->pBuffer;
339 This->pBuffer = NULL;
340
341 fnCompletion((IInternetTransport *)&This->u.vtbl, pBuffer,
342 This->iCurrentBufferOffset);
343
345 return 0;
346 }
347 if (This->pBuffer[This->iCurrentBufferOffset] != '\r')
348 This->iCurrentBufferOffset++;
349
350 FD_ZERO(&infd);
351 FD_SET(This->Socket, &infd);
352 }
353 if (This->iCurrentBufferOffset == This->cbBuffer - 1)
354 return 0;
355
356 if (WSAAsyncSelect(This->Socket, hwnd, uMsg, FD_READ) == SOCKET_ERROR)
357 {
358 ERR("WSAAsyncSelect failed with error %d\n", WSAGetLastError());
359 /* FIXME: handle error */
360 }
361 return 0;
362 }
363 else
364 return DefWindowProcW(hwnd, uMsg, wParam, lParam);
365}
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
#define HeapFree(x, y, z)
Definition: compat.h:735
INT WSAAPI recv(IN SOCKET s, OUT CHAR FAR *buf, IN INT len, IN INT flags)
Definition: recv.c:23
void(* INETXPORT_COMPLETION_FUNCTION)(IInternetTransport *, char *, int)
#define IX_READ
PVOID pBuffer
Definition: winsock.h:66
_In_ LONG _In_ HWND hwnd
Definition: winddi.h:4023
#define WSAEWOULDBLOCK
Definition: winerror.h:1948
#define FD_ZERO(set)
Definition: winsock.h:96
#define FD_SET(fd, set)
Definition: winsock.h:89
#define GetWindowLongPtrW
Definition: winuser.h:4829
LRESULT WINAPI DefWindowProcW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)

Referenced by InternetTransport_RegisterClass().

◆ InternetTransport_Write()

HRESULT InternetTransport_Write ( InternetTransport This,
const char pvData,
int  cbSize,
INETXPORT_COMPLETION_FUNCTION  fnCompletion 
)

Definition at line 224 of file internettransport.c.

226{
227 int ret;
228
229 if (This->Status == IXP_DISCONNECTED)
230 return IXP_E_NOT_CONNECTED;
231
232 if (This->fnCompletion)
233 return IXP_E_BUSY;
234
235 /* FIXME: do this asynchronously */
236 ret = send(This->Socket, pvData, cbSize, 0);
237 if (ret == SOCKET_ERROR)
238 {
239 ERR("send failed with error %d\n", WSAGetLastError());
240 /* FIXME: handle error */
241 }
242
243 fnCompletion((IInternetTransport *)&This->u.vtbl, NULL, 0);
244
245 return S_OK;
246}
INT WSAAPI send(IN SOCKET s, IN CONST CHAR FAR *buf, IN INT len, IN INT flags)
Definition: send.c:23
_In_ ULONG _In_opt_ PVOID pvData
Definition: winddi.h:3749

Referenced by InternetTransport_DoCommand(), and SMTPTransport_CallbackMessageSendDataStream().

◆ WINE_DEFAULT_DEBUG_CHANNEL()

WINE_DEFAULT_DEBUG_CHANNEL ( inetcomm  )

Variable Documentation

◆ wszClassName

const WCHAR wszClassName[] = {'T','h','o','r','C','o','n','n','W','n','d','C','l','a','s','s',0}
static