From b70a79fc297f0ec1594d2a137d74b7591401c850 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Mon, 20 Jul 2015 22:50:34 +0000 Subject: [PATCH] [RASAPI32] Sync with Wine Staging 1.7.47. CORE-9924 svn path=/trunk/; revision=68493 --- reactos/dll/win32/rasapi32/rasapi.c | 2 ++ reactos/media/doc/README.WINE | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/reactos/dll/win32/rasapi32/rasapi.c b/reactos/dll/win32/rasapi32/rasapi.c index 5dc4b37daf9..20e94b38df5 100644 --- a/reactos/dll/win32/rasapi32/rasapi.c +++ b/reactos/dll/win32/rasapi32/rasapi.c @@ -256,6 +256,8 @@ DWORD WINAPI RasEnumDevicesA(LPRASDEVINFOA lpRasDevinfo, LPDWORD lpcb, LPDWORD l if(lpRasDevinfo && lpRasDevinfo->dwSize != sizeof(RASDEVINFOA)) return ERROR_INVALID_SIZE; + *lpcDevices = 1; + if (!lpRasDevinfo || (*lpcb < sizeof(RASDEVINFOA))) { *lpcb = sizeof(RASDEVINFOA); return ERROR_BUFFER_TOO_SMALL; diff --git a/reactos/media/doc/README.WINE b/reactos/media/doc/README.WINE index 7aa447ab076..d40c52850c3 100644 --- a/reactos/media/doc/README.WINE +++ b/reactos/media/doc/README.WINE @@ -162,7 +162,7 @@ reactos/dll/win32/pstorec # Synced to WineStaging-1.7.37 reactos/dll/win32/qmgr # Synced to WineStaging-1.7.47 reactos/dll/win32/qmgrprxy # Synced to WineStaging-1.7.47 reactos/dll/win32/query # Synced to WineStaging-1.7.37 -reactos/dll/win32/rasapi32 # Synced to WineStaging-1.7.37 +reactos/dll/win32/rasapi32 # Synced to WineStaging-1.7.47 reactos/dll/win32/resutils # Synced to WineStaging-1.7.37 reactos/dll/win32/riched20 # Synced to WineStaging-1.7.37 reactos/dll/win32/riched32 # Synced to WineStaging-1.7.37