Hans Leidekker : advapi32: Add a stub implementation of RegisterWaitChainCOMCallback.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 3 14:52:36 CDT 2015


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Mon Aug  3 11:26:33 2015 +0200

advapi32: Add a stub implementation of RegisterWaitChainCOMCallback.

---

 dlls/advapi32/advapi.c      | 10 ++++++++++
 dlls/advapi32/advapi32.spec |  2 +-
 include/Makefile.in         |  1 +
 include/wct.h               | 27 +++++++++++++++++++++++++++
 4 files changed, 39 insertions(+), 1 deletion(-)

diff --git a/dlls/advapi32/advapi.c b/dlls/advapi32/advapi.c
index 646be59..748a5df 100644
--- a/dlls/advapi32/advapi.c
+++ b/dlls/advapi32/advapi.c
@@ -30,6 +30,7 @@
 #include "winternl.h"
 #include "winerror.h"
 #include "wincred.h"
+#include "wct.h"
 
 #include "wine/library.h"
 #include "wine/unicode.h"
@@ -321,3 +322,12 @@ DWORD WINAPI CommandLineFromMsiDescriptor( WCHAR *szDescriptor,
     FreeLibrary( hmsi );
     return r;
 }
+
+/***********************************************************************
+ *      RegisterWaitChainCOMCallback (ole32.@)
+ */
+void WINAPI RegisterWaitChainCOMCallback(PCOGETCALLSTATE call_state_cb,
+                                         PCOGETACTIVATIONSTATE activation_state_cb)
+{
+    FIXME("%p, %p\n", call_state_cb, activation_state_cb);
+}
diff --git a/dlls/advapi32/advapi32.spec b/dlls/advapi32/advapi32.spec
index ec27440..8b1c0d5 100644
--- a/dlls/advapi32/advapi32.spec
+++ b/dlls/advapi32/advapi32.spec
@@ -609,7 +609,7 @@
 @ stdcall RegGetKeySecurity(long long ptr ptr)
 @ stdcall RegGetValueA(long str str long ptr ptr ptr)
 @ stdcall RegGetValueW(long wstr wstr long ptr ptr ptr)
-# @ stub RegisterWaitChainCOMCallback
+@ stdcall RegisterWaitChainCOMCallback(ptr ptr)
 # @ stub RegLoadAppKeyA
 # @ stub RegLoadAppKeyW
 @ stdcall RegLoadKeyA(long str str)
diff --git a/include/Makefile.in b/include/Makefile.in
index f829712..2431895 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -599,6 +599,7 @@ SRCDIR_INCLUDES = \
 	vsstyle.h \
 	vssym32.h \
 	vswriter.h \
+	wct.h \
 	webservices.h \
 	werapi.h \
 	wfext.h \
diff --git a/include/wct.h b/include/wct.h
new file mode 100644
index 0000000..0cef59d
--- /dev/null
+++ b/include/wct.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2015 Hans Leidekker for CodeWeavers
+ *
+ * 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
+ */
+
+#ifndef __WINE_WCT_H
+#define __WINE_WCT_H
+
+typedef HRESULT (WINAPI *PCOGETCALLSTATE)(int,PULONG);
+typedef HRESULT (WINAPI *PCOGETACTIVATIONSTATE)(GUID,DWORD,DWORD*);
+
+void WINAPI RegisterWaitChainCOMCallback(PCOGETCALLSTATE,PCOGETACTIVATIONSTATE);
+
+#endif /* __WINE_WCT_H */




More information about the wine-cvs mailing list