tdh: Stub TdhLoadManifest.

Vincent Povirk vincent at codeweavers.com
Wed Nov 8 16:11:02 CST 2017


Signed-off-by: Vincent Povirk <vincent at codeweavers.com>
---
This is used by the Office 2016 installer.

 dlls/tdh/tdh.spec   | 2 +-
 dlls/tdh/tdh_main.c | 9 +++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/dlls/tdh/tdh.spec b/dlls/tdh/tdh.spec
index 87028020772..0e7c5a5995a 100644
--- a/dlls/tdh/tdh.spec
+++ b/dlls/tdh/tdh.spec
@@ -21,7 +21,7 @@
 @ stub TdhGetPropertySize
 @ stub TdhGetWppMessage
 @ stub TdhGetWppProperty
-@ stub TdhLoadManifest
+@ stdcall TdhLoadManifest(wstr)
 @ stub TdhLoadManifestFromBinary
 @ stub TdhOpenDecodingHandle
 @ stub TdhQueryProviderFieldInformation
diff --git a/dlls/tdh/tdh_main.c b/dlls/tdh/tdh_main.c
index 5e104874a31..3a992942d1f 100644
--- a/dlls/tdh/tdh_main.c
+++ b/dlls/tdh/tdh_main.c
@@ -20,8 +20,11 @@
 
 #include <stdarg.h>
 
+#include "ntstatus.h"
+#define WIN32_NO_STATUS
 #include "windef.h"
 #include "winbase.h"
+#include "winternl.h"
 #include "wine/debug.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(tdh);
@@ -41,3 +44,9 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
 
     return TRUE;
 }
+
+ULONG WINAPI TdhLoadManifest(LPWSTR Manifest)
+{
+    FIXME("(%s): stub\n", debugstr_w(Manifest));
+    return STATUS_SUCCESS;
+}
-- 
2.11.0




More information about the wine-patches mailing list