[SHELL32] CDrivesFolder: Implement the eject and disconnect menu items. CORE-13841
[reactos.git] / dll / win32 / mapi32 / prop.c
index 6128a60..1e323b1 100644 (file)
@@ -1501,7 +1501,7 @@ static HRESULT WINAPI IPropData_fnQueryInterface(LPPROPDATA iface, REFIID riid,
        IsEqualIID(riid, &IID_IMAPIProp) ||
        IsEqualIID(riid, &IID_IMAPIPropData))
     {
-        *ppvObj = This;
+        *ppvObj = &This->IPropData_iface;
         IPropData_AddRef(iface);
         TRACE("returning %p\n", *ppvObj);
         return S_OK;
@@ -1623,7 +1623,7 @@ static HRESULT WINAPI IPropData_fnSaveChanges(LPPROPDATA iface, ULONG ulFlags)
  *
  * PARAMS
  *  iface    [I] IMAPIProp object to get the property values from
- *  lpTags   [I] Property tage of property values to be retrieved
+ *  lpTags   [I] Property tags of property values to be retrieved
  *  ulFlags  [I] Return 0=Ascii MAPI_UNICODE=Unicode strings for
  *                 unspecified types
  *  lpCount  [O] Destination for number of properties returned