RasEnumConnectionsW stub

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is needed to make Kazaa Lite 2.0 run for any reasonable amount of time

ChangeLog:
* dlls/rasapi32/rasapi32.spec, dlls/rasapi32/rasapi32.c
Add stub for RasEnumConnectionsW

-Ryan
Index: rasapi.c
===================================================================
RCS file: /home/wine/wine/dlls/rasapi32/rasapi.c,v
retrieving revision 1.18
diff -u -r1.18 rasapi.c
--- rasapi.c	18 Oct 2002 23:48:58 -0000	1.18
+++ rasapi.c	4 Nov 2002 06:01:29 -0000
@@ -37,6 +37,18 @@
 }
 
 /**************************************************************************
+ *                 RasEnumConnectionsW			[RASAPI32.545]
+ */
+DWORD WINAPI RasEnumConnectionsW( LPRASCONNW rcw, LPDWORD lpcb, LPDWORD lpcConnections) {
+	/* 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");
+	*lpcConnections = 0; /* no RAS connections available */
+
+	return 0;
+}
+
+/**************************************************************************
  *                 RasEnumEntriesA		        	[RASAPI32.546]
  */
 DWORD WINAPI RasEnumEntriesA( LPCSTR Reserved, LPCSTR lpszPhoneBook,
Index: rasapi32.spec
===================================================================
RCS file: /home/wine/wine/dlls/rasapi32/rasapi32.spec,v
retrieving revision 1.10
diff -u -r1.10 rasapi32.spec
--- rasapi32.spec	21 Jun 2002 19:15:49 -0000	1.10
+++ rasapi32.spec	4 Nov 2002 06:01:29 -0000
@@ -96,7 +96,7 @@
 542 stub	RasEditPhonebookEntryA
 543 stub	RasEditPhonebookEntryW
 544 stdcall	RasEnumConnectionsA(ptr ptr ptr) RasEnumConnectionsA
-545 stub	RasEnumConnectionsW
+545 stdcall	RasEnumConnectionsW(ptr ptr ptr) RasEnumConnectionsW
 546 stdcall	RasEnumEntriesA(str str ptr ptr ptr) RasEnumEntriesA
 547 stub	RasEnumEntriesW
 548 stub	RasGetConnectStatusA

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux