rasapi32: Add RasGetLinkStatistics stub.

Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Austin English 2016-02-18 12:01:40 +01:00 committed by Alexandre Julliard
parent d92dc216f2
commit b0e122f411
3 changed files with 25 additions and 0 deletions

View File

@ -539,3 +539,9 @@ DWORD WINAPI RasSetSubEntryPropertiesW(LPCWSTR lpszPhonebook, LPCWSTR lpszEntry,
dwcbDeviceConfig);
return 0;
}
DWORD WINAPI RasGetLinkStatistics(HRASCONN connection, DWORD entry, RAS_STATS *statistics)
{
FIXME("(%p,%u,%p), stub!\n", connection, entry, statistics);
return 0;
}

View File

@ -45,6 +45,7 @@
@ stdcall RasGetErrorStringW(long ptr long)
@ stub RasGetErrorStringWow
@ stub RasGetHport
@ stdcall RasGetLinkStatistics(ptr long ptr)
@ stdcall RasGetProjectionInfoA(ptr ptr ptr ptr)
@ stdcall RasGetProjectionInfoW(ptr ptr ptr ptr)
@ stub RasGetSubEntryHandleA

View File

@ -426,6 +426,24 @@ typedef struct tagRASAUTODIALENTRYW
WCHAR szEntry[ RAS_MaxEntryName + 1 ];
} RASAUTODIALENTRYW, *LPRASAUTODIALENTRYW;
typedef struct _RAS_STATS
{
DWORD dwSize;
DWORD dwBytesXmited;
DWORD dwBytesRcved;
DWORD dwFramesXmited;
DWORD dwFramesRcved;
DWORD dwCrcErr;
DWORD dwTimeoutErr;
DWORD dwAlignmentErr;
DWORD dwHardwareOverrunErr;
DWORD dwFramingErr;
DWORD dwBufferOverrunErr;
DWORD dwCompressionRatioIn;
DWORD dwCompressionRatioOut;
DWORD dwBps;
DWORD dwConnectDuration;
} RAS_STATS, *PRAS_STATS;
DWORD WINAPI RasConnectionNotificationA(HRASCONN,HANDLE,DWORD);
DWORD WINAPI RasConnectionNotificationW(HRASCONN,HANDLE,DWORD);