Alex Henrie : combase: Add RoGetParameterizedTypeInstanceIID stub.
Alexandre Julliard
julliard at winehq.org
Fri Nov 17 16:02:18 CST 2017
Module: wine
Branch: master
Commit: bd70d8c951422e32f247b268cd72670382ff54a1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bd70d8c951422e32f247b268cd72670382ff54a1
Author: Alex Henrie <alexhenrie24 at gmail.com>
Date: Fri Nov 17 10:43:24 2017 -0700
combase: Add RoGetParameterizedTypeInstanceIID stub.
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
.../api-ms-win-core-winrt-roparameterizediid-l1-1-0.spec | 2 +-
dlls/combase/Makefile.in | 2 +-
dlls/combase/combase.spec | 2 +-
dlls/combase/roapi.c | 14 ++++++++++++++
4 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0/api-ms-win-core-winrt-roparameterizediid-l1-1-0.spec b/dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0/api-ms-win-core-winrt-roparameterizediid-l1-1-0.spec
index 9fb16ab..68db3e9 100644
--- a/dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0/api-ms-win-core-winrt-roparameterizediid-l1-1-0.spec
+++ b/dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0/api-ms-win-core-winrt-roparameterizediid-l1-1-0.spec
@@ -1,3 +1,3 @@
@ stub RoFreeParameterizedTypeExtra
-@ stub RoGetParameterizedTypeInstanceIID
+@ stdcall RoGetParameterizedTypeInstanceIID(long ptr ptr ptr ptr) combase.RoGetParameterizedTypeInstanceIID
@ stub RoParameterizedTypeExtraGetTypeSignature
diff --git a/dlls/combase/Makefile.in b/dlls/combase/Makefile.in
index c5ab8d2..b1d759e 100644
--- a/dlls/combase/Makefile.in
+++ b/dlls/combase/Makefile.in
@@ -1,5 +1,5 @@
MODULE = combase.dll
-IMPORTS = ole32
+IMPORTS = ole32 uuid
C_SRCS = \
roapi.c \
diff --git a/dlls/combase/combase.spec b/dlls/combase/combase.spec
index 493e796..c238eb8 100644
--- a/dlls/combase/combase.spec
+++ b/dlls/combase/combase.spec
@@ -253,7 +253,7 @@
@ stub RoGetApartmentIdentifier
@ stub RoGetErrorReportingFlags
@ stub RoGetMatchingRestrictedErrorInfo
-@ stub RoGetParameterizedTypeInstanceIID
+@ stdcall RoGetParameterizedTypeInstanceIID(long ptr ptr ptr ptr)
@ stub RoGetServerActivatableClasses
@ stdcall RoInitialize(long)
@ stub RoInspectCapturedStackBackTrace
diff --git a/dlls/combase/roapi.c b/dlls/combase/roapi.c
index a2dfd54..a2d62520 100644
--- a/dlls/combase/roapi.c
+++ b/dlls/combase/roapi.c
@@ -18,6 +18,7 @@
#include "objbase.h"
#include "roapi.h"
+#include "roparameterizediid.h"
#include "hstring.h"
#include "wine/debug.h"
@@ -55,3 +56,16 @@ HRESULT WINAPI RoGetActivationFactory(HSTRING classid, REFIID iid, void **factor
FIXME("stub: %p %p %p\n", classid, iid, factory);
return E_NOTIMPL;
}
+
+/***********************************************************************
+ * RoGetParameterizedTypeInstanceIID (combase.@)
+ */
+HRESULT WINAPI RoGetParameterizedTypeInstanceIID(UINT32 name_element_count, const WCHAR **name_elements,
+ const IRoMetaDataLocator *meta_data_locator, GUID *iid,
+ ROPARAMIIDHANDLE *hiid)
+{
+ FIXME("stub: %d %p %p %p %p\n", name_element_count, name_elements, meta_data_locator, iid, hiid);
+ if (iid) *iid = GUID_NULL;
+ if (hiid) *hiid = INVALID_HANDLE_VALUE;
+ return E_NOTIMPL;
+}
More information about the wine-cvs
mailing list