Sync with trunk revision 63128.
[reactos.git] / dll / win32 / propsys / propsys_main.c
index 7a4cd61..48f7f44 100644 (file)
@@ -146,6 +146,12 @@ HRESULT WINAPI PSGetPropertyDescription(REFPROPERTYKEY propkey, REFIID riid, voi
     return E_NOTIMPL;
 }
 
+HRESULT WINAPI PSGetPropertyDescriptionListFromString(LPCWSTR proplist, REFIID riid, void **ppv)
+{
+    FIXME("%s, %p, %p\n", debugstr_w(proplist), riid, ppv);
+    return E_NOTIMPL;
+}
+
 HRESULT WINAPI PSRefreshPropertySchema(void)
 {
     FIXME("\n");
@@ -302,7 +308,7 @@ static BOOL string_to_guid(LPCWSTR s, LPGUID id)
 
 HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
 {
-    int has_minus = 0, has_comma = 0;
+    BOOL has_minus = FALSE, has_comma = FALSE;
 
     TRACE("(%s, %p)\n", debugstr_w(pszString), pkey);
 
@@ -328,7 +334,7 @@ HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
             if (has_comma)
                 return S_OK;
             else
-                has_comma = 1;
+                has_comma = TRUE;
         }
         pszString++;
     }
@@ -344,7 +350,7 @@ HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
     {
         if (*pszString == '-')
         {
-            has_minus = 1;
+            has_minus = TRUE;
             pszString++;
         }
     }
@@ -359,7 +365,7 @@ HRESULT WINAPI PSPropertyKeyFromString(LPCWSTR pszString, PROPERTYKEY *pkey)
 
         if (*pszString == '-')
         {
-            has_minus = 1;
+            has_minus = TRUE;
             pszString++;
         }