[PATCH 3/4] tapi32: Add lineGetIconW stub.

Roman Pišl rpisl at seznam.cz
Sat May 28 06:18:03 CDT 2022


Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53061
Signed-off-by: Roman Pišl <rpisl at seznam.cz>
---
 dlls/tapi32/line.c      | 9 +++++++++
 dlls/tapi32/tapi32.spec | 1 +
 2 files changed, 10 insertions(+)

diff --git a/dlls/tapi32/line.c b/dlls/tapi32/line.c
index 97cd0b24d6f..83389131346 100644
--- a/dlls/tapi32/line.c
+++ b/dlls/tapi32/line.c
@@ -697,6 +697,15 @@ DWORD WINAPI lineGetIconA(DWORD dwDeviceID, LPCSTR lpszDeviceClass, HICON *lphIc
     return 0;
 }
 
+/***********************************************************************
+ *		lineGetIconW (TAPI32.@)
+ */
+DWORD WINAPI lineGetIconW(DWORD dwDeviceID, LPCWSTR lpszDeviceClass, HICON *lphIcon)
+{
+    FIXME("(%08lx, %s, %p): stub.\n", dwDeviceID, debugstr_w(lpszDeviceClass), lphIcon);
+    return 0;
+}
+
 /***********************************************************************
  *		lineGetLineDevStatus (TAPI32.@)
  */
diff --git a/dlls/tapi32/tapi32.spec b/dlls/tapi32/tapi32.spec
index 7e44b92735d..64ac36310dc 100644
--- a/dlls/tapi32/tapi32.spec
+++ b/dlls/tapi32/tapi32.spec
@@ -56,6 +56,7 @@
 @ stdcall lineGetIDW(long long long long ptr wstr)
 @ stdcall lineGetIcon(long str ptr) lineGetIconA
 @ stdcall lineGetIconA(long str ptr)
+@ stdcall lineGetIconW(long wstr ptr)
 @ stdcall lineGetLineDevStatus(long ptr) lineGetLineDevStatusA
 @ stdcall lineGetLineDevStatusA(long ptr)
 @ stdcall lineGetMessage(long ptr long)
-- 
2.30.2




More information about the wine-devel mailing list