[PATCH v9 3/7] wdscore: Add ConstructPartialMsgVW stub.

Mohamad Al-Jaf mohamadaljaf at gmail.com
Tue Mar 15 23:58:42 CDT 2022


Needed for the Windows MediaCreationTool21H2 to run.

Signed-off-by: Mohamad Al-Jaf <mohamadaljaf at gmail.com>
---
 dlls/wdscore/main.c       |  9 +++++++++
 dlls/wdscore/wdscore.spec |  2 +-
 include/wdscore.h         | 12 ++++++++++++
 3 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/dlls/wdscore/main.c b/dlls/wdscore/main.c
index bf3e11131c7..828e8c2451d 100644
--- a/dlls/wdscore/main.c
+++ b/dlls/wdscore/main.c
@@ -53,3 +53,12 @@ LPVOID CurrentIP(void)
     return NULL;
 }
 #endif
+
+/***********************************************************************
+ *           ConstructPartialMsgVW (wdscore.@)
+ */
+LPVOID WINAPI ConstructPartialMsgVW( WdsLogLevel level, LPCWSTR msg, va_list args )
+{
+    FIXME( "%u %s - stub\n", level, debugstr_w(msg) );
+    return NULL;
+}
diff --git a/dlls/wdscore/wdscore.spec b/dlls/wdscore/wdscore.spec
index c292f65505b..4690fb3badd 100644
--- a/dlls/wdscore/wdscore.spec
+++ b/dlls/wdscore/wdscore.spec
@@ -70,7 +70,7 @@
 @ stub ConstructPartialMsgIfA
 @ stub ConstructPartialMsgIfW
 @ stub ConstructPartialMsgVA
-@ stub ConstructPartialMsgVW
+@ stdcall ConstructPartialMsgVW(long wstr ptr)
 @ cdecl CurrentIP()
 @ stub EndMajorTask
 @ stub EndMinorTask
diff --git a/include/wdscore.h b/include/wdscore.h
index 8888247e347..36e3a216649 100644
--- a/include/wdscore.h
+++ b/include/wdscore.h
@@ -23,7 +23,19 @@
 extern "C" {
 #endif
 
+typedef enum _WdsLogLevel {
+    WdsLogLevelAssert     = 0x00000000,
+    WdsLogLevelFatalError = 0x01000000,
+    WdsLogLevelError      = 0x02000000,
+    WdsLogLevelWarning    = 0x03000000,
+    WdsLogLevelInfo       = 0x04000000,
+    WdsLogLevelStatus     = 0x05000000,
+    WdsLogLevelVerbose    = 0x68000000,
+    WdsLogLevelTrace      = 0x70000000
+} WdsLogLevel;
+
 LPVOID CurrentIP(void);
+LPVOID  WINAPI ConstructPartialMsgVW(WdsLogLevel,LPCWSTR,va_list);
 
 #ifdef __cplusplus
 }
-- 
2.35.1




More information about the wine-devel mailing list