mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Added patch to implement stub for rasapi32.RasGetConnectionStatistics.
This commit is contained in:
parent
d677406b2a
commit
053046f489
@ -326,6 +326,7 @@ patch_enable_all ()
|
||||
enable_packager_DllMain="$1"
|
||||
enable_quartz_MediaSeeking_Positions="$1"
|
||||
enable_quartz_Silence_FIXMEs="$1"
|
||||
enable_rasapi32_RasGetConnectionStatistics="$1"
|
||||
enable_riched20_Class_Tests="$1"
|
||||
enable_riched20_IText_Interface="$1"
|
||||
enable_rpcrt4_Race_Condition="$1"
|
||||
@ -1260,6 +1261,9 @@ patch_enable ()
|
||||
quartz-Silence_FIXMEs)
|
||||
enable_quartz_Silence_FIXMEs="$2"
|
||||
;;
|
||||
rasapi32-RasGetConnectionStatistics)
|
||||
enable_rasapi32_RasGetConnectionStatistics="$2"
|
||||
;;
|
||||
riched20-Class_Tests)
|
||||
enable_riched20_Class_Tests="$2"
|
||||
;;
|
||||
@ -7567,6 +7571,18 @@ if test "$enable_quartz_Silence_FIXMEs" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset rasapi32-RasGetConnectionStatistics
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/rasapi32/rasapi.c, dlls/rasapi32/rasapi32.spec, include/raserror.h
|
||||
# |
|
||||
if test "$enable_rasapi32_RasGetConnectionStatistics" -eq 1; then
|
||||
patch_apply rasapi32-RasGetConnectionStatistics/0001-rasapi32-Add-stub-for-RasGetConnectionStatistics.patch
|
||||
(
|
||||
printf '%s\n' '+ { "Stanislav Motylkov", "rasapi32: Add stub for RasGetConnectionStatistics.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset riched20-Class_Tests
|
||||
# |
|
||||
# | Modified files:
|
||||
|
@ -0,0 +1,52 @@
|
||||
From 8cb902b407afef95cac06fbc52c42d5e481a610a Mon Sep 17 00:00:00 2001
|
||||
From: Stanislav Motylkov <x86corez@gmail.com>
|
||||
Date: Wed, 4 Oct 2017 23:46:35 +0300
|
||||
Subject: rasapi32: Add stub for RasGetConnectionStatistics
|
||||
|
||||
---
|
||||
dlls/rasapi32/rasapi.c | 6 ++++++
|
||||
dlls/rasapi32/rasapi32.spec | 1 +
|
||||
include/raserror.h | 1 +
|
||||
3 files changed, 8 insertions(+)
|
||||
|
||||
diff --git a/dlls/rasapi32/rasapi.c b/dlls/rasapi32/rasapi.c
|
||||
index b1721c61752..791b0dab133 100644
|
||||
--- a/dlls/rasapi32/rasapi.c
|
||||
+++ b/dlls/rasapi32/rasapi.c
|
||||
@@ -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;
|
||||
+}
|
||||
diff --git a/dlls/rasapi32/rasapi32.spec b/dlls/rasapi32/rasapi32.spec
|
||||
index 66b21a657cc..48d7a73dc87 100644
|
||||
--- a/dlls/rasapi32/rasapi32.spec
|
||||
+++ b/dlls/rasapi32/rasapi32.spec
|
||||
@@ -29,6 +29,7 @@
|
||||
@ stdcall RasGetAutodialEnableW(long ptr)
|
||||
@ stdcall RasGetAutodialParamA(long ptr ptr)
|
||||
@ stdcall RasGetAutodialParamW(long ptr ptr)
|
||||
+@ stdcall RasGetConnectionStatistics(ptr ptr)
|
||||
@ stub RasGetConnectResponse
|
||||
@ stdcall RasGetConnectStatusA(ptr ptr)
|
||||
@ stdcall RasGetConnectStatusW(ptr ptr)
|
||||
diff --git a/include/raserror.h b/include/raserror.h
|
||||
index 17359368780..549b42423cf 100644
|
||||
--- a/include/raserror.h
|
||||
+++ b/include/raserror.h
|
||||
@@ -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)
|
||||
|
||||
--
|
||||
2.14.1
|
||||
|
1
patches/rasapi32-RasGetConnectionStatistics/definition
Normal file
1
patches/rasapi32-RasGetConnectionStatistics/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: Implement stub for rasapi32.RasGetConnectionStatistics
|
Loading…
Reference in New Issue
Block a user