Add stdcall->cdecl thunks for inet_network and getnetbyname.
This commit is contained in:
parent
043f64021d
commit
07b4422a01
|
@ -249,3 +249,19 @@ INT WINAPI EnumProtocolsW( LPINT lpiProtocols, LPVOID lpBuffer,
|
||||||
return WSOCK32_EnumProtocol( lpiProtocols, (PROTOCOL_INFOA*) lpBuffer,
|
return WSOCK32_EnumProtocol( lpiProtocols, (PROTOCOL_INFOA*) lpBuffer,
|
||||||
lpdwLength, TRUE);
|
lpdwLength, TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* inet_network [WSOCK32.1100]
|
||||||
|
*/
|
||||||
|
unsigned int WINAPI WSOCK32_inet_network(const char *cp)
|
||||||
|
{
|
||||||
|
return inet_network(cp);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************
|
||||||
|
* getnetbyname [WSOCK32.1101]
|
||||||
|
*/
|
||||||
|
struct netent WINAPI *WSOCK32_getnetbyname(const char *name)
|
||||||
|
{
|
||||||
|
return getnetbyname(name);
|
||||||
|
}
|
||||||
|
|
|
@ -60,8 +60,8 @@ debug_channels (winsock)
|
||||||
# ... as it is, they don't
|
# ... as it is, they don't
|
||||||
#1000 stub WSApSetPostRoutine
|
#1000 stub WSApSetPostRoutine
|
||||||
1001 stdcall WsControl(long long ptr ptr ptr ptr) WsControl
|
1001 stdcall WsControl(long long ptr ptr ptr ptr) WsControl
|
||||||
1100 stdcall inet_network(str) inet_network
|
1100 stdcall inet_network(str) WSOCK32_inet_network
|
||||||
1101 stdcall getnetbyname(str) getnetbyname
|
1101 stdcall getnetbyname(str) WSOCK32_getnetbyname
|
||||||
#1102 stub rcmd
|
#1102 stub rcmd
|
||||||
#1103 stub rexec
|
#1103 stub rexec
|
||||||
#1104 stub rresvport
|
#1104 stub rresvport
|
||||||
|
|
Loading…
Reference in New Issue