mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:21:14 +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
1 changed files with 2 additions and 0 deletions
|
@ -102,6 +102,7 @@ DWORD WINAPI RasEnumConnectionsA( LPRASCONNA rca, LPDWORD lpcb, LPDWORD lpcConne
|
||||||
/* Remote Access Service stuff is done by underlying OS anyway */
|
/* Remote Access Service stuff is done by underlying OS anyway */
|
||||||
FIXME("(%p,%p,%p),stub!\n",rca,lpcb,lpcConnections);
|
FIXME("(%p,%p,%p),stub!\n",rca,lpcb,lpcConnections);
|
||||||
FIXME("RAS support is not implemented! Configure program to use LAN connection/winsock instead!\n");
|
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 */
|
*lpcConnections = 0; /* no RAS connections available */
|
||||||
|
|
||||||
return 0;
|
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 */
|
/* Remote Access Service stuff is done by underlying OS anyway */
|
||||||
FIXME("(%p,%p,%p),stub!\n",rcw,lpcb,lpcConnections);
|
FIXME("(%p,%p,%p),stub!\n",rcw,lpcb,lpcConnections);
|
||||||
FIXME("RAS support is not implemented! Configure program to use LAN connection/winsock instead!\n");
|
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 */
|
*lpcConnections = 0; /* no RAS connections available */
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue