mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Added patch for setupapi.CM_Get_DevNode_Status stub implementation.
This commit is contained in:
parent
749dc37048
commit
bd04bf9ac0
@ -292,6 +292,7 @@ patch_enable_all ()
|
||||
enable_server_Signal_Thread="$1"
|
||||
enable_server_Stored_ACLs="$1"
|
||||
enable_server_Timestamp_Compat="$1"
|
||||
enable_setupapi_CM_Get_DevNode_Status="$1"
|
||||
enable_setupapi_DelReg="$1"
|
||||
enable_setupapi_DiskSpaceList="$1"
|
||||
enable_setupapi_Display_Device="$1"
|
||||
@ -1054,6 +1055,9 @@ patch_enable ()
|
||||
server-Timestamp_Compat)
|
||||
enable_server_Timestamp_Compat="$2"
|
||||
;;
|
||||
setupapi-CM_Get_DevNode_Status)
|
||||
enable_setupapi_CM_Get_DevNode_Status="$2"
|
||||
;;
|
||||
setupapi-DelReg)
|
||||
enable_setupapi_DelReg="$2"
|
||||
;;
|
||||
@ -6134,6 +6138,21 @@ if test "$enable_server_Timestamp_Compat" -eq 1; then
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset setupapi-CM_Get_DevNode_Status
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
# | * [#40691] Add stub for setupapi.CM_Get_DevNode_Status
|
||||
# |
|
||||
# | Modified files:
|
||||
# | * dlls/setupapi/setupapi.spec, dlls/setupapi/stubs.c
|
||||
# |
|
||||
if test "$enable_setupapi_CM_Get_DevNode_Status" -eq 1; then
|
||||
patch_apply setupapi-CM_Get_DevNode_Status/0001-setupapi-Add-stub-for-CM_Get_DevNode_Status.patch
|
||||
(
|
||||
echo '+ { "Michael Müller", "setupapi: Add stub for CM_Get_DevNode_Status.", 1 },';
|
||||
) >> "$patchlist"
|
||||
fi
|
||||
|
||||
# Patchset setupapi-DelReg
|
||||
# |
|
||||
# | This patchset fixes the following Wine bugs:
|
||||
|
@ -0,0 +1,46 @@
|
||||
From 7bbe4b6020cf88e761d539e4617e3d554d50c47f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michael=20M=C3=BCller?= <michael@fds-team.de>
|
||||
Date: Fri, 27 May 2016 02:54:32 +0200
|
||||
Subject: setupapi: Add stub for CM_Get_DevNode_Status.
|
||||
|
||||
---
|
||||
dlls/setupapi/setupapi.spec | 2 +-
|
||||
dlls/setupapi/stubs.c | 9 +++++++++
|
||||
2 files changed, 10 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
|
||||
index 9bfaadd..cc04882 100644
|
||||
--- a/dlls/setupapi/setupapi.spec
|
||||
+++ b/dlls/setupapi/setupapi.spec
|
||||
@@ -71,7 +71,7 @@
|
||||
@ stdcall CM_Get_DevNode_Registry_PropertyW(long long ptr ptr long long)
|
||||
@ stdcall CM_Get_DevNode_Registry_Property_ExA(long long ptr ptr ptr long ptr)
|
||||
@ stdcall CM_Get_DevNode_Registry_Property_ExW(long long ptr ptr ptr long ptr)
|
||||
-@ stub CM_Get_DevNode_Status
|
||||
+@ stdcall CM_Get_DevNode_Status(ptr ptr long long)
|
||||
@ stub CM_Get_DevNode_Status_Ex
|
||||
@ stdcall CM_Get_Device_IDA(ptr ptr long long)
|
||||
@ stdcall CM_Get_Device_IDW(ptr ptr long long)
|
||||
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
|
||||
index ffc766b..ef262d0 100644
|
||||
--- a/dlls/setupapi/stubs.c
|
||||
+++ b/dlls/setupapi/stubs.c
|
||||
@@ -480,6 +480,15 @@ CONFIGRET WINAPI CM_Set_Class_Registry_PropertyW(LPGUID class, ULONG prop, PVOID
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
+ * CM_Get_DevNode_Status (SETUPAPI.@)
|
||||
+ */
|
||||
+CONFIGRET WINAPI CM_Get_DevNode_Status(ULONG *status, ULONG *problem, DEVINST inst, ULONG flags)
|
||||
+{
|
||||
+ FIXME("%p %p 0x%08x 0x%08x: stub\n", status, problem, inst, flags);
|
||||
+ return CR_FAILURE;
|
||||
+}
|
||||
+
|
||||
+/***********************************************************************
|
||||
* SetupLogFileW (SETUPAPI.@)
|
||||
*/
|
||||
BOOL WINAPI SetupLogFileW(
|
||||
--
|
||||
2.8.0
|
||||
|
1
patches/setupapi-CM_Get_DevNode_Status/definition
Normal file
1
patches/setupapi-CM_Get_DevNode_Status/definition
Normal file
@ -0,0 +1 @@
|
||||
Fixes: [40691] Add stub for setupapi.CM_Get_DevNode_Status
|
Loading…
Reference in New Issue
Block a user