Commit e53e798a authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

windowscodecs: Treat missing GUID list keys as empty.

parent 4c0ceace
......@@ -151,7 +151,12 @@ static HRESULT ComponentInfo_GetGuidList(HKEY classkey, LPCWSTR subkeyname,
return E_INVALIDARG;
ret = RegOpenKeyExW(classkey, subkeyname, 0, KEY_READ, &subkey);
if (ret != ERROR_SUCCESS) return HRESULT_FROM_WIN32(ret);
if (ret == ERROR_FILE_NOT_FOUND)
{
*actual_size = 0;
return S_OK;
}
else if (ret != ERROR_SUCCESS) return HRESULT_FROM_WIN32(ret);
if (buffer)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment