Andrew Nguyen : tapi32: Stub lineGetDevCapsW.
Alexandre Julliard
julliard at winehq.org
Mon Mar 23 12:34:57 CDT 2009
Module: wine
Branch: master
Commit: af38006ad1ab107601b0f060a897eb7c322799f3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=af38006ad1ab107601b0f060a897eb7c322799f3
Author: Andrew Nguyen <arethusa26 at gmail.com>
Date: Mon Mar 23 01:34:41 2009 -0500
tapi32: Stub lineGetDevCapsW.
---
dlls/tapi32/line.c | 21 +++++++++++++++++----
dlls/tapi32/tapi32.spec | 1 +
include/tapi.h | 5 +++--
3 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/dlls/tapi32/line.c b/dlls/tapi32/line.c
index 7ff1221..7145aa0 100644
--- a/dlls/tapi32/line.c
+++ b/dlls/tapi32/line.c
@@ -466,12 +466,25 @@ DWORD WINAPI lineGetCountryA(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTR
}
/***********************************************************************
- * lineGetDevCaps (TAPI32.@)
+ * lineGetDevCapsW (TAPI32.@)
*/
-DWORD WINAPI lineGetDevCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
+DWORD WINAPI lineGetDevCapsW(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion,
+ DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
{
- FIXME("(%p, %08x, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion, dwExtVersion, lpLineDevCaps);
- return 0;
+ FIXME("(%p, %08x, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion,
+ dwExtVersion, lpLineDevCaps);
+ return LINEERR_OPERATIONFAILED;
+}
+
+/***********************************************************************
+ * lineGetDevCapsA (TAPI32.@)
+ */
+DWORD WINAPI lineGetDevCapsA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion,
+ DWORD dwExtVersion, LPLINEDEVCAPS lpLineDevCaps)
+{
+ FIXME("(%p, %08x, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion,
+ dwExtVersion, lpLineDevCaps);
+ return LINEERR_OPERATIONFAILED;
}
/***********************************************************************
diff --git a/dlls/tapi32/tapi32.spec b/dlls/tapi32/tapi32.spec
index d4faaff..645e7e0 100644
--- a/dlls/tapi32/tapi32.spec
+++ b/dlls/tapi32/tapi32.spec
@@ -43,6 +43,7 @@
@ stdcall lineGetCountryA(long long ptr)
@ stdcall lineGetDevCaps(long long long long ptr) lineGetDevCapsA
@ stdcall lineGetDevCapsA(long long long long ptr)
+@ stdcall lineGetDevCapsW(long long long long ptr)
@ stdcall lineGetDevConfig(long ptr str) lineGetDevConfigA
@ stdcall lineGetDevConfigA(long ptr str)
@ stdcall lineGetID(long long long long ptr str) lineGetIDA
diff --git a/include/tapi.h b/include/tapi.h
index fdb5e9f..9f0b695 100644
--- a/include/tapi.h
+++ b/include/tapi.h
@@ -888,7 +888,9 @@ DWORD WINAPI lineGetCallInfo(HCALL,LPLINECALLINFO);
DWORD WINAPI lineGetCallStatus(HCALL,LPLINECALLSTATUS);
DWORD WINAPI lineGetConfRelatedCalls(HCALL,LPLINECALLLIST);
DWORD WINAPI lineGetCountry(DWORD,DWORD,LPLINECOUNTRYLIST);
-DWORD WINAPI lineGetDevCaps(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS);
+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 lineGetIcon(DWORD,LPCSTR,HICON *);
@@ -959,7 +961,6 @@ DWORD WINAPI lineGetAddressStatusA(HLINE,DWORD,LPLINEADDRESSSTATUS);
DWORD WINAPI lineGetAppPriorityA(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD);
DWORD WINAPI lineGetCallInfoA(HCALL,LPLINECALLINFO);
DWORD WINAPI lineGetCountryA(DWORD,DWORD,LPLINECOUNTRYLIST);
-DWORD WINAPI lineGetDevCapsA(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS);
DWORD WINAPI lineGetDevConfigA(DWORD,LPVARSTRING,LPCSTR);
DWORD WINAPI lineGetIDA(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR);
DWORD WINAPI lineGetIconA(DWORD,LPCSTR,HICON *);
More information about the wine-cvs
mailing list