Gijs Vermeulen : tbs: Add Tbsi_GetDeviceInfo stub.

Alexandre Julliard julliard at winehq.org
Fri Aug 6 16:10:41 CDT 2021


Module: wine
Branch: master
Commit: 2cc98b72846f67ae98bce1882278fce42a02a7fa
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=2cc98b72846f67ae98bce1882278fce42a02a7fa

Author: Gijs Vermeulen <gijsvrm at gmail.com>
Date:   Fri Aug  6 21:02:26 2021 +0200

tbs: Add Tbsi_GetDeviceInfo stub.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51560
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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




More information about the wine-cvs mailing list