Andrew Nguyen : tapi32: Stub lineGetIDW.
Alexandre Julliard
julliard at winehq.org
Mon Mar 23 12:34:58 CDT 2009
Module: wine
Branch: master
Commit: 626a13fd579fe5fa1413e6ad28481e2b29f4e7ad
URL: http://source.winehq.org/git/wine.git/?a=commit;h=626a13fd579fe5fa1413e6ad28481e2b29f4e7ad
Author: Andrew Nguyen <arethusa26 at gmail.com>
Date: Mon Mar 23 01:34:55 2009 -0500
tapi32: Stub lineGetIDW.
---
dlls/tapi32/line.c | 22 ++++++++++++++++++----
dlls/tapi32/tapi32.spec | 1 +
include/tapi.h | 5 +++--
3 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/dlls/tapi32/line.c b/dlls/tapi32/line.c
index 9cd624f..6ccdf13 100644
--- a/dlls/tapi32/line.c
+++ b/dlls/tapi32/line.c
@@ -497,12 +497,26 @@ DWORD WINAPI lineGetDevConfigA(DWORD dwDeviceID, LPVARSTRING lpDeviceConfig, LPC
}
/***********************************************************************
- * lineGetID (TAPI32.@)
+ * lineGetIDW (TAPI32.@)
*/
-DWORD WINAPI lineGetIDA(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect, LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
+DWORD WINAPI lineGetIDW(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect,
+ LPVARSTRING lpDeviceID, LPCWSTR lpszDeviceClass)
{
- FIXME("(%p, %08x, %p, %08x, %p, %s): stub.\n", hLine, dwAddressID, hCall, dwSelect, lpDeviceID, lpszDeviceClass);
- return 0;
+ FIXME("(%p, %08x, %p, %08x, %p, %s): stub.\n", hLine, dwAddressID, hCall,
+ dwSelect, lpDeviceID,
+ debugstr_w(lpszDeviceClass));
+ return LINEERR_OPERATIONFAILED;
+}
+
+/***********************************************************************
+ * lineGetIDA (TAPI32.@)
+ */
+DWORD WINAPI lineGetIDA(HLINE hLine, DWORD dwAddressID, HCALL hCall, DWORD dwSelect,
+ LPVARSTRING lpDeviceID, LPCSTR lpszDeviceClass)
+{
+ FIXME("(%p, %08x, %p, %08x, %p, %s): stub.\n", hLine, dwAddressID, hCall,
+ dwSelect, lpDeviceID, lpszDeviceClass);
+ return LINEERR_OPERATIONFAILED;
}
/***********************************************************************
diff --git a/dlls/tapi32/tapi32.spec b/dlls/tapi32/tapi32.spec
index 3f37e8f..ce7a04d 100644
--- a/dlls/tapi32/tapi32.spec
+++ b/dlls/tapi32/tapi32.spec
@@ -48,6 +48,7 @@
@ stdcall lineGetDevConfigA(long ptr str)
@ stdcall lineGetID(long long long long ptr str) lineGetIDA
@ stdcall lineGetIDA(long long long long ptr str)
+@ stdcall lineGetIDW(long long long long ptr wstr)
@ stdcall lineGetIcon(long str ptr) lineGetIconA
@ stdcall lineGetIconA(long str ptr)
@ stdcall lineGetLineDevStatus(long ptr) lineGetLineDevStatusA
diff --git a/include/tapi.h b/include/tapi.h
index d031d00..ca2c4c8 100644
--- a/include/tapi.h
+++ b/include/tapi.h
@@ -892,7 +892,9 @@ DWORD WINAPI lineGetDevCapsA(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS);
DWORD WINAPI lineGetDevCapsW(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS);
#define lineGetDevCaps WINELIB_NAME_AW(lineGetDevCaps);
DWORD WINAPI lineGetDevConfig(DWORD,LPVARSTRING,LPCSTR);
-DWORD WINAPI lineGetID(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR);
+DWORD WINAPI lineGetIDA(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR);
+DWORD WINAPI lineGetIDW(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCWSTR);
+#define lineGetID WINELIB_NAME_AW(lineGetID);
DWORD WINAPI lineGetIcon(DWORD,LPCSTR,HICON *);
DWORD WINAPI lineGetLineDevStatus(HLINE,LPLINEDEVSTATUS);
DWORD WINAPI lineGetNewCalls(HLINE,DWORD,DWORD,LPLINECALLLIST);
@@ -964,7 +966,6 @@ DWORD WINAPI lineGetAppPriorityA(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVA
DWORD WINAPI lineGetCallInfoA(HCALL,LPLINECALLINFO);
DWORD WINAPI lineGetCountryA(DWORD,DWORD,LPLINECOUNTRYLIST);
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 lineGetRequestA(HLINEAPP,DWORD,LPVOID);
More information about the wine-cvs
mailing list