Updated dxdiag-new-dlls patchset

This commit is contained in:
Alistair Leslie-Hughes 2020-12-27 10:02:58 +11:00
parent 4462586c80
commit f40763d8a5
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,45 @@
From a615211907b65642807cdad546a0eaf12e39f43c Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Date: Sun, 27 Dec 2020 09:57:46 +1100
Subject: [PATCH] dpmodemx: Add stub SPInit
---
dlls/dpmodemx/dpmodemx.spec | 2 +-
dlls/dpmodemx/dpmodemx_main.c | 8 ++++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/dlls/dpmodemx/dpmodemx.spec b/dlls/dpmodemx/dpmodemx.spec
index 14fb05053a8..e3beb3f8cc7 100644
--- a/dlls/dpmodemx/dpmodemx.spec
+++ b/dlls/dpmodemx/dpmodemx.spec
@@ -1 +1 @@
-@ stub SPInit
\ No newline at end of file
+@ stdcall SPInit(ptr)
\ No newline at end of file
diff --git a/dlls/dpmodemx/dpmodemx_main.c b/dlls/dpmodemx/dpmodemx_main.c
index f5d7a8340ca..5d322783b40 100644
--- a/dlls/dpmodemx/dpmodemx_main.c
+++ b/dlls/dpmodemx/dpmodemx_main.c
@@ -23,6 +23,8 @@
#include "winbase.h"
#include "wine/debug.h"
+#include "wine/dplaysp.h"
+
WINE_DEFAULT_DEBUG_CHANNEL(dpmodemx);
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
@@ -40,3 +42,9 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
return TRUE;
}
+
+HRESULT WINAPI SPInit( LPSPINITDATA lpspData )
+{
+ FIXME("Currently not implemented.\n");
+ return DPERR_UNAVAILABLE;
+}
--
2.29.2

View File

@ -2441,6 +2441,7 @@ if test "$enable_dxdiag_new_dlls" -eq 1; then
patch_apply dxdiag-new-dlls/0013-gcdef-add-stub-dll.patch
patch_apply dxdiag-new-dlls/0014-qdv-add-stub-dll.patch
patch_apply dxdiag-new-dlls/0015-qedwipes-add-stub-dll.patch
patch_apply dxdiag-new-dlls/0016-dpmodemx-Add-stub-SPInit.patch
fi
# Patchset ntdll-DOS_Attributes