Rob Shearman : mapi32: Add a stub for DllGetClassObject.
Alexandre Julliard
julliard at winehq.org
Fri Nov 16 08:31:19 CST 2007
Module: wine
Branch: master
Commit: c835703ff7c2bf205e3f603c35b2bae8ddedcc33
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c835703ff7c2bf205e3f603c35b2bae8ddedcc33
Author: Rob Shearman <rob at codeweavers.com>
Date: Thu Nov 15 18:50:19 2007 +0000
mapi32: Add a stub for DllGetClassObject.
---
dlls/mapi32/mapi32.spec | 2 +-
dlls/mapi32/mapi32_main.c | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/dlls/mapi32/mapi32.spec b/dlls/mapi32/mapi32.spec
index 7292e52..bf97415 100644
--- a/dlls/mapi32/mapi32.spec
+++ b/dlls/mapi32/mapi32.spec
@@ -16,7 +16,7 @@
24 stub PRProviderInit
25 stub LAUNCHWIZARD
26 stub LaunchWizard at 20
- 27 stub DllGetClassObject
+ 27 stdcall -private DllGetClassObject(ptr ptr ptr)
28 stdcall -private DllCanUnloadNow()
29 stub MAPIOpenFormMgr
30 stub MAPIOpenFormMgr at 8
diff --git a/dlls/mapi32/mapi32_main.c b/dlls/mapi32/mapi32_main.c
index a985ac6..edfa326 100644
--- a/dlls/mapi32/mapi32_main.c
+++ b/dlls/mapi32/mapi32_main.c
@@ -53,6 +53,16 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
}
/***********************************************************************
+ * DllGetClassObject (MAPI32.27)
+ */
+HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
+{
+ *ppv = NULL;
+ FIXME("\n\tCLSID:\t%s,\n\tIID:\t%s\n", debugstr_guid(rclsid), debugstr_guid(iid));
+ return CLASS_E_CLASSNOTAVAILABLE;
+}
+
+/***********************************************************************
* DllCanUnloadNow (MAPI32.28)
*
* Determine if this dll can be unloaded from the callers address space.
More information about the wine-cvs
mailing list