Commit c63d21bf authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Implement IClassFactory->QueryInterface() for the msi server dll.

parent d316c197
......@@ -59,7 +59,7 @@ static void UnlockModule(void)
}
/******************************************************************
* DllMain
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
......@@ -78,8 +78,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE;
}
typedef struct tagIClassFactoryImpl
{
typedef struct tagIClassFactoryImpl {
const IClassFactoryVtbl *lpVtbl;
} IClassFactoryImpl;
......@@ -87,7 +86,16 @@ static HRESULT WINAPI MsiCF_QueryInterface(LPCLASSFACTORY iface,
REFIID riid,LPVOID *ppobj)
{
IClassFactoryImpl *This = (IClassFactoryImpl *)iface;
FIXME("%p %s %p\n",This,debugstr_guid(riid),ppobj);
TRACE("%p %s %p\n",This,debugstr_guid(riid),ppobj);
if( IsEqualCLSID( riid, &IID_IUnknown ) ||
IsEqualCLSID( riid, &IID_IClassFactory ) )
{
IClassFactory_AddRef( iface );
*ppobj = iface;
return S_OK;
}
return E_NOINTERFACE;
}
......
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