atl100: Added AtlSetPerUserRegistration stub implementation.
Jactry Zeng
jactry92 at gmail.com
Wed Mar 13 11:42:52 CDT 2013
For bug 33200.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130314/5952e69e/attachment.html>
-------------- next part --------------
From 53a88ca13f88763bebbb9885978effc2a9200c51 Mon Sep 17 00:00:00 2001
From: Jactry Zeng <jactry92 at gmail.com>
Date: Thu, 14 Mar 2013 00:36:14 +0800
Subject: atl100: Added AtlSetPerUserRegistration stub implementation.
To: wine-patches <wine-patches at winehq.org>
Reply-To: wine-devel <wine-devel at winehq.org>
---
dlls/atl100/atl.c | 9 +++++++++
dlls/atl100/atl100.spec | 2 +-
include/atlbase.h | 1 +
3 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/dlls/atl100/atl.c b/dlls/atl100/atl.c
index ebb47a1..774d158 100644
--- a/dlls/atl100/atl.c
+++ b/dlls/atl100/atl.c
@@ -743,6 +743,15 @@ HRESULT WINAPI AtlGetObjectSourceInterface(IUnknown *unk, GUID *libid, IID *iid,
}
/***********************************************************************
+ * AtlSetPerUserRegistration [atl100.67]
+ */
+HRESULT WINAPI AtlSetPerUserRegistration(cpp_bool bEnable)
+{
+ FIXME("stub: bEnable: %d\n", bEnable);
+ return E_NOTIMPL;
+}
+
+/***********************************************************************
* AtlGetPerUserRegistration [atl100.68]
*/
HRESULT WINAPI AtlGetPerUserRegistration(cpp_bool *pbEnabled)
diff --git a/dlls/atl100/atl100.spec b/dlls/atl100/atl100.spec
index fa5d251..183ab7b 100644
--- a/dlls/atl100/atl100.spec
+++ b/dlls/atl100/atl100.spec
@@ -48,5 +48,5 @@
64 stdcall AtlCallTermFunc(ptr)
65 stdcall AtlWinModuleInit(ptr)
66 stub AtlWinModuleTerm
-67 stub AtlSetPerUserRegistration
+67 stdcall AtlSetPerUserRegistration(long)
68 stdcall AtlGetPerUserRegistration(ptr)
diff --git a/include/atlbase.h b/include/atlbase.h
index 1036b10..1f91f55 100644
--- a/include/atlbase.h
+++ b/include/atlbase.h
@@ -259,6 +259,7 @@ HRESULT WINAPI AtlComModuleRegisterClassObjects(_ATL_COM_MODULE*,DWORD,DWORD);
HRESULT WINAPI AtlComModuleUnregisterServer(_ATL_COM_MODULE*,BOOL,const CLSID*);
BOOL WINAPI AtlWaitWithMessageLoop(HANDLE);
HRESULT WINAPI AtlGetObjectSourceInterface(IUnknown*,GUID*,IID*,unsigned short*,unsigned short*);
+HRESULT WINAPI AtlSetPerUserRegistration(unsigned char /*bool*/);
HRESULT WINAPI AtlGetPerUserRegistration(unsigned char /*bool*/ *);
#endif /* __WINE_ATLBASE_H__ */
--
1.7.9.5
More information about the wine-patches
mailing list