mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[AVIFIL32] Sync with Wine Staging 1.9.11. CORE-11368
svn path=/trunk/; revision=71538
This commit is contained in:
parent
a34061d674
commit
198d18e749
2 changed files with 7 additions and 5 deletions
|
@ -1014,14 +1014,16 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
|
|||
return AVIERR_ERROR;
|
||||
}
|
||||
for (n = 0;RegEnumKeyW(hKey, n, szFileExt, sizeof(szFileExt)/sizeof(szFileExt[0])) == ERROR_SUCCESS;n++) {
|
||||
WCHAR clsidW[40];
|
||||
|
||||
/* get CLSID to extension */
|
||||
size = sizeof(szValue);
|
||||
if (RegQueryValueW(hKey, szFileExt, szValue, &size) != ERROR_SUCCESS)
|
||||
size = sizeof(clsidW);
|
||||
if (RegQueryValueW(hKey, szFileExt, clsidW, &size) != ERROR_SUCCESS)
|
||||
break;
|
||||
|
||||
/* search if the CLSID is already known */
|
||||
for (i = 1; i <= count; i++) {
|
||||
if (lstrcmpW(lp[i].szClsid, szValue) == 0)
|
||||
if (lstrcmpW(lp[i].szClsid, clsidW) == 0)
|
||||
break; /* a new one */
|
||||
}
|
||||
|
||||
|
@ -1036,7 +1038,7 @@ HRESULT WINAPI AVIBuildFilterW(LPWSTR szFilter, LONG cbFilter, BOOL fSaving)
|
|||
break;
|
||||
}
|
||||
|
||||
lstrcpyW(lp[i].szClsid, szValue);
|
||||
lstrcpyW(lp[i].szClsid, clsidW);
|
||||
|
||||
count++;
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@ reactos/dll/win32/advpack # Synced to WineStaging-1.9.4
|
|||
reactos/dll/win32/atl # Synced to WineStaging-1.9.4
|
||||
reactos/dll/win32/atl80 # Synced to WineStaging-1.9.4
|
||||
reactos/dll/win32/atl100 # Synced to WineStaging-1.9.4
|
||||
reactos/dll/win32/avifil32 # Synced to WineStaging-1.9.4
|
||||
reactos/dll/win32/avifil32 # Synced to WineStaging-1.9.11
|
||||
reactos/dll/win32/bcrypt # Synced to WineStaging-1.9.4
|
||||
reactos/dll/win32/browseui # Out of sync
|
||||
reactos/dll/win32/cabinet # Synced to WineStaging-1.9.4
|
||||
|
|
Loading…
Reference in a new issue