Commit 69a9621b authored by John Klehm's avatar John Klehm Committed by Alexandre Julliard

rasapi32: RasEnumConnections now returns correct buffer size (zero) when there…

rasapi32: RasEnumConnections now returns correct buffer size (zero) when there are zero connections available.
parent c34bbbe7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment