rasapi32: RasEnumConnections now returns correct buffer size (zero) when there are zero connections available.
diff --git a/dlls/rasapi32/rasapi.c b/dlls/rasapi32/rasapi.c index a2dae0c..0977ffe 100644 --- a/dlls/rasapi32/rasapi.c +++ b/dlls/rasapi32/rasapi.c
@@ -102,6 +102,7 @@ /* 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 @@ /* 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;