mapi32: Properly return interface pointer.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-02-13 14:16:06 +03:00 committed by Alexandre Julliard
parent 4fdcc03cf8
commit d618c0fa00
1 changed files with 1 additions and 1 deletions

View File

@ -1513,7 +1513,7 @@ static WINAPI HRESULT 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;