Commit d0372b4e authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Fixed ICOM_CALLs for IFont_xx methods.

Added IPersistPropertyBag, IPersistStreamInit interfaces with stubs. Implemented IDispatch::Invoke for the used DISPIDs.
parent 66b29b27
...@@ -82,27 +82,27 @@ ICOM_DEFINE(IFont,IUnknown) ...@@ -82,27 +82,27 @@ ICOM_DEFINE(IFont,IUnknown)
#define IFont_putName(p,a) ICOM_CALL1(put_Name,p,a) #define IFont_putName(p,a) ICOM_CALL1(put_Name,p,a)
#define IFont_get_Size(p,a) ICOM_CALL1(get_Size,p,a) #define IFont_get_Size(p,a) ICOM_CALL1(get_Size,p,a)
#define IFont_put_Size(p,a) ICOM_CALL1(put_Size,p,a) #define IFont_put_Size(p,a) ICOM_CALL1(put_Size,p,a)
#define IFont_get_Bold(p,a) ICOM_CALL1(get_Bold,a) #define IFont_get_Bold(p,a) ICOM_CALL1(get_Bold,p,a)
#define IFont_put_Bold(p,a) ICOM_CALL1(put_Bold,a) #define IFont_put_Bold(p,a) ICOM_CALL1(put_Bold,p,a)
#define IFont_get_Italic(p,a) ICOM_CALL1(get_Italic,a) #define IFont_get_Italic(p,a) ICOM_CALL1(get_Italic,p,a)
#define IFont_put_Italic(p,a) ICOM_CALL1(put_Italic,a) #define IFont_put_Italic(p,a) ICOM_CALL1(put_Italic,p,a)
#define IFont_get_Underline(p,a) ICOM_CALL1(get_Underline,a) #define IFont_get_Underline(p,a) ICOM_CALL1(get_Underline,p,a)
#define IFont_put_Underline(p,a) ICOM_CALL1(put_Underline,a) #define IFont_put_Underline(p,a) ICOM_CALL1(put_Underline,p,a)
#define IFont_get_Strikethrough(p,a) ICOM_CALL1(get_Strikethrough,a) #define IFont_get_Strikethrough(p,a) ICOM_CALL1(get_Strikethrough,p,a)
#define IFont_put_Strikethrough(p,a) ICOM_CALL1(put_Strikethrough,a) #define IFont_put_Strikethrough(p,a) ICOM_CALL1(put_Strikethrough,p,a)
#define IFont_get_Weight(p,a) ICOM_CALL1(get_Weight,a) #define IFont_get_Weight(p,a) ICOM_CALL1(get_Weight,p,a)
#define IFont_put_Weight(p,a) ICOM_CALL1(put_Weight,a) #define IFont_put_Weight(p,a) ICOM_CALL1(put_Weight,p,a)
#define IFont_get_Charset(p,a) ICOM_CALL1(get_Charset,a) #define IFont_get_Charset(p,a) ICOM_CALL1(get_Charset,p,a)
#define IFont_put_Charset(p,a) ICOM_CALL1(put_Charset,a) #define IFont_put_Charset(p,a) ICOM_CALL1(put_Charset,p,a)
#define IFont_get_hFont(p,a) ICOM_CALL1(get_hFont,a) #define IFont_get_hFont(p,a) ICOM_CALL1(get_hFont,p,a)
#define IFont_put_hFont(p,a) ICOM_CALL1(put_hFont,a) #define IFont_put_hFont(p,a) ICOM_CALL1(put_hFont,p,a)
#define IFont_Clone(p,a) ICOM_CALL1(Clone,a) #define IFont_Clone(p,a) ICOM_CALL1(Clone,p,a)
#define IFont_IsEqual(p,a) ICOM_CALL1(IsEqual,a) #define IFont_IsEqual(p,a) ICOM_CALL1(IsEqual,p,a)
#define IFont_SetRatio(p,a,b) ICOM_CALL2(SetRatio,a,b) #define IFont_SetRatio(p,a,b) ICOM_CALL2(SetRatio,p,a,b)
#define IFont_QueryTextMetrics(p,a) ICOM_CALL1(QueryTextMetrics,a) #define IFont_QueryTextMetrics(p,a) ICOM_CALL1(QueryTextMetrics,p,a)
#define IFont_AddRefHfont(p,a) ICOM_CALL1(AddRefHfont,a) #define IFont_AddRefHfont(p,a) ICOM_CALL1(AddRefHfont,p,a)
#define IFont_ReleaseHfont(p,a) ICOM_CALL1(ReleaseHfont,a) #define IFont_ReleaseHfont(p,a) ICOM_CALL1(ReleaseHfont,p,a)
#define IFont_SetHdc(p,a) ICOM_CALL1(SetHdc,a) #define IFont_SetHdc(p,a) ICOM_CALL1(SetHdc,p,a)
/***************************************************************************** /*****************************************************************************
* IFont interface * IFont interface
...@@ -121,7 +121,7 @@ ICOM_DEFINE(IFontDisp,IDispatch) ...@@ -121,7 +121,7 @@ ICOM_DEFINE(IFontDisp,IDispatch)
#define IFontDisp_Release(p) ICOM_CALL (Release,p) #define IFontDisp_Release(p) ICOM_CALL (Release,p)
/*** IDispatch methods ***/ /*** IDispatch methods ***/
#define IFontDisp_GetTypeInfoCount(p,a) ICOM_CALL1 (GetTypeInfoCount,p,a) #define IFontDisp_GetTypeInfoCount(p,a) ICOM_CALL1 (GetTypeInfoCount,p,a)
#define IFontDisp_GetTypeInfo(p,a,b,c) ICOM_CALL3 (GetTypeInfo,p,b,c) #define IFontDisp_GetTypeInfo(p,a,b,c) ICOM_CALL3 (GetTypeInfo,p,a,b,c)
#define IFontDisp_GetIDsOfNames(p,a,b,c,d,e) ICOM_CALL5 (GetIDsOfNames,p,a,b,c,d,e) #define IFontDisp_GetIDsOfNames(p,a,b,c,d,e) ICOM_CALL5 (GetIDsOfNames,p,a,b,c,d,e)
#define IFontDisp_Invoke(p,a,b,c,d,e,f,g,h) ICOM_CALL8 (Invoke,p,a,b,c,d,e,f,g,h) #define IFontDisp_Invoke(p,a,b,c,d,e,f,g,h) ICOM_CALL8 (Invoke,p,a,b,c,d,e,f,g,h)
/*** IFontDisp methods ***/ /*** IFontDisp methods ***/
...@@ -131,5 +131,3 @@ ICOM_DEFINE(IFontDisp,IDispatch) ...@@ -131,5 +131,3 @@ ICOM_DEFINE(IFontDisp,IDispatch)
#endif /* defined(__cplusplus) */ #endif /* defined(__cplusplus) */
#endif /* __WINE_WINE_OBJ_OLEFONT_H */ #endif /* __WINE_WINE_OBJ_OLEFONT_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment