msi: Return interface pointer instead of impl pointer.

This commit is contained in:
Nikolay Sivov 2015-03-21 00:24:47 +03:00 committed by Alexandre Julliard
parent 597515c074
commit 2478421d87
3 changed files with 3 additions and 3 deletions

View File

@ -1455,7 +1455,7 @@ HRESULT create_msi_custom_remote( IUnknown *pOuter, LPVOID *ppObj )
This->IWineMsiRemoteCustomAction_iface.lpVtbl = &msi_custom_remote_vtbl;
This->refs = 1;
*ppObj = This;
*ppObj = &This->IWineMsiRemoteCustomAction_iface;
return S_OK;
}

View File

@ -2020,7 +2020,7 @@ HRESULT create_msi_remote_database( IUnknown *pOuter, LPVOID *ppObj )
This->database = 0;
This->refs = 1;
*ppObj = This;
*ppObj = &This->IWineMsiRemoteDatabase_iface;
return S_OK;
}

View File

@ -2660,7 +2660,7 @@ HRESULT create_msi_remote_package( IUnknown *pOuter, LPVOID *ppObj )
This->package = 0;
This->refs = 1;
*ppObj = This;
*ppObj = &This->IWineMsiRemotePackage_iface;
return S_OK;
}