mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 13:11:22 +00:00
[MPR] Sync with Wine Staging 3.17. CORE-15127
This commit is contained in:
parent
bcad6700ec
commit
e02f3356b1
2 changed files with 5 additions and 5 deletions
|
@ -139,9 +139,8 @@ static void _tryLoadProvider(PCWSTR provider)
|
|||
HKEY hKey;
|
||||
|
||||
TRACE("%s\n", debugstr_w(provider));
|
||||
snprintfW(serviceName, sizeof(serviceName) / sizeof(WCHAR), serviceFmt,
|
||||
servicePrefix, provider);
|
||||
serviceName[sizeof(serviceName) / sizeof(WCHAR) - 1] = '\0';
|
||||
snprintfW(serviceName, ARRAY_SIZE(serviceName), serviceFmt, servicePrefix, provider);
|
||||
serviceName[ARRAY_SIZE(serviceName) - 1] = '\0';
|
||||
if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, serviceName, 0, KEY_READ, &hKey) ==
|
||||
ERROR_SUCCESS)
|
||||
{
|
||||
|
@ -2373,7 +2372,7 @@ DWORD WINAPI WNetGetConnectionA( LPCSTR lpLocalName,
|
|||
if (wideLocalName)
|
||||
{
|
||||
WCHAR wideRemoteStatic[MAX_PATH];
|
||||
DWORD wideRemoteSize = sizeof(wideRemoteStatic) / sizeof(WCHAR);
|
||||
DWORD wideRemoteSize = ARRAY_SIZE(wideRemoteStatic);
|
||||
|
||||
MultiByteToWideChar(CP_ACP, 0, lpLocalName, -1, wideLocalName, len);
|
||||
|
||||
|
@ -2659,6 +2658,7 @@ DWORD WINAPI WNetGetUniversalNameW ( LPCWSTR lpLocalPath, DWORD dwInfoLevel,
|
|||
size = sizeof(*info) + (lstrlenW(lpLocalPath) + 1) * sizeof(WCHAR);
|
||||
if (*lpBufferSize < size)
|
||||
{
|
||||
*lpBufferSize = size;
|
||||
err = WN_MORE_DATA;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -98,7 +98,7 @@ reactos/dll/win32/mciwave # Synced to WineStaging-3.3
|
|||
reactos/dll/win32/mgmtapi # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/mlang # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/mmdevapi # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/mpr # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/mpr # Synced to WineStaging-3.17
|
||||
reactos/dll/win32/mprapi # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/msacm32 # Synced to WineStaging-3.3
|
||||
reactos/dll/win32/msacm32.drv # Synced to WineStaging-3.3
|
||||
|
|
Loading…
Reference in a new issue