mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 09:50:07 +00:00
[ws2_32_new]
always return "WinSock 2.0" as windows does (verified on windows 8) fix a typo svn path=/trunk/; revision=62222
This commit is contained in:
parent
2f200ee21c
commit
77bc3969c0
|
@ -44,13 +44,13 @@ DllMain(HANDLE hModule,
|
||||||
|
|
||||||
/* TLS Allocation */
|
/* TLS Allocation */
|
||||||
if (GlobalTlsIndex == TLS_OUT_OF_INDEXES)
|
if (GlobalTlsIndex == TLS_OUT_OF_INDEXES)
|
||||||
{
|
{
|
||||||
GlobalTlsIndex = TlsAlloc();
|
GlobalTlsIndex = TlsAlloc();
|
||||||
if (GlobalTlsIndex == TLS_OUT_OF_INDEXES)
|
if (GlobalTlsIndex == TLS_OUT_OF_INDEXES)
|
||||||
{
|
{
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize some critical sections */
|
/* Initialize some critical sections */
|
||||||
WsCreateStartupSynchronization();
|
WsCreateStartupSynchronization();
|
||||||
|
|
|
@ -165,7 +165,7 @@ WSAStartup(IN WORD wVersionRequested,
|
||||||
|
|
||||||
/* We support Winsock 2.2 */
|
/* We support Winsock 2.2 */
|
||||||
lpWSAData->wHighVersion = MAKEWORD(2,2);
|
lpWSAData->wHighVersion = MAKEWORD(2,2);
|
||||||
lstrcpy(lpWSAData->szDescription, "WinSock 2.2");
|
lstrcpy(lpWSAData->szDescription, "WinSock 2.0");
|
||||||
lstrcpy(lpWSAData->szSystemStatus, "Running");
|
lstrcpy(lpWSAData->szSystemStatus, "Running");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -183,7 +183,7 @@ WSAStartup(IN WORD wVersionRequested,
|
||||||
lpWSAData->iMaxUdpDg = 0;
|
lpWSAData->iMaxUdpDg = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Enter the startup syncronization lock */
|
/* Enter the startup synchronization lock */
|
||||||
WsStartupLock();
|
WsStartupLock();
|
||||||
|
|
||||||
/* Now setup all our objects */
|
/* Now setup all our objects */
|
||||||
|
|
Loading…
Reference in a new issue