Add stub for GetClassObject function.

This commit is contained in:
Jason Edmeades 2005-03-07 11:02:31 +00:00 committed by Alexandre Julliard
parent 2565f7311c
commit 9f81a801c2
2 changed files with 14 additions and 1 deletions

View File

@ -1,5 +1,5 @@
1 stub DllCanUnloadNow
2 stub DllGetClassObject
2 stdcall -private DllGetClassObject(ptr ptr ptr) ATL_DllGetClassObject
3 stdcall -private DllRegisterServer() ATL_DllRegisterServer
4 stdcall -private DllUnregisterServer() ATL_DllUnregisterServer
10 stdcall AtlAdvise(ptr ptr ptr ptr)

View File

@ -554,3 +554,16 @@ HRESULT WINAPI ATL_DllUnregisterServer(void)
hr = unregister_interfaces(interface_list);
return hr;
}
/***********************************************************************
* DllGetClassObject (ATL.@)
*/
HRESULT WINAPI ATL_DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
{
if (IsEqualCLSID (rclsid, &CLSID_ATLRegistrar)) {
FIXME("No COM Class for ATLRegistrar\n");
return CLASS_E_CLASSNOTAVAILABLE;
}
FIXME("(%s, %s, %p): no interface found.\n", debugstr_guid(rclsid), debugstr_guid(riid), ppv);
return CLASS_E_CLASSNOTAVAILABLE;
}