Andrew Nguyen : tapi32: Stub lineGetProviderListW.
Alexandre Julliard
julliard at winehq.org
Mon Feb 23 10:00:51 CST 2009
Module: wine
Branch: master
Commit: f5fc2ca4c50c784379072a90719ae70ecb89db75
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f5fc2ca4c50c784379072a90719ae70ecb89db75
Author: Andrew Nguyen <arethusa26 at gmail.com>
Date: Mon Feb 23 04:25:01 2009 -0600
tapi32: Stub lineGetProviderListW.
---
dlls/tapi32/line.c | 13 +++++++++++--
dlls/tapi32/tapi32.spec | 1 +
include/tapi.h | 5 +++--
3 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/dlls/tapi32/line.c b/dlls/tapi32/line.c
index 214e504..692e37f 100644
--- a/dlls/tapi32/line.c
+++ b/dlls/tapi32/line.c
@@ -520,12 +520,21 @@ DWORD WINAPI lineGetNumRings(HLINE hLine, DWORD dwAddressID, LPDWORD lpdwNumRing
}
/***********************************************************************
- * lineGetProviderList (TAPI32.@)
+ * lineGetProviderListA (TAPI32.@)
*/
DWORD WINAPI lineGetProviderListA(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
{
FIXME("(%08x, %p): stub.\n", dwAPIVersion, lpProviderList);
- return 0;
+ return LINEERR_OPERATIONFAILED;
+}
+
+/***********************************************************************
+ * lineGetProviderListW (TAPI32.@)
+ */
+DWORD WINAPI lineGetProviderListW(DWORD dwAPIVersion, LPLINEPROVIDERLIST lpProviderList)
+{
+ FIXME("(%08x, %p): stub.\n", dwAPIVersion, lpProviderList);
+ return LINEERR_OPERATIONFAILED;
}
/***********************************************************************
diff --git a/dlls/tapi32/tapi32.spec b/dlls/tapi32/tapi32.spec
index 87266ce..440456d 100644
--- a/dlls/tapi32/tapi32.spec
+++ b/dlls/tapi32/tapi32.spec
@@ -54,6 +54,7 @@
@ stdcall lineGetNumRings(long long ptr)
@ stdcall lineGetProviderList(long ptr) lineGetProviderListA
@ stdcall lineGetProviderListA(long ptr)
+@ stdcall lineGetProviderListW(long ptr)
@ stdcall lineGetRequest(long long ptr) lineGetRequestA
@ stdcall lineGetRequestA(long long ptr)
@ stdcall lineGetStatusMessages(long ptr ptr)
diff --git a/include/tapi.h b/include/tapi.h
index 851317f..9a8cd04 100644
--- a/include/tapi.h
+++ b/include/tapi.h
@@ -893,7 +893,9 @@ DWORD WINAPI lineGetIcon(DWORD,LPCSTR,HICON *);
DWORD WINAPI lineGetLineDevStatus(HLINE,LPLINEDEVSTATUS);
DWORD WINAPI lineGetNewCalls(HLINE,DWORD,DWORD,LPLINECALLLIST);
DWORD WINAPI lineGetNumRings(HLINE,DWORD,LPDWORD);
-DWORD WINAPI lineGetProviderList(DWORD dwAPIVersion,LPLINEPROVIDERLIST);
+DWORD WINAPI lineGetProviderListA(DWORD,LPLINEPROVIDERLIST);
+DWORD WINAPI lineGetProviderListW(DWORD,LPLINEPROVIDERLIST);
+#define lineGetProviderList WINELIB_NAME_AW(lineGetProviderList)
DWORD WINAPI lineGetRequest(HLINEAPP,DWORD,LPVOID);
DWORD WINAPI lineGetStatusMessages(HLINE,LPDWORD,LPDWORD);
DWORD WINAPI lineGetTranslateCaps(HLINEAPP,DWORD,LPLINETRANSLATECAPS);
@@ -961,7 +963,6 @@ DWORD WINAPI lineGetDevConfigA(DWORD,LPVARSTRING,LPCSTR);
DWORD WINAPI lineGetIDA(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR);
DWORD WINAPI lineGetIconA(DWORD,LPCSTR,HICON *);
DWORD WINAPI lineGetLineDevStatusA(HLINE,LPLINEDEVSTATUS);
-DWORD WINAPI lineGetProviderListA(DWORD dwAPIVersion,LPLINEPROVIDERLIST);
DWORD WINAPI lineGetRequestA(HLINEAPP,DWORD,LPVOID);
DWORD WINAPI lineGetTranslateCapsA(HLINEAPP,DWORD,LPLINETRANSLATECAPS);
DWORD WINAPI lineHandoffA(HCALL,LPCSTR,DWORD);
More information about the wine-cvs
mailing list