Gijs Vermeulen : setupapi: Add SetupDiGetClassRegistryPropertyW stub.
Alexandre Julliard
julliard at winehq.org
Mon Mar 14 17:47:36 CDT 2022
Module: wine
Branch: master
Commit: b8a4b9f93b1e9c12a5b543d3ebd62080c2f3a692
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b8a4b9f93b1e9c12a5b543d3ebd62080c2f3a692
Author: Gijs Vermeulen <gijsvrm at gmail.com>
Date: Sat Mar 12 22:48:44 2022 +0100
setupapi: Add SetupDiGetClassRegistryPropertyW stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52520
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/setupapi/setupapi.spec | 1 +
dlls/setupapi/stubs.c | 9 +++++++++
2 files changed, 10 insertions(+)
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 1b3f5cc6bd8..06d423373b8 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -336,6 +336,7 @@
@ stub SetupDiGetClassImageListExW
@ stub SetupDiGetClassInstallParamsA
@ stub SetupDiGetClassInstallParamsW
+@ stdcall SetupDiGetClassRegistryPropertyW(ptr long ptr ptr long ptr wstr ptr)
@ stub SetupDiGetDeviceInfoListClass
@ stdcall SetupDiGetDeviceInfoListDetailA(ptr ptr)
@ stdcall SetupDiGetDeviceInfoListDetailW(ptr ptr)
diff --git a/dlls/setupapi/stubs.c b/dlls/setupapi/stubs.c
index af058b8eac8..4b1585c8df6 100644
--- a/dlls/setupapi/stubs.c
+++ b/dlls/setupapi/stubs.c
@@ -667,3 +667,12 @@ CONFIGRET WINAPI CM_Request_Device_EjectW(DEVINST dev, PPNP_VETO_TYPE type, LPWS
FIXME("(0x%08lx, %p, %p, %lu, 0x%08lx) stub\n", dev, type, name, length, flags);
return CR_SUCCESS;
}
+
+BOOL WINAPI SetupDiGetClassRegistryPropertyW(const GUID *class, DWORD prop, DWORD *datatype, BYTE *buff, DWORD size,
+ DWORD *req_size, const WCHAR *name, VOID *reserved)
+{
+ FIXME("class %s, prop %ld, datatype %p, buff %p, size %ld, req_size %p, name %s, reserved %p stub!\n",
+ debugstr_guid(class), prop, datatype, buff, size, req_size, debugstr_w(name), reserved);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
More information about the wine-cvs
mailing list