Commit d618c0fa authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mapi32: Properly return interface pointer.

parent 4fdcc03c
...@@ -1513,7 +1513,7 @@ static WINAPI HRESULT IPropData_fnQueryInterface(LPPROPDATA iface, REFIID riid, ...@@ -1513,7 +1513,7 @@ static WINAPI HRESULT IPropData_fnQueryInterface(LPPROPDATA iface, REFIID riid,
IsEqualIID(riid, &IID_IMAPIProp) || IsEqualIID(riid, &IID_IMAPIProp) ||
IsEqualIID(riid, &IID_IMAPIPropData)) IsEqualIID(riid, &IID_IMAPIPropData))
{ {
*ppvObj = This; *ppvObj = &This->IPropData_iface;
IPropData_AddRef(iface); IPropData_AddRef(iface);
TRACE("returning %p\n", *ppvObj); TRACE("returning %p\n", *ppvObj);
return S_OK; return S_OK;
......
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