[OLE32] Sync with Wine Staging 1.9.4. CORE-10912
[reactos.git] / reactos / dll / win32 / ole32 / comcat.c
index a1fe995..bd66187 100644 (file)
@@ -229,7 +229,11 @@ static HRESULT COMCAT_IsClassOfCategories(
        if (res != ERROR_SUCCESS) return S_FALSE;
        for (string = impl_strings; *string; string += CHARS_IN_GUID) {
            HKEY catkey;
+#ifdef __REACTOS__
            res = open_classes_key(subkey, string, READ_CONTROL, &catkey);
+#else
+           res = open_classes_key(subkey, string, 0, &catkey);
+#endif
            if (res != ERROR_SUCCESS) {
                RegCloseKey(subkey);
                return S_FALSE;