[PATCH] tbs: Add Tbsi_GetDeviceInfo stub.

Gijs Vermeulen gijsvrm at gmail.com
Fri Aug 6 14:02:26 CDT 2021


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51560
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
---
 dlls/tbs/tbs.c    | 6 ++++++
 dlls/tbs/tbs.spec | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/dlls/tbs/tbs.c b/dlls/tbs/tbs.c
index 452a3890e68..cb18d01fa2c 100644
--- a/dlls/tbs/tbs.c
+++ b/dlls/tbs/tbs.c
@@ -29,3 +29,9 @@ TBS_RESULT WINAPI Tbsi_Context_Create(const TBS_CONTEXT_PARAMS *params, TBS_HCON
     FIXME("(%p, %p) stub\n", params, out);
     return TBS_E_TPM_NOT_FOUND;
 }
+
+TBS_RESULT WINAPI Tbsi_GetDeviceInfo(UINT32 size, void *info)
+{
+    FIXME("(%u, %p) stub\n", size, info);
+    return TBS_E_TPM_NOT_FOUND;
+}
diff --git a/dlls/tbs/tbs.spec b/dlls/tbs/tbs.spec
index 151ea1c6478..5fa68007254 100644
--- a/dlls/tbs/tbs.spec
+++ b/dlls/tbs/tbs.spec
@@ -6,7 +6,7 @@
 @ stdcall Tbsi_Context_Create(ptr ptr)
 @ stub Tbsi_Create_Windows_Key
 @ stub Tbsi_FilterLog
-@ stub Tbsi_GetDeviceInfo
+@ stdcall Tbsi_GetDeviceInfo(long ptr)
 @ stub Tbsi_Get_OwnerAuth
 @ stub Tbsi_Get_TCG_Log
 @ stub Tbsi_Get_TCG_Log_Ex
-- 
2.32.0




More information about the wine-devel mailing list