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
5e7493d5
Commit
5e7493d5
authored
Feb 05, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 06, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Define ITextStoreACP.
parent
44148fe9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
187 additions
and
2 deletions
+187
-2
textstor.idl
include/textstor.idl
+187
-2
No files found.
include/textstor.idl
View file @
5e7493d5
...
...
@@ -30,6 +30,10 @@ const DWORD TS_SS_REGIONS = 0x002;
const
DWORD
TS_SS_TRANSITORY
=
0
x004
;
const
DWORD
TS_SS_NOHIDDENTEXT
=
0
x008
;
typedef
[
uuid
(
05
fcf85b
-
5
e9c
-
4
c3e
-
ab71
-
29471
d4f38e7
)
]
enum
{
TS_AE_NONE
,
TS_AE_START
,
TS_AE_END
}
TsActiveSelEnd
;
typedef
[
uuid
(
033b0
df0
-
f193
-
4170
-
b47b
-
141
afc247878
)
]
enum
{
TS_RT_PLAIN
,
TS_RT_HIDDEN
,
TS_RT_OPAQUE
}
TsRunType
;
typedef
[
uuid
(
ef3457d9
-
8446
-
49
a7
-
a9e6
-
b50d9d5f3fd9
)
]
GUID
TS_ATTRID
;
typedef
[
uuid
(
fec4f516
-
c503
-
45b1
-
a5fd
-
7
a3d8ab07049
)
]
struct
TS_STATUS
{
DWORD
dwDynamicFlags
;
...
...
@@ -43,11 +47,35 @@ typedef [uuid(f3181bd6-bcf0-41d3-a81c-474b17ec38fb)] struct TS_TEXTCHANGE
LONG
acpNewEnd
;
}
TS_TEXTCHANGE
;
typedef
[
uuid
(
ef3457d9
-
8446
-
49
a7
-
a9e6
-
b50d9d5f3fd9
)
]
GUID
TS_ATTRID
;
typedef
[
uuid
(
7
ecc3ffa
-
8
f73
-
4
d91
-
98
ed
-
76
f8ac5b1600
)
]
struct
TS_SELECTIONSTYLE
{
TsActiveSelEnd
ase
;
BOOL
fInterimChar
;
}
TS_SELECTIONSTYLE
;
typedef
[
uuid
(
c4b9c33b
-
8
a0d
-
4426
-
bebe
-
d444a4701fe9
)
]
struct
TS_SELECTION_ACP
{
LONG
acpStart
;
LONG
acpEnd
;
TS_SELECTIONSTYLE
style
;
}
TS_SELECTION_ACP
;
typedef
[
uuid
(
a6231949
-
37
c5
-
4b74
-
a24e
-
2
a26c327201d
)
]
struct
TS_RUNINFO
{
ULONG
uCount
;
TsRunType
type
;
}
TS_RUNINFO
;
typedef
[
uuid
(
2
cc2b33f
-
1174
-
4507
-
b8d9
-
5b
c0eb37c197
)
]
struct
TS_ATTRVAL
{
TS_ATTRID
idAttr
;
DWORD
dwOverlapId
;
VARIANT
varValue
;
}
TS_ATTRVAL
;
typedef
[
uuid
(
7899
d7c4
-
5
f07
-
493
c
-
a89a
-
fac8e777f476
)
]
enum
{
TS_LC_CREATE
,
TS_LC_CHANGE
,
TS_LC_DESTROY
}
TsLayoutCode
;
typedef
[
uuid
(
1
faf509e
-
44
c1
-458e-950
a
-
38
a96705a62b
)
]
DWORD
TsViewCookie
;
[
object
,
uuid
(
22
d44c94
-
a419
-
4542
-
a272
-
ae26093ececf
),
...
...
@@ -81,3 +109,160 @@ interface ITextStoreACPSink : IUnknown
HRESULT
OnEndEditTransaction
()
;
}
;
[
object
,
uuid
(
28888
fe3
-
c2a0
-
483
a
-
a3ea
-
8
cb1ce51ff3d
),
pointer_default
(
unique
)
]
interface
ITextStoreACP
:
IUnknown
{
HRESULT
AdviseSink
(
[
in
]
REFIID
riid
,
[
in
,
iid_is
(
riid
)
]
IUnknown
*
punk
,
[
in
]
DWORD
dwMask
)
;
HRESULT
UnadviseSink
(
[
in
]
IUnknown
*
punk
)
;
HRESULT
RequestLock
(
[
in
]
DWORD
dwLockFlags
,
[
out
]
HRESULT
*
phrSession
)
;
HRESULT
GetStatus
(
[
out
]
TS_STATUS
*
pdcs
)
;
HRESULT
QueryInsert
(
[
in
]
LONG
acpTestStart
,
[
in
]
LONG
acpTestEnd
,
[
in
]
ULONG
cch
,
[
out
]
LONG
*
pacpResultStart
,
[
out
]
LONG
*
pacpResultEnd
)
;
HRESULT
GetSelection
(
[
in
]
ULONG
ulIndex
,
[
in
]
ULONG
ulCount
,
[
out
,
size_is
(
ulCount
),
length_is
(
*
pcFetched
)
]
TS_SELECTION_ACP
*
pSelection
,
[
out
]
ULONG
*
pcFetched
)
;
HRESULT
SetSelection
(
[
in
]
ULONG
ulCount
,
[
in
,
size_is
(
ulCount
)
]
const
TS_SELECTION_ACP
*
pSelection
)
;
HRESULT
GetText
(
[
in
]
LONG
acpStart
,
[
in
]
LONG
acpEnd
,
[
out
,
size_is
(
cchPlainReq
),
length_is
(
*
pcchPlainRet
)
]
WCHAR
*
pchPlain
,
[
in
]
ULONG
cchPlainReq
,
[
out
]
ULONG
*
pcchPlainRet
,
[
out
,
size_is
(
cRunInfoReq
),
length_is
(
*
pcRunInfoRet
)
]
TS_RUNINFO
*
prgRunInfo
,
[
in
]
ULONG
cRunInfoReq
,
[
out
]
ULONG
*
pcRunInfoRet
,
[
out
]
LONG
*
pacpNext
)
;
HRESULT
SetText
(
[
in
]
DWORD
dwFlags
,
[
in
]
LONG
acpStart
,
[
in
]
LONG
acpEnd
,
[
in
,
size_is
(
cch
)
]
const
WCHAR
*
pchText
,
[
in
]
ULONG
cch
,
[
out
]
TS_TEXTCHANGE
*
pChange
)
;
HRESULT
GetFormattedText
(
[
in
]
LONG
acpStart
,
[
in
]
LONG
acpEnd
,
[
out
]
IDataObject
**
ppDataObject
)
;
HRESULT
GetEmbedded
(
[
in
]
LONG
acpPos
,
[
in
]
REFGUID
rguidService
,
[
in
]
REFIID
riid
,
[
out
,
iid_is
(
riid
)
]
IUnknown
**
ppunk
)
;
HRESULT
QueryInsertEmbedded
(
[
in
]
const
GUID
*
pguidService
,
[
in
]
const
FORMATETC
*
pFormatEtc
,
[
out
]
BOOL
*
pfInsertable
)
;
HRESULT
InsertEmbedded
(
[
in
]
DWORD
dwFlags
,
[
in
]
LONG
acpStart
,
[
in
]
LONG
acpEnd
,
[
in
]
IDataObject
*
pDataObject
,
[
out
]
TS_TEXTCHANGE
*
pChange
)
;
HRESULT
InsertTextAtSelection
(
[
in
]
DWORD
dwFlags
,
[
in
,
size_is
(
cch
)
]
const
WCHAR
*
pchText
,
[
in
]
ULONG
cch
,
[
out
]
LONG
*
pacpStart
,
[
out
]
LONG
*
pacpEnd
,
[
out
]
TS_TEXTCHANGE
*
pChange
)
;
HRESULT
InsertEmbeddedAtSelection
(
[
in
]
DWORD
dwFlags
,
[
in
]
IDataObject
*
pDataObject
,
[
out
]
LONG
*
pacpStart
,
[
out
]
LONG
*
pacpEnd
,
[
out
]
TS_TEXTCHANGE
*
pChange
)
;
HRESULT
RequestSupportedAttrs
(
[
in
]
DWORD
dwFlags
,
[
in
]
ULONG
cFilterAttrs
,
[
in
,
size_is
(
cFilterAttrs
),
unique
]
const
TS_ATTRID
*
paFilterAttrs
)
;
HRESULT
RequestAttrsAtPosition
(
[
in
]
LONG
acpPos
,
[
in
]
ULONG
cFilterAttrs
,
[
in
,
size_is
(
cFilterAttrs
),
unique
]
const
TS_ATTRID
*
paFilterAttrs
,
[
in
]
DWORD
dwFlags
)
;
HRESULT
RequestAttrsTransitioningAtPosition
(
[
in
]
LONG
acpPos
,
[
in
]
ULONG
cFilterAttrs
,
[
in
,
size_is
(
cFilterAttrs
),
unique
]
const
TS_ATTRID
*
paFilterAttrs
,
[
in
]
DWORD
dwFlags
)
;
HRESULT
FindNextAttrTransition
(
[
in
]
LONG
acpStart
,
[
in
]
LONG
acpHalt
,
[
in
]
ULONG
cFilterAttrs
,
[
in
,
size_is
(
cFilterAttrs
),
unique
]
const
TS_ATTRID
*
paFilterAttrs
,
[
in
]
DWORD
dwFlags
,
[
out
]
LONG
*
pacpNext
,
[
out
]
BOOL
*
pfFound
,
[
out
]
LONG
*
plFoundOffset
)
;
HRESULT
RetrieveRequestedAttrs
(
[
in
]
ULONG
ulCount
,
[
out
,
size_is
(
ulCount
),
length_is
(
*
pcFetched
)
]
TS_ATTRVAL
*
paAttrVals
,
[
out
]
ULONG
*
pcFetched
)
;
HRESULT
GetEndACP
(
[
out
]
LONG
*
pacp
)
;
HRESULT
GetActiveView
(
[
out
]
TsViewCookie
*
pvcView
)
;
HRESULT
GetACPFromPoint
(
[
in
]
TsViewCookie
vcView
,
[
in
]
const
POINT
*
ptScreen
,
[
in
]
DWORD
dwFlags
,
[
out
]
LONG
*
pacp
)
;
HRESULT
GetTextExt
(
[
in
]
TsViewCookie
vcView
,
[
in
]
LONG
acpStart
,
[
in
]
LONG
acpEnd
,
[
out
]
RECT
*
prc
,
[
out
]
BOOL
*
pfClipped
)
;
HRESULT
GetScreenExt
(
[
in
]
TsViewCookie
vcView
,
[
out
]
RECT
*
prc
)
;
HRESULT
GetWnd
(
[
in
]
TsViewCookie
vcView
,
[
out
]
HWND
*
phwnd
)
;
}
;
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