Commit c04ab166 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

riched20: Remove DECLSPEC_HIDDEN usage.

parent 5312580a
...@@ -1182,31 +1182,31 @@ struct _RTF_Info { ...@@ -1182,31 +1182,31 @@ struct _RTF_Info {
* Public RTF reader routines * Public RTF reader routines
*/ */
void RTFInit (RTF_Info *) DECLSPEC_HIDDEN; void RTFInit (RTF_Info *);
void RTFDestroy(RTF_Info *info) DECLSPEC_HIDDEN; void RTFDestroy(RTF_Info *info);
void RTFSetDestinationCallback (RTF_Info *, int, RTFFuncPtr) DECLSPEC_HIDDEN; void RTFSetDestinationCallback (RTF_Info *, int, RTFFuncPtr);
void RTFRead (RTF_Info *) DECLSPEC_HIDDEN; void RTFRead (RTF_Info *);
int RTFGetToken (RTF_Info *) DECLSPEC_HIDDEN; /* writer should rarely need this */ int RTFGetToken (RTF_Info *); /* writer should rarely need this */
void RTFSetReadHook (RTF_Info *, RTFFuncPtr) DECLSPEC_HIDDEN; void RTFSetReadHook (RTF_Info *, RTFFuncPtr);
void RTFRouteToken (RTF_Info *) DECLSPEC_HIDDEN; void RTFRouteToken (RTF_Info *);
void RTFSkipGroup (RTF_Info *) DECLSPEC_HIDDEN; void RTFSkipGroup (RTF_Info *);
void RTFReadGroup (RTF_Info *) DECLSPEC_HIDDEN; void RTFReadGroup (RTF_Info *);
int RTFCheckCM (const RTF_Info *, int, int) DECLSPEC_HIDDEN; int RTFCheckCM (const RTF_Info *, int, int);
int RTFCheckCMM (const RTF_Info *, int, int, int) DECLSPEC_HIDDEN; int RTFCheckCMM (const RTF_Info *, int, int, int);
int RTFCheckMM (const RTF_Info *, int, int) DECLSPEC_HIDDEN; int RTFCheckMM (const RTF_Info *, int, int);
RTFFont *RTFGetFont (const RTF_Info *, int) DECLSPEC_HIDDEN; RTFFont *RTFGetFont (const RTF_Info *, int);
RTFColor *RTFGetColor (const RTF_Info *, int) DECLSPEC_HIDDEN; RTFColor *RTFGetColor (const RTF_Info *, int);
int RTFCharToHex ( char) DECLSPEC_HIDDEN; int RTFCharToHex ( char);
void RTFFlushOutputBuffer( RTF_Info *info ) DECLSPEC_HIDDEN; void RTFFlushOutputBuffer( RTF_Info *info );
void RTFSetEditStream(RTF_Info *info, ME_InStream *stream) DECLSPEC_HIDDEN; void RTFSetEditStream(RTF_Info *info, ME_InStream *stream);
void WriterInit (RTF_Info *) DECLSPEC_HIDDEN; void WriterInit (RTF_Info *);
int BeginFile (RTF_Info *) DECLSPEC_HIDDEN; int BeginFile (RTF_Info *);
int RTFCharSetToCodePage(RTF_Info *info, int charset) DECLSPEC_HIDDEN; int RTFCharSetToCodePage(RTF_Info *info, int charset);
void LookupInit (void) DECLSPEC_HIDDEN; void LookupInit (void);
void LookupCleanup (void) DECLSPEC_HIDDEN; void LookupCleanup (void);
#endif #endif
...@@ -117,7 +117,7 @@ static ULONG WINAPI fnTextSrv_Release(ITextServices *iface) ...@@ -117,7 +117,7 @@ static ULONG WINAPI fnTextSrv_Release(ITextServices *iface)
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxSendMessage,20) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxSendMessage,20)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxSendMessage( ITextServices *iface, UINT msg, WPARAM wparam, HRESULT __thiscall fnTextSrv_TxSendMessage( ITextServices *iface, UINT msg, WPARAM wparam,
LPARAM lparam, LRESULT *result ) LPARAM lparam, LRESULT *result )
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -150,7 +150,7 @@ static HRESULT update_client_rect( struct text_services *services, const RECT *c ...@@ -150,7 +150,7 @@ static HRESULT update_client_rect( struct text_services *services, const RECT *c
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxDraw,52) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxDraw,52)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxDraw( ITextServices *iface, DWORD aspect, LONG index, void *aspect_info, HRESULT __thiscall fnTextSrv_TxDraw( ITextServices *iface, DWORD aspect, LONG index, void *aspect_info,
DVTARGETDEVICE *td, HDC draw, HDC target, DVTARGETDEVICE *td, HDC draw, HDC target,
const RECTL *bounds, const RECTL *mf_bounds, RECT *update, const RECTL *bounds, const RECTL *mf_bounds, RECT *update,
BOOL (CALLBACK *continue_fn)(DWORD), DWORD continue_param, BOOL (CALLBACK *continue_fn)(DWORD), DWORD continue_param,
...@@ -194,7 +194,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxDraw( ITextServices *iface, DWORD ...@@ -194,7 +194,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxDraw( ITextServices *iface, DWORD
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetHScroll,24) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetHScroll,24)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetHScroll( ITextServices *iface, LONG *min_pos, LONG *max_pos, LONG *pos, HRESULT __thiscall fnTextSrv_TxGetHScroll( ITextServices *iface, LONG *min_pos, LONG *max_pos, LONG *pos,
LONG *page, BOOL *enabled ) LONG *page, BOOL *enabled )
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -208,7 +208,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetHScroll( ITextServices *iface, ...@@ -208,7 +208,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetHScroll( ITextServices *iface,
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetVScroll,24) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetVScroll,24)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetVScroll( ITextServices *iface, LONG *min_pos, LONG *max_pos, LONG *pos, HRESULT __thiscall fnTextSrv_TxGetVScroll( ITextServices *iface, LONG *min_pos, LONG *max_pos, LONG *pos,
LONG *page, BOOL *enabled ) LONG *page, BOOL *enabled )
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -222,7 +222,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetVScroll( ITextServices *iface, ...@@ -222,7 +222,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetVScroll( ITextServices *iface,
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxSetCursor,40) DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxSetCursor,40)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxSetCursor( ITextServices *iface, DWORD aspect, LONG index, HRESULT __thiscall fnTextSrv_OnTxSetCursor( ITextServices *iface, DWORD aspect, LONG index,
void *aspect_info, DVTARGETDEVICE *td, HDC draw, void *aspect_info, DVTARGETDEVICE *td, HDC draw,
HDC target, const RECT *client, INT x, INT y ) HDC target, const RECT *client, INT x, INT y )
{ {
...@@ -240,7 +240,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxSetCursor( ITextServices *iface ...@@ -240,7 +240,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxSetCursor( ITextServices *iface
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxQueryHitPoint,44) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxQueryHitPoint,44)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxQueryHitPoint(ITextServices *iface, DWORD dwDrawAspect, LONG lindex, HRESULT __thiscall fnTextSrv_TxQueryHitPoint(ITextServices *iface, DWORD dwDrawAspect, LONG lindex,
void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcDraw, void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcDraw,
HDC hicTargetDev, LPCRECT lprcClient, INT x, INT y, HDC hicTargetDev, LPCRECT lprcClient, INT x, INT y,
DWORD *pHitResult) DWORD *pHitResult)
...@@ -252,7 +252,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxQueryHitPoint(ITextServices *ifac ...@@ -252,7 +252,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxQueryHitPoint(ITextServices *ifac
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxInPlaceActivate,8) DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxInPlaceActivate,8)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxInPlaceActivate( ITextServices *iface, const RECT *client ) HRESULT __thiscall fnTextSrv_OnTxInPlaceActivate( ITextServices *iface, const RECT *client )
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
HRESULT hr; HRESULT hr;
...@@ -272,7 +272,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxInPlaceActivate( ITextServices ...@@ -272,7 +272,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxInPlaceActivate( ITextServices
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxInPlaceDeactivate,4) DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxInPlaceDeactivate,4)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxInPlaceDeactivate(ITextServices *iface) HRESULT __thiscall fnTextSrv_OnTxInPlaceDeactivate(ITextServices *iface)
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -282,7 +282,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxInPlaceDeactivate(ITextServices ...@@ -282,7 +282,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxInPlaceDeactivate(ITextServices
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxUIActivate,4) DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxUIActivate,4)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxUIActivate(ITextServices *iface) HRESULT __thiscall fnTextSrv_OnTxUIActivate(ITextServices *iface)
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -291,7 +291,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxUIActivate(ITextServices *iface ...@@ -291,7 +291,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxUIActivate(ITextServices *iface
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxUIDeactivate,4) DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxUIDeactivate,4)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxUIDeactivate(ITextServices *iface) HRESULT __thiscall fnTextSrv_OnTxUIDeactivate(ITextServices *iface)
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -300,7 +300,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxUIDeactivate(ITextServices *ifa ...@@ -300,7 +300,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxUIDeactivate(ITextServices *ifa
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetText,8) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetText,8)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetText( ITextServices *iface, BSTR *text ) HRESULT __thiscall fnTextSrv_TxGetText( ITextServices *iface, BSTR *text )
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
int length; int length;
...@@ -323,7 +323,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetText( ITextServices *iface, BS ...@@ -323,7 +323,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetText( ITextServices *iface, BS
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxSetText,8) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxSetText,8)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxSetText( ITextServices *iface, const WCHAR *text ) HRESULT __thiscall fnTextSrv_TxSetText( ITextServices *iface, const WCHAR *text )
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
ME_Cursor cursor; ME_Cursor cursor;
...@@ -341,7 +341,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxSetText( ITextServices *iface, co ...@@ -341,7 +341,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxSetText( ITextServices *iface, co
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetCurTargetX,8) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetCurTargetX,8)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetCurTargetX(ITextServices *iface, LONG *x) HRESULT __thiscall fnTextSrv_TxGetCurTargetX(ITextServices *iface, LONG *x)
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -350,7 +350,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetCurTargetX(ITextServices *ifac ...@@ -350,7 +350,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetCurTargetX(ITextServices *ifac
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetBaseLinePos,8) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetBaseLinePos,8)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetBaseLinePos(ITextServices *iface, LONG *x) HRESULT __thiscall fnTextSrv_TxGetBaseLinePos(ITextServices *iface, LONG *x)
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -359,7 +359,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetBaseLinePos(ITextServices *ifa ...@@ -359,7 +359,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetBaseLinePos(ITextServices *ifa
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetNaturalSize,36) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetNaturalSize,36)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetNaturalSize( ITextServices *iface, DWORD aspect, HDC draw, HRESULT __thiscall fnTextSrv_TxGetNaturalSize( ITextServices *iface, DWORD aspect, HDC draw,
HDC target, DVTARGETDEVICE *td, DWORD mode, HDC target, DVTARGETDEVICE *td, DWORD mode,
const SIZEL *extent, LONG *width, LONG *height ) const SIZEL *extent, LONG *width, LONG *height )
{ {
...@@ -399,7 +399,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetNaturalSize( ITextServices *if ...@@ -399,7 +399,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetNaturalSize( ITextServices *if
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetDropTarget,8) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetDropTarget,8)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetDropTarget(ITextServices *iface, IDropTarget **ppDropTarget) HRESULT __thiscall fnTextSrv_TxGetDropTarget(ITextServices *iface, IDropTarget **ppDropTarget)
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
...@@ -408,7 +408,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetDropTarget(ITextServices *ifac ...@@ -408,7 +408,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetDropTarget(ITextServices *ifac
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxPropertyBitsChange,12) DEFINE_THISCALL_WRAPPER(fnTextSrv_OnTxPropertyBitsChange,12)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxPropertyBitsChange( ITextServices *iface, DWORD mask, DWORD bits ) HRESULT __thiscall fnTextSrv_OnTxPropertyBitsChange( ITextServices *iface, DWORD mask, DWORD bits )
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
DWORD scrollbars; DWORD scrollbars;
...@@ -472,7 +472,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxPropertyBitsChange( ITextServic ...@@ -472,7 +472,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxPropertyBitsChange( ITextServic
} }
DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetCachedSize,12) DEFINE_THISCALL_WRAPPER(fnTextSrv_TxGetCachedSize,12)
DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetCachedSize(ITextServices *iface, DWORD *pdwWidth, DWORD *pdwHeight) HRESULT __thiscall fnTextSrv_TxGetCachedSize(ITextServices *iface, DWORD *pdwWidth, DWORD *pdwHeight)
{ {
struct text_services *services = impl_from_ITextServices( iface ); struct text_services *services = impl_from_ITextServices( iface );
......
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