mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 15:15:39 +00:00
rasapi32: RasEnumConnections now returns correct buffer size (zero) when there are zero connections available.
This commit is contained in:
parent
c34bbbe7f6
commit
69a9621b20
|
@ -102,6 +102,7 @@ DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD lpcb, LPDWORD lpcConne
|
|||
/* Remote Access Service stuff is done by underlying OS anyway */
|
||||
FIXME("(%p,%p,%p),stub!\n",rca,lpcb,lpcConnections);
|
||||
FIXME("RAS support is not implemented! Configure program to use LAN connection/winsock instead!\n");
|
||||
*lpcb = 0; /* size of buffer needed to enumerate connections */
|
||||
*lpcConnections = 0; /* no RAS connections available */
|
||||
|
||||
return 0;
|
||||
|
@ -114,6 +115,7 @@ DWORD WINAPI RasEnumConnectionsW( LPRASCONNW rcw, LPDWORD lpcb, LPDWORD lpcConne
|
|||
/* Remote Access Service stuff is done by underlying OS anyway */
|
||||
FIXME("(%p,%p,%p),stub!\n",rcw,lpcb,lpcConnections);
|
||||
FIXME("RAS support is not implemented! Configure program to use LAN connection/winsock instead!\n");
|
||||
*lpcb = 0; /* size of buffer needed to enumerate connections */
|
||||
*lpcConnections = 0; /* no RAS connections available */
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue