mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:56:00 +00:00
patch by Filip Navara for remaining mswsock stubs
svn path=/trunk/; revision=6063
This commit is contained in:
parent
d17de36214
commit
fd94f77ea8
3 changed files with 115 additions and 48 deletions
|
@ -1,4 +1,4 @@
|
||||||
; $Id: mswsock.def,v 1.1 2003/09/12 17:51:47 vizzini Exp $
|
; $Id: mswsock.def,v 1.2 2003/09/13 21:15:03 vizzini Exp $
|
||||||
;
|
;
|
||||||
; MSWSOCK.DLL - Windows Sockets 2 DLL
|
; MSWSOCK.DLL - Windows Sockets 2 DLL
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@ GetServiceA@28
|
||||||
GetServiceW@28
|
GetServiceW@28
|
||||||
GetTypeByNameA@8
|
GetTypeByNameA@8
|
||||||
GetTypeByNameW@8
|
GetTypeByNameW@8
|
||||||
;MigrateWinsockConfiguration
|
MigrateWinsockConfiguration@12
|
||||||
;NPLoadNameSpaces
|
NPLoadNameSpaces@12
|
||||||
SetServiceA@24
|
SetServiceA@24
|
||||||
SetServiceW@24
|
SetServiceW@24
|
||||||
TransmitFile@28
|
TransmitFile@28
|
||||||
|
@ -34,8 +34,7 @@ sethostname@8
|
||||||
NSPStartup@8
|
NSPStartup@8
|
||||||
WSPStartup@76
|
WSPStartup@76
|
||||||
NPLoadNameSpaces@12
|
NPLoadNameSpaces@12
|
||||||
;MigrateWinsockConfiguration
|
ServiceMain@8
|
||||||
;ServiceMain
|
StartWsdpService@0
|
||||||
;StartWsdpService
|
StopWsdpService@0
|
||||||
;StopWsdpService
|
SvchostPushServiceGlobals@4
|
||||||
;SvchostPushServiceGlobals
|
|
||||||
|
|
|
@ -1,41 +1,39 @@
|
||||||
; $Id: mswsock.edf,v 1.1 2003/09/12 17:51:47 vizzini Exp $
|
; $Id: mswsock.edf,v 1.2 2003/09/13 21:15:03 vizzini Exp $
|
||||||
;
|
;
|
||||||
; MSWSOCK.DLL - Windows Sockets 2 DLL
|
; MSWSOCK.DLL - Windows Sockets 2 DLL
|
||||||
|
|
||||||
LIBRARY mswsock.dll
|
LIBRARY mswsock.dll
|
||||||
|
|
||||||
EXPORTS
|
EXPORTS
|
||||||
AcceptEx=AcceptEx@32
|
ServiceMain=ServiceMain@8 @0
|
||||||
EnumProtocolsA=EnumProtocolsA@12
|
SvchostPushServiceGlobals=SvchostPushServiceGlobals@4 @1
|
||||||
EnumProtocolsW=EnumProtocolsW@12
|
AcceptEx=AcceptEx@32 @2
|
||||||
GetAcceptExSockaddrs=GetAcceptExSockaddrs@32
|
EnumProtocolsA=EnumProtocolsA@12 @3
|
||||||
GetAddressByNameA=GetAddressByNameA@40
|
EnumProtocolsW=EnumProtocolsW@12 @4
|
||||||
GetAddressByNameW=GetAddressByNameW@40
|
GetAcceptExSockaddrs=GetAcceptExSockaddrs@32 @5
|
||||||
GetNameByTypeA=GetNameByTypeA@12
|
GetAddressByNameA=GetAddressByNameA@40 @6
|
||||||
GetNameByTypeW=GetNameByTypeW@12
|
GetAddressByNameW=GetAddressByNameW@40 @7
|
||||||
GetServiceA=GetServiceA@28
|
GetNameByTypeA=GetNameByTypeA@12 @8
|
||||||
GetServiceW=GetServiceW@28
|
GetNameByTypeW=GetNameByTypeW@12 @9
|
||||||
GetTypeByNameA=GetTypeByNameA@8
|
GetServiceA=GetServiceA@28 @10
|
||||||
GetTypeByNameW=GetTypeByNameW@8
|
GetServiceW=GetServiceW@28 @11
|
||||||
;MigrateWinsockConfiguration
|
GetTypeByNameA=GetTypeByNameA@8 @12
|
||||||
;NPLoadNameSpaces
|
GetTypeByNameW=GetTypeByNameW@8 @13
|
||||||
SetServiceA=SetServiceA@24
|
MigrateWinsockConfiguration=MigrateWinsockConfiguration@12 @14
|
||||||
SetServiceW=SetServiceW@24
|
NPLoadNameSpaces=NPLoadNameSpaces@12 @15
|
||||||
TransmitFile=TransmitFile@28
|
NSPStartup=NSPStartup@8 @16
|
||||||
WSARecvEx=WSARecvEx@16
|
SetServiceA=SetServiceA@24 @17
|
||||||
dn_expand=dn_expand@20
|
SetServiceW=SetServiceW@24 @18
|
||||||
getnetbyname=getnetbyname@4
|
StartWsdpService=StartWsdpService@0 @19
|
||||||
inet_network=inet_network@4
|
StopWsdpService=StopWsdpService@0 @20
|
||||||
rcmd=rcmd@24
|
TransmitFile=TransmitFile@28 @21
|
||||||
rexec=rexec@24
|
WSARecvEx=WSARecvEx@16 @22
|
||||||
rresvport=rresvport@4
|
WSPStartup=WSPStartup@76 @23
|
||||||
s_perror=s_perror@4
|
dn_expand=dn_expand@20 @24
|
||||||
sethostname=sethostname@8
|
getnetbyname=getnetbyname@4 @25
|
||||||
NSPStartup=NSPStartup@8
|
inet_network=inet_network@4 @26
|
||||||
WSPStartup=WSPStartup@76
|
rcmd=rcmd@24 @27
|
||||||
NPLoadNameSpaces=NPLoadNameSpaces@12
|
rexec=rexec@24 @28
|
||||||
;MigrateWinsockConfiguration
|
rresvport=rresvport@4 @29
|
||||||
;ServiceMain
|
s_perror=s_perror@4 @30
|
||||||
;StartWsdpService
|
sethostname=sethostname@8 @31
|
||||||
;StopWsdpService
|
|
||||||
;SvchostPushServiceGlobals
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: stubs.c,v 1.1 2003/09/12 17:51:47 vizzini Exp $
|
/* $Id: stubs.c,v 1.2 2003/09/13 21:15:03 vizzini Exp $
|
||||||
*
|
*
|
||||||
* COPYRIGHT: See COPYING in the top level directory
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS WinSock DLL
|
* PROJECT: ReactOS WinSock DLL
|
||||||
|
@ -191,6 +191,21 @@ GetTypeByNameW(LPWSTR ServiceName,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
INT
|
||||||
|
STDCALL
|
||||||
|
MigrateWinsockConfiguration(DWORD Unknown1,
|
||||||
|
DWORD Unknown2,
|
||||||
|
DWORD Unknown3)
|
||||||
|
{
|
||||||
|
OutputDebugStringW(L"w32sock MigrateWinsockConfiguration stub called\n");
|
||||||
|
|
||||||
|
return SOCKET_ERROR;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
@ -389,6 +404,7 @@ DllMain(HINSTANCE InstDLL,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
@ -400,6 +416,7 @@ GetNameByTypeA(LPGUID lpServiceType,LPSTR lpServiceName,DWORD dwNameLength)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
@ -411,6 +428,7 @@ GetNameByTypeW(LPGUID lpServiceType,LPWSTR lpServiceName,DWORD dwNameLength)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
@ -424,6 +442,7 @@ NSPStartup(
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
|
@ -440,16 +459,67 @@ WSPStartup(
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @unimplemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
INT
|
INT
|
||||||
STDCALL
|
STDCALL
|
||||||
NPLoadNameSpaces (
|
NPLoadNameSpaces(
|
||||||
IN OUT LPDWORD lpdwVersion,
|
IN OUT LPDWORD lpdwVersion,
|
||||||
IN OUT LPNS_ROUTINE nsrBuffer,
|
IN OUT LPNS_ROUTINE nsrBuffer,
|
||||||
IN OUT LPDWORD lpdwBufferLength
|
IN OUT LPDWORD lpdwBufferLength
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
OutputDebugStringW(L"mswsock NPLoadNameSpaces stub called\n");
|
||||||
|
|
||||||
|
*lpdwVersion = 1;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
VOID
|
||||||
|
STDCALL
|
||||||
|
StartWsdpService()
|
||||||
|
{
|
||||||
|
OutputDebugStringW(L"mswsock StartWsdpService stub called\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
VOID
|
||||||
|
STDCALL
|
||||||
|
StopWsdpService()
|
||||||
|
{
|
||||||
|
OutputDebugStringW(L"mswsock StopWsdpService stub called\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
DWORD
|
||||||
|
STDCALL
|
||||||
|
SvchostPushServiceGlobals(DWORD Value)
|
||||||
|
{
|
||||||
|
OutputDebugStringW(L"mswsock SvchostPushServiceGlobals stub called\n");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @unimplemented
|
||||||
|
*/
|
||||||
|
VOID
|
||||||
|
STDCALL
|
||||||
|
ServiceMain(DWORD Unknown1, DWORD Unknown2)
|
||||||
|
{
|
||||||
|
OutputDebugStringW(L"mswsock ServiceMain stub called\n");
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue