Jactry Zeng : atl100: Added AtlSetPerUserRegistration stub implementation.

Alexandre Julliard julliard at winehq.org
Thu Mar 14 14:55:05 CDT 2013


Module: wine
Branch: master
Commit: 50e323502eba519c1d1d45bf33857646dee406a5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=50e323502eba519c1d1d45bf33857646dee406a5

Author: Jactry Zeng <jactry92 at gmail.com>
Date:   Thu Mar 14 00:36:14 2013 +0800

atl100: Added AtlSetPerUserRegistration stub implementation.

---

 dlls/atl100/atl.c       |    9 +++++++++
 dlls/atl100/atl100.spec |    2 +-
 include/atlbase.h       |    1 +
 3 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/dlls/atl100/atl.c b/dlls/atl100/atl.c
index ebb47a1..0e21963 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__ */




More information about the wine-cvs mailing list