Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c04ab166
Commit
c04ab166
authored
Jul 05, 2023
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Jul 05, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Remove DECLSPEC_HIDDEN usage.
parent
5312580a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
44 deletions
+44
-44
editor.h
dlls/riched20/editor.h
+0
-0
rtf.h
dlls/riched20/rtf.h
+26
-26
txthost.c
dlls/riched20/txthost.c
+0
-0
txtsrv.c
dlls/riched20/txtsrv.c
+18
-18
No files found.
dlls/riched20/editor.h
View file @
c04ab166
This diff is collapsed.
Click to expand it.
dlls/riched20/rtf.h
View file @
c04ab166
...
...
@@ -1182,31 +1182,31 @@ struct _RTF_Info {
* Public RTF reader routines
*/
void
RTFInit
(
RTF_Info
*
)
DECLSPEC_HIDDEN
;
void
RTFDestroy
(
RTF_Info
*
info
)
DECLSPEC_HIDDEN
;
void
RTFSetDestinationCallback
(
RTF_Info
*
,
int
,
RTFFuncPtr
)
DECLSPEC_HIDDEN
;
void
RTFRead
(
RTF_Info
*
)
DECLSPEC_HIDDEN
;
int
RTFGetToken
(
RTF_Info
*
)
DECLSPEC_HIDDEN
;
/* writer should rarely need this */
void
RTFSetReadHook
(
RTF_Info
*
,
RTFFuncPtr
)
DECLSPEC_HIDDEN
;
void
RTFRouteToken
(
RTF_Info
*
)
DECLSPEC_HIDDEN
;
void
RTFSkipGroup
(
RTF_Info
*
)
DECLSPEC_HIDDEN
;
void
RTFReadGroup
(
RTF_Info
*
)
DECLSPEC_HIDDEN
;
int
RTFCheckCM
(
const
RTF_Info
*
,
int
,
int
)
DECLSPEC_HIDDEN
;
int
RTFCheckCMM
(
const
RTF_Info
*
,
int
,
int
,
int
)
DECLSPEC_HIDDEN
;
int
RTFCheckMM
(
const
RTF_Info
*
,
int
,
int
)
DECLSPEC_HIDDEN
;
RTFFont
*
RTFGetFont
(
const
RTF_Info
*
,
int
)
DECLSPEC_HIDDEN
;
RTFColor
*
RTFGetColor
(
const
RTF_Info
*
,
int
)
DECLSPEC_HIDDEN
;
int
RTFCharToHex
(
char
)
DECLSPEC_HIDDEN
;
void
RTFFlushOutputBuffer
(
RTF_Info
*
info
)
DECLSPEC_HIDDEN
;
void
RTFSetEditStream
(
RTF_Info
*
info
,
ME_InStream
*
stream
)
DECLSPEC_HIDDEN
;
void
WriterInit
(
RTF_Info
*
)
DECLSPEC_HIDDEN
;
int
BeginFile
(
RTF_Info
*
)
DECLSPEC_HIDDEN
;
int
RTFCharSetToCodePage
(
RTF_Info
*
info
,
int
charset
)
DECLSPEC_HIDDEN
;
void
LookupInit
(
void
)
DECLSPEC_HIDDEN
;
void
LookupCleanup
(
void
)
DECLSPEC_HIDDEN
;
void
RTFInit
(
RTF_Info
*
);
void
RTFDestroy
(
RTF_Info
*
info
);
void
RTFSetDestinationCallback
(
RTF_Info
*
,
int
,
RTFFuncPtr
);
void
RTFRead
(
RTF_Info
*
);
int
RTFGetToken
(
RTF_Info
*
);
/* writer should rarely need this */
void
RTFSetReadHook
(
RTF_Info
*
,
RTFFuncPtr
);
void
RTFRouteToken
(
RTF_Info
*
);
void
RTFSkipGroup
(
RTF_Info
*
);
void
RTFReadGroup
(
RTF_Info
*
);
int
RTFCheckCM
(
const
RTF_Info
*
,
int
,
int
);
int
RTFCheckCMM
(
const
RTF_Info
*
,
int
,
int
,
int
);
int
RTFCheckMM
(
const
RTF_Info
*
,
int
,
int
);
RTFFont
*
RTFGetFont
(
const
RTF_Info
*
,
int
);
RTFColor
*
RTFGetColor
(
const
RTF_Info
*
,
int
);
int
RTFCharToHex
(
char
);
void
RTFFlushOutputBuffer
(
RTF_Info
*
info
);
void
RTFSetEditStream
(
RTF_Info
*
info
,
ME_InStream
*
stream
);
void
WriterInit
(
RTF_Info
*
);
int
BeginFile
(
RTF_Info
*
);
int
RTFCharSetToCodePage
(
RTF_Info
*
info
,
int
charset
);
void
LookupInit
(
void
);
void
LookupCleanup
(
void
);
#endif
dlls/riched20/txthost.c
View file @
c04ab166
This diff is collapsed.
Click to expand it.
dlls/riched20/txtsrv.c
View file @
c04ab166
...
...
@@ -117,7 +117,7 @@ static ULONG WINAPI fnTextSrv_Release(ITextServices *iface)
}
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
)
{
struct
text_services
*
services
=
impl_from_ITextServices
(
iface
);
...
...
@@ -150,7 +150,7 @@ static HRESULT update_client_rect( struct text_services *services, const RECT *c
}
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
,
const
RECTL
*
bounds
,
const
RECTL
*
mf_bounds
,
RECT
*
update
,
BOOL
(
CALLBACK
*
continue_fn
)(
DWORD
),
DWORD
continue_param
,
...
...
@@ -194,7 +194,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxDraw( ITextServices *iface, DWORD
}
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
)
{
struct
text_services
*
services
=
impl_from_ITextServices
(
iface
);
...
...
@@ -208,7 +208,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetHScroll( ITextServices *iface,
}
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
)
{
struct
text_services
*
services
=
impl_from_ITextServices
(
iface
);
...
...
@@ -222,7 +222,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetVScroll( ITextServices *iface,
}
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
,
HDC
target
,
const
RECT
*
client
,
INT
x
,
INT
y
)
{
...
...
@@ -240,7 +240,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxSetCursor( ITextServices *iface
}
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
,
HDC
hicTargetDev
,
LPCRECT
lprcClient
,
INT
x
,
INT
y
,
DWORD
*
pHitResult
)
...
...
@@ -252,7 +252,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxQueryHitPoint(ITextServices *ifac
}
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
);
HRESULT
hr
;
...
...
@@ -272,7 +272,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxInPlaceActivate( ITextServices
}
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
);
...
...
@@ -282,7 +282,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxInPlaceDeactivate(ITextServices
}
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
);
...
...
@@ -291,7 +291,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxUIActivate(ITextServices *iface
}
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
);
...
...
@@ -300,7 +300,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxUIDeactivate(ITextServices *ifa
}
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
);
int
length
;
...
...
@@ -323,7 +323,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetText( ITextServices *iface, BS
}
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
);
ME_Cursor
cursor
;
...
...
@@ -341,7 +341,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxSetText( ITextServices *iface, co
}
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
);
...
...
@@ -350,7 +350,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetCurTargetX(ITextServices *ifac
}
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
);
...
...
@@ -359,7 +359,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetBaseLinePos(ITextServices *ifa
}
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
,
const
SIZEL
*
extent
,
LONG
*
width
,
LONG
*
height
)
{
...
...
@@ -399,7 +399,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetNaturalSize( ITextServices *if
}
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
);
...
...
@@ -408,7 +408,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_TxGetDropTarget(ITextServices *ifac
}
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
);
DWORD
scrollbars
;
...
...
@@ -472,7 +472,7 @@ DECLSPEC_HIDDEN HRESULT __thiscall fnTextSrv_OnTxPropertyBitsChange( ITextServic
}
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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment