msctf: Return proper pointer to interface.

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-05 17:20:35 +03:00 committed by Alexandre Julliard
parent 1b04cf1e37
commit 7bcca927bc
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ static HRESULT ClassFactory_Constructor(LPFNCONSTRUCTOR ctor, LPVOID *ppvOut)
This->IClassFactory_iface.lpVtbl = &ClassFactoryVtbl;
This->ref = 1;
This->ctor = ctor;
*ppvOut = This;
*ppvOut = &This->IClassFactory_iface;
TRACE("Created class factory %p\n", This);
return S_OK;
}