rasapi32: Add stub for RasGetConnectionStatistics.

Signed-off-by: Stanislav Motylkov <x86corez@gmail.com>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Stanislav Motylkov 2017-11-22 22:31:50 +03:00 committed by Alexandre Julliard
parent 664e861cda
commit 290aec59aa
4 changed files with 9 additions and 1 deletions

View File

@ -5,7 +5,7 @@
@ stdcall RasEnumEntriesW(wstr wstr ptr ptr ptr) rasapi32.RasEnumEntriesW
@ stdcall RasGetAutodialAddressA(str ptr ptr ptr ptr) rasapi32.RasGetAutodialAddressA
@ stdcall RasGetAutodialAddressW(wstr ptr ptr ptr ptr) rasapi32.RasGetAutodialAddressW
@ stub RasGetConnectionStatistics
@ stdcall RasGetConnectionStatistics(ptr ptr) rasapi32.RasGetConnectionStatistics
@ stdcall RasGetConnectStatusW(ptr ptr) rasapi32.RasGetConnectStatusW
@ stub RasGetCredentialsW
@ stdcall RasGetEntryDialParamsW(wstr ptr ptr) rasapi32.RasGetEntryDialParamsW

View File

@ -547,3 +547,9 @@ DWORD WINAPI RasGetLinkStatistics(HRASCONN connection, DWORD entry, RAS_STATS *s
FIXME("(%p,%u,%p), stub!\n", connection, entry, statistics);
return 0;
}
DWORD WINAPI RasGetConnectionStatistics(HRASCONN connection, RAS_STATS *statistics)
{
FIXME("(%p,%p), stub!\n", connection, statistics);
return ERROR_UNKNOWN;
}

View File

@ -33,6 +33,7 @@
@ stdcall RasGetConnectStatusA(ptr ptr)
@ stdcall RasGetConnectStatusW(ptr ptr)
@ stub RasGetConnectStatusWow
@ stdcall RasGetConnectionStatistics(ptr ptr)
@ stub RasGetCountryInfoA
@ stub RasGetCountryInfoW
@ stub RasGetCredentialsA

View File

@ -23,6 +23,7 @@
#define ERROR_BUFFER_TOO_SMALL (RASBASE+3)
#define ERROR_BUFFER_INVALID (RASBASE+10)
#define ERROR_INVALID_SIZE (RASBASE+32)
#define ERROR_UNKNOWN (RASBASE+35)
#define ERROR_STATE_MACHINES_NOT_STARTED (RASBASE+95)
#define ERROR_RASMAN_CANNOT_INITIALIZE (RASBASE+111)