mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 20:10:18 +00:00
shell32: Use FAILED instead of !SUCCEEDED.
This commit is contained in:
parent
ade553823d
commit
6a11b63a80
@ -1808,7 +1808,7 @@ HPSXA WINAPI SHCreatePropSheetExtArrayEx(HKEY hKey, LPCWSTR pszSubKey, UINT max_
|
||||
}
|
||||
|
||||
/* The CLSID is stored either in the key itself or in its default value. */
|
||||
if (!SUCCEEDED(lRet = SHCLSIDFromStringW(szHandler, &clsid)))
|
||||
if (FAILED(lRet = SHCLSIDFromStringW(szHandler, &clsid)))
|
||||
{
|
||||
dwClsidSize = sizeof(szClsidHandler);
|
||||
if (SHGetValueW(hkPropSheetHandlers, szHandler, NULL, NULL, szClsidHandler, &dwClsidSize) == ERROR_SUCCESS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user