Piotr Caban : tapi32: Add more Unicode functions stubs.

Alexandre Julliard julliard at winehq.org
Fri Apr 5 14:02:16 CDT 2013


Module: wine
Branch: master
Commit: e2b88dcc146b238d90f2edb9e92827899d039370
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e2b88dcc146b238d90f2edb9e92827899d039370

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Fri Apr  5 16:53:43 2013 +0200

tapi32: Add more Unicode functions stubs.

---

 dlls/tapi32/line.c      |   49 +++++++++++++++++++++++++++++++++++++++++++++++
 dlls/tapi32/tapi32.spec |    5 ++++
 2 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/dlls/tapi32/line.c b/dlls/tapi32/line.c
index 756adf6..264e07b 100644
--- a/dlls/tapi32/line.c
+++ b/dlls/tapi32/line.c
@@ -134,6 +134,15 @@ DWORD WINAPI lineConfigDialogA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDevi
 }
 
 /***********************************************************************
+ *		lineConfigDialogW (TAPI32.@)
+ */
+DWORD WINAPI lineConfigDialogW(DWORD dwDeviceID, HWND hwndOwner, LPCWSTR lpszDeviceClass)
+{
+    FIXME("(%08x, %p, %s): stub.\n", dwDeviceID, hwndOwner, debugstr_w(lpszDeviceClass));
+    return 0;
+}
+
+/***********************************************************************
  *		lineConfigDialogEdit (TAPI32.@)
  */
 DWORD WINAPI lineConfigDialogEditA(DWORD dwDeviceID, HWND hwndOwner, LPCSTR lpszDeviceClass, LPVOID const lpDeviceConfigIn, DWORD dwSize, LPVARSTRING lpDeviceConfigOut)
@@ -188,6 +197,15 @@ DWORD WINAPI lineDialA(HCALL hCall, LPCSTR lpszDestAddress, DWORD dwCountryCode)
 }
 
 /***********************************************************************
+ *		lineDialW (TAPI32.@)
+ */
+DWORD WINAPI lineDialW(HCALL hCall, LPCWSTR lpszDestAddress, DWORD dwCountryCode)
+{
+    FIXME("(%p, %s, %08x): stub.\n", hCall, debugstr_w(lpszDestAddress), dwCountryCode);
+    return 1;
+}
+
+/***********************************************************************
  *		lineDrop (TAPI32.@)
  */
 DWORD WINAPI lineDrop(HCALL hCall, LPCSTR lpsUserUserInfo, DWORD dwSize)
@@ -466,6 +484,14 @@ DWORD WINAPI lineGetCountryA(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTR
 }
 
 /***********************************************************************
+ *		lineGetCountry (TAPI32.@)
+ */
+DWORD WINAPI lineGetCountryW(DWORD dwCountryID, DWORD dwAPIVersion, LPLINECOUNTRYLIST lpLineCountryList)
+{
+    return lineGetCountryA(dwCountryID, dwAPIVersion, lpLineCountryList);
+}
+
+/***********************************************************************
  *		lineGetDevCapsW (TAPI32.@)
  */
 DWORD WINAPI lineGetDevCapsW(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion,
@@ -1390,6 +1416,18 @@ DWORD WINAPI lineTranslateAddressA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dw
 }
 
 /***********************************************************************
+ *              lineTranslateAddressW (TAPI32.@)
+ */
+DWORD WINAPI lineTranslateAddressW(HLINEAPP hLineApp, DWORD dwDeviceID,
+        DWORD dwAPIVersion, LPCWSTR lpszAddressIn, DWORD dwCard,
+        DWORD dwTranslateOptions, LPLINETRANSLATEOUTPUT lpTranslateOutput)
+{
+    FIXME("(%p, %08x, %08x, %s, %08x, %08x, %p): stub.\n", hLineApp, dwDeviceID, dwAPIVersion,
+            debugstr_w(lpszAddressIn), dwCard, dwTranslateOptions, lpTranslateOutput);
+    return 0;
+}
+
+/***********************************************************************
  *		lineTranslateDialog (TAPI32.@)
  */
 DWORD WINAPI lineTranslateDialogA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwAPIVersion, HWND hwndOwner, LPCSTR lpszAddressIn)
@@ -1399,6 +1437,17 @@ DWORD WINAPI lineTranslateDialogA(HLINEAPP hLineApp, DWORD dwDeviceID, DWORD dwA
 }
 
 /***********************************************************************
+ *              lineTranslateDialogW (TAPI32.@)
+ */
+DWORD WINAPI lineTranslateDialogW(HLINEAPP hLineApp, DWORD dwDeviceID,
+        DWORD dwAPIVersion, HWND hwndOwner, LPCWSTR lpszAddressIn)
+{
+    FIXME("(%p, %08x, %08x, %p, %s): stub.\n", hLineApp, dwDeviceID,
+            dwAPIVersion, hwndOwner, debugstr_w(lpszAddressIn));
+    return 0;
+}
+
+/***********************************************************************
  *		lineUncompleteCall (TAPI32.@)
  */
 DWORD WINAPI lineUncompleteCall(HLINE hLine, DWORD dwCompletionID)
diff --git a/dlls/tapi32/tapi32.spec b/dlls/tapi32/tapi32.spec
index 6d20bf3..d4f2ae7 100644
--- a/dlls/tapi32/tapi32.spec
+++ b/dlls/tapi32/tapi32.spec
@@ -11,6 +11,7 @@
 @ stdcall lineCompleteTransfer(long long ptr long)
 @ stdcall lineConfigDialog(long long str) lineConfigDialogA
 @ stdcall lineConfigDialogA(long long str)
+@ stdcall lineConfigDialogW(long long wstr)
 @ stdcall lineConfigDialogEdit(long long str ptr long ptr) lineConfigDialogEditA
 @ stdcall lineConfigDialogEditA(long long str ptr long ptr)
 @ stdcall lineConfigProvider(long long)
@@ -19,6 +20,7 @@
 @ stdcall lineDevSpecificFeature(long long ptr long)
 @ stdcall lineDial(long str long) lineDialA
 @ stdcall lineDialA(long str long)
+@ stdcall lineDialW(long wstr long)
 @ stdcall lineDrop(long str long)
 @ stdcall lineForward(long long long ptr long ptr ptr) lineForwardA
 @ stdcall lineForwardA(long long long ptr long ptr ptr)
@@ -41,6 +43,7 @@
 @ stdcall lineGetConfRelatedCalls(long ptr)
 @ stdcall lineGetCountry(long long ptr) lineGetCountryA
 @ stdcall lineGetCountryA(long long ptr)
+@ stdcall lineGetCountryW(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)
@@ -117,8 +120,10 @@
 @ stdcall lineSwapHold(long long)
 @ stdcall lineTranslateAddress(long long long str long long ptr) lineTranslateAddressA
 @ stdcall lineTranslateAddressA(long long long str long long ptr)
+@ stdcall lineTranslateAddressW(long long long wstr long long ptr)
 @ stdcall lineTranslateDialog(long long long long str) lineTranslateDialogA
 @ stdcall lineTranslateDialogA(long long long long str)
+@ stdcall lineTranslateDialogW(long long long long wstr)
 @ stdcall lineUncompleteCall(long long)
 @ stdcall lineUnhold(long)
 @ stdcall lineUnpark(long long ptr str) lineUnparkA




More information about the wine-cvs mailing list