From 140cec5b6d55e76b7a85a8ebe8ac2a3bf6150eff Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Wed, 11 Jul 2001 17:25:03 +0000 Subject: [PATCH] Stub some rasapi functions. --- dlls/rasapi32/rasapi.c | 171 ++++++++++++++++++++++++++++++++++++ dlls/rasapi32/rasapi32.spec | 53 +++++++++++ 2 files changed, 224 insertions(+) diff --git a/dlls/rasapi32/rasapi.c b/dlls/rasapi32/rasapi.c index 994669fc6c1..d25aed085bc 100644 --- a/dlls/rasapi32/rasapi.c +++ b/dlls/rasapi32/rasapi.c @@ -52,3 +52,174 @@ DWORD WINAPI RasHangUpA( HRASCONN hrasconn) FIXME("(%x),stub!\n",hrasconn); return 0; } + +/************************************************************************** + * RasDeleteEntryA [RASAPI32.*] + */ +DWORD WINAPI RasDeleteEntryA(LPCSTR a, LPCSTR b) +{ + FIXME("(%s,%s),stub!\n",debugstr_a(a),debugstr_a(b)); + return 0; +} + +/************************************************************************** + * RasDeleteEntryW [RASAPI32.*] + */ +DWORD WINAPI RasDeleteEntryW(LPCWSTR a, LPCWSTR b) +{ + FIXME("(%s,%s),stub!\n",debugstr_w(a),debugstr_w(b)); + return 0; +} + +/************************************************************************** + * RasEnumAutodialAddressesA [RASAPI32.*] + */ +DWORD WINAPI RasEnumAutodialAddressesA(LPCSTR *a, LPDWORD b, LPDWORD c) +{ + FIXME("(%p,%p,%p),stub!\n",a,b,c); + return 0; +} + +/************************************************************************** + * RasEnumAutodialAddressesW [RASAPI32.*] + */ +DWORD WINAPI RasEnumAutodialAddressesW(LPCWSTR *a, LPDWORD b, LPDWORD c) +{ + FIXME("(%p,%p,%p),stub!\n",a,b,c); + return 0; +} + +typedef LPVOID LPRASDEVINFOA; +typedef LPVOID LPRASDEVINFOW; +typedef LPVOID LPRASAUTODIALENTRYA; +typedef LPVOID LPRASAUTODIALENTRYW; + +/************************************************************************** + * RasEnumDevicesA [RASAPI32.*] + */ +DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA a, LPDWORD b, LPDWORD c) +{ + FIXME("(%p,%p,%p),stub!\n",a,b,c); + return 0; +} + +/************************************************************************** + * RasEnumDevicesW [RASAPI32.*] + */ +DWORD WINAPI RasEnumDevicesW(LPRASDEVINFOW a, LPDWORD b, LPDWORD c) +{ + FIXME("(%p,%p,%p),stub!\n",a,b,c); + return 0; +} + +/************************************************************************** + * RasGetAutodialAddressA [RASAPI32.*] + */ +DWORD WINAPI RasGetAutodialAddressA(LPCSTR a, LPDWORD b, LPRASAUTODIALENTRYA c, + LPDWORD d, LPDWORD e) +{ + FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_a(a),b,c,d,e); + return 0; +} + +/************************************************************************** + * RasGetAutodialAddressW [RASAPI32.*] + */ +DWORD WINAPI RasGetAutodialAddressW(LPCWSTR a, LPDWORD b, LPRASAUTODIALENTRYW c, + LPDWORD d, LPDWORD e) +{ + FIXME("(%s,%p,%p,%p,%p),stub!\n",debugstr_w(a),b,c,d,e); + return 0; +} + +/************************************************************************** + * RasGetAutodialEnableA [RASAPI32.*] + */ +DWORD WINAPI RasGetAutodialEnableA(DWORD a, LPBOOL b) +{ + FIXME("(%lx,%p),stub!\n",a,b); + return 0; +} + +/************************************************************************** + * RasGetAutodialEnableW [RASAPI32.*] + */ +DWORD WINAPI RasGetAutodialEnableW(DWORD a, LPBOOL b) +{ + FIXME("(%lx,%p),stub!\n",a,b); + return 0; +} + +/************************************************************************** + * RasGetAutodialParamA [RASAPI32.*] + */ +DWORD WINAPI RasGetAutodialParamA(DWORD a, LPVOID b, LPDWORD c) +{ + FIXME("(%lx,%p,%p),stub!\n",a,b,c); + return 0; +} + +/************************************************************************** + * RasGetAutodialParamW [RASAPI32.*] + */ +DWORD WINAPI RasGetAutodialParamW(DWORD a, LPVOID b, LPDWORD c) +{ + FIXME("(%lx,%p,%p),stub!\n",a,b,c); + return 0; +} + +/************************************************************************** + * RasGetAutodialAddressA [RASAPI32.*] + */ +DWORD WINAPI RasSetAutodialAddressA(LPCSTR a, DWORD b, LPRASAUTODIALENTRYA c, + DWORD d, DWORD e) +{ + FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_a(a),b,c,d,e); + return 0; +} + +/************************************************************************** + * RasGetAutodialAddressW [RASAPI32.*] + */ +DWORD WINAPI RasSetAutodialAddressW(LPCWSTR a, DWORD b, LPRASAUTODIALENTRYW c, + DWORD d, DWORD e) +{ + FIXME("(%s,%lx,%p,%lx,%lx),stub!\n",debugstr_w(a),b,c,d,e); + return 0; +} + +/************************************************************************** + * RasSetAutodialEnableA [RASAPI32.*] + */ +DWORD WINAPI RasSetAutodialEnableA(DWORD a, BOOL b) +{ + FIXME("(%lx,%x),stub!\n",a,b); + return 0; +} + +/************************************************************************** + * RasGetAutodialEnableW [RASAPI32.*] + */ +DWORD WINAPI RasSetAutodialEnableW(DWORD a, BOOL b) +{ + FIXME("(%lx,%x),stub!\n",a,b); + return 0; +} + +/************************************************************************** + * RasSetAutodialParamA [RASAPI32.*] + */ +DWORD WINAPI RasSetAutodialParamA(DWORD a, LPVOID b, DWORD c) +{ + FIXME("(%lx,%p,%lx),stub!\n",a,b,c); + return 0; +} + +/************************************************************************** + * RasSetAutodialParamW [RASAPI32.*] + */ +DWORD WINAPI RasSetAutodialParamW(DWORD a, LPVOID b, DWORD c) +{ + FIXME("(%lx,%p,%lx),stub!\n",a,b,c); + return 0; +} diff --git a/dlls/rasapi32/rasapi32.spec b/dlls/rasapi32/rasapi32.spec index 810e23075fd..2a11655e430 100644 --- a/dlls/rasapi32/rasapi32.spec +++ b/dlls/rasapi32/rasapi32.spec @@ -6,6 +6,59 @@ import ntdll.dll debug_channels (ras) + 1 stub RasAutodialAddressToNetwork + 2 stub RasAutodialEntryToNetwork + 3 stub RasConnectionNotificationA + 4 stub RasConnectionNotificationW + 7 stdcall RasDeleteEntryA(str str) RasDeleteEntryA + 8 stdcall RasDeleteEntryW(wstr wstr) RasDeleteEntryW +14 stdcall RasEnumAutodialAddressesA(ptr ptr ptr) RasEnumAutodialAddressesA +15 stdcall RasEnumAutodialAddressesW(ptr ptr ptr) RasEnumAutodialAddressesW +19 stdcall RasEnumDevicesA(ptr ptr ptr) RasEnumDevicesA +20 stdcall RasEnumDevicesW(ptr ptr ptr) RasEnumDevicesW +24 stdcall RasGetAutodialAddressA(str ptr ptr ptr ptr) RasGetAutodialAddressA +25 stdcall RasGetAutodialAddressW(wstr ptr ptr ptr ptr) RasGetAutodialAddressW +26 stdcall RasGetAutodialEnableA(long ptr) RasGetAutodialEnableA +27 stdcall RasGetAutodialEnableW(long ptr) RasGetAutodialEnableW +28 stdcall RasGetAutodialParamA(long ptr ptr) RasGetAutodialParamA +29 stdcall RasGetAutodialParamW(long ptr ptr) RasGetAutodialParamW +30 stub RasGetConnectResponse +34 stub RasGetCountryInfoA +35 stub RasGetCountryInfoW +36 stub RasGetCredentialsA +37 stub RasGetCredentialsW +40 stub RasGetEntryPropertiesA +41 stub RasGetEntryPropertiesW +45 stub RasGetHport +48 stub RasGetSubEntryHandleA +49 stub RasGetSubEntryHandleW +50 stub RasGetSubEntryPropertiesA +51 stub RasGetSubEntryPropertiesW +55 stub RasRenameEntryA +56 stub RasRenameEntryW +57 stdcall RasSetAutodialAddressA(str long ptr long long) RasSetAutodialAddressA +58 stdcall RasSetAutodialAddressW(wstr long ptr long long) RasSetAutodialAddressW +59 stdcall RasSetAutodialEnableA(long long) RasSetAutodialEnableA +60 stdcall RasSetAutodialEnableW(long long) RasSetAutodialEnableW +61 stdcall RasSetAutodialParamA(long ptr long) RasSetAutodialParamA +62 stdcall RasSetAutodialParamW(long ptr long) RasSetAutodialParamW +63 stub RasSetCredentialsA +64 stub RasSetCredentialsW +67 stub RasSetEntryPropertiesA +68 stub RasSetEntryPropertiesW +69 stub RasSetOldPassword +70 stub RasSetSubEntryPropertiesA +71 stub RasSetSubEntryPropertiesW +72 stub RasValidateEntryNameA +73 stub RasValidateEntryNameW + +11 stub RasDialWow +18 stub RasEnumConnectionsWow +23 stub RasEnumEntriesWow +33 stub RasGetConnectStatusWow +44 stub RasGetErrorStringWow +54 stub RasHangUpWow + 500 stub RnaEngineRequest 501 stub DialEngineRequest 502 stub SuprvRequest