Jactry Zeng : include: Fix wrong type in tom.idl.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 28 20:50:43 CDT 2014


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

Author: Jactry Zeng <wine at jactry.com>
Date:   Sun Jul 27 14:04:52 2014 +0800

include: Fix wrong type in tom.idl.

---

 include/tom.idl | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/include/tom.idl b/include/tom.idl
index daa907b..769e31b 100644
--- a/include/tom.idl
+++ b/include/tom.idl
@@ -335,22 +335,22 @@ interface ITextFont : IDispatch
     HRESULT SetEngrave([in]LONG Value);
     HRESULT GetItalic([retval, out]LONG *pValue);
     HRESULT SetItalic([in]LONG Value);
-    HRESULT GetKerning([retval, out]LONG *pValue);
-    HRESULT SetKerning([in]LONG Value);
+    HRESULT GetKerning([retval, out]float *pValue);
+    HRESULT SetKerning([in]float Value);
     HRESULT GetLanguageID([retval, out]LONG *pValue);
     HRESULT SetLanguageID([in]LONG Value);
     HRESULT GetName([retval, out]BSTR *pValue);
     HRESULT SetName([in]BSTR Value);
     HRESULT GetOutline([retval, out]LONG *pValue);
     HRESULT SetOutline([in]LONG Value);
-    HRESULT GetPosition([retval, out]LONG *pValue);
-    HRESULT SetPosition([in]LONG Value);
+    HRESULT GetPosition([retval, out]float *pValue);
+    HRESULT SetPosition([in]float Value);
     HRESULT GetProtected([retval, out]LONG *pValue);
     HRESULT SetProtected([in]LONG Value);
     HRESULT GetShadow([retval, out]LONG *pValue);
     HRESULT SetShadow([in]LONG Value);
-    HRESULT GetSize([retval, out]LONG *pValue);
-    HRESULT SetSize([in]LONG Value);
+    HRESULT GetSize([retval, out]float *pValue);
+    HRESULT SetSize([in]float Value);
     HRESULT GetSmallCaps([retval, out]LONG *pValue);
     HRESULT SetSmallCaps([in]LONG Value);
     HRESULT GetSpacing([retval, out]float *pValue);
@@ -398,8 +398,8 @@ interface ITextPara : IDispatch
     HRESULT SetListLevelIndex([in]LONG Value);
     HRESULT GetListStart([retval, out]LONG *pValue);
     HRESULT SetListStart([in]LONG Value);
-    HRESULT GetListTab([retval, out]LONG *pValue);
-    HRESULT SetListTab([in]LONG Value);
+    HRESULT GetListTab([retval, out]float *pValue);
+    HRESULT SetListTab([in]float Value);
     HRESULT GetListType([retval, out]LONG *pValue);
     HRESULT SetListType([in]LONG Value);
     HRESULT GetNoLineNumber([retval, out]LONG *pValue);
@@ -414,8 +414,8 @@ interface ITextPara : IDispatch
     HRESULT SetSpaceAfter([in]float Value);
     HRESULT GetSpaceBefore([retval, out]float *pValue);
     HRESULT SetSpaceBefore([in]float Value);
-    HRESULT GetWindowControl([retval, out]float *pValue);
-    HRESULT SetWindowControl([in]float Value);
+    HRESULT GetWidowControl([retval, out]LONG *pValue);
+    HRESULT SetWidowControl([in]LONG Value);
     HRESULT GetTabCount([retval, out]LONG *pCount);
     HRESULT AddTab([in]float tbPos, [in]LONG tbAlign, [in]LONG tbLeader);
     HRESULT ClearAllTabs();




More information about the wine-cvs mailing list