[PATCH v2] setupapi: Add SetupQueryInfVersionInformationA/W stub.
Gijs Vermeulen
gijsvrm at gmail.com
Fri Apr 1 09:16:31 CDT 2022
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52616
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
---
dlls/setupapi/query.c | 18 ++++++++++++++++++
dlls/setupapi/setupapi.spec | 4 ++--
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/dlls/setupapi/query.c b/dlls/setupapi/query.c
index b25bd883cc64..e662b422a062 100644
--- a/dlls/setupapi/query.c
+++ b/dlls/setupapi/query.c
@@ -731,3 +731,21 @@ BOOL WINAPI SetupGetInfDriverStoreLocationW(
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
+
+BOOL WINAPI SetupQueryInfVersionInformationA(SP_INF_INFORMATION *info, UINT index, const char *key, char *buff,
+ DWORD size, DWORD *req_size)
+{
+ FIXME("info %p, index %d, key %s, buff %p, size %ld, req_size %p stub!\n", info, index, debugstr_a(key), buff,
+ size, req_size);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
+
+BOOL WINAPI SetupQueryInfVersionInformationW(SP_INF_INFORMATION *info, UINT index, const WCHAR *key, WCHAR *buff,
+ DWORD size, DWORD *req_size)
+{
+ FIXME("info %p, index %d, key %s, buff %p, size %ld, req_size %p stub!\n", info, index, debugstr_w(key), buff,
+ size, req_size);
+ SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
+ return FALSE;
+}
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index 06d423373b8e..7578fb25c9c7 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -492,8 +492,8 @@
@ stdcall SetupQueryInfFileInformationW(ptr long wstr long ptr)
@ stdcall SetupQueryInfOriginalFileInformationA(ptr long ptr ptr)
@ stdcall SetupQueryInfOriginalFileInformationW(ptr long ptr ptr)
-@ stub SetupQueryInfVersionInformationA
-@ stub SetupQueryInfVersionInformationW
+@ stdcall SetupQueryInfVersionInformationA(ptr long str ptr long ptr)
+@ stdcall SetupQueryInfVersionInformationW(ptr long wstr ptr long ptr)
@ stub SetupQuerySourceListA
@ stub SetupQuerySourceListW
@ stdcall SetupQuerySpaceRequiredOnDriveA(long str ptr ptr long)
--
2.35.1
More information about the wine-devel
mailing list