Module: wine
Branch: master
Commit: 7bffd907908a18a16b34d16245c817ec0d605d53
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7bffd907908a18a16b34d1624…
Author: Stefan Leichter <Stefan.Leichter(a)camline.com>
Date: Wed Apr 4 22:31:02 2012 +0200
atl80: Add stub for AtlCreateRegistrar.
---
dlls/atl80/Makefile.in | 2 ++
dlls/atl80/atl80.c | 31 +++++++++++++++++++++++++++++++
dlls/atl80/atl80.spec | 2 +-
3 files changed, 34 insertions(+), 1 deletions(-)
diff --git a/dlls/atl80/Makefile.in b/dlls/atl80/Makefile.in
index d144f83..c310fdb 100644
--- a/dlls/atl80/Makefile.in
+++ b/dlls/atl80/Makefile.in
@@ -1,3 +1,5 @@
MODULE = atl80.dll
+C_SRCS = atl80.c
+
@MAKE_DLL_RULES@
diff --git a/dlls/atl80/atl80.c b/dlls/atl80/atl80.c
new file mode 100644
index 0000000..ab1a5ab
--- /dev/null
+++ b/dlls/atl80/atl80.c
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2012 Stefan Leichter
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#include <stdarg.h>
+#include "windef.h"
+#include "winbase.h"
+#include "atliface.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(atl80);
+
+HRESULT WINAPI AtlCreateRegistrar(IRegistrar** ppReg)
+{
+ FIXME("(%p) stub\n", ppReg);
+ return E_NOTIMPL;
+}
diff --git a/dlls/atl80/atl80.spec b/dlls/atl80/atl80.spec
index d2b0cff..7035991 100644
--- a/dlls/atl80/atl80.spec
+++ b/dlls/atl80/atl80.spec
@@ -48,7 +48,7 @@
58 stdcall AtlModuleAddTermFunc(ptr ptr long) atl.AtlModuleAddTermFunc
59 stub AtlAxCreateControlLic
60 stub AtlAxCreateControlLicEx
-61 stub AtlCreateRegistrar
+61 stdcall AtlCreateRegistrar(ptr)
62 stub AltWinModuleRegisterClassExW
63 stub AltWinModuleRegisterClassExA
64 stub AltCallTermFunc