Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
33059008
Commit
33059008
authored
Jul 21, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Jul 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf.idl: Added more interfaces.
parent
a2611375
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
332 additions
and
0 deletions
+332
-0
msctf.idl
include/msctf.idl
+332
-0
No files found.
include/msctf.idl
View file @
33059008
...
...
@@ -33,9 +33,16 @@ cpp_quote("HRESULT WINAPI TF_CreateThreadMgr(ITfThreadMgr **pptim);")
cpp_quote
(
"HRESULT WINAPI TF_GetThreadMgr(ITfThreadMgr **pptim);"
)
cpp_quote
(
"HRESULT WINAPI TF_CreateInputProcessorProfiles(ITfInputProcessorProfiles **ppipr);"
)
cpp_quote
(
"EXTERN_C const GUID GUID_PROP_TEXTOWNER;"
)
cpp_quote
(
"DEFINE_GUID(GUID_PROP_ATTRIBUTE,0x34b45670,0x7526,0x11d2,0xa1,0x47,0x00,0x10,0x5a,0x27,0x99,0xb5);"
)
cpp_quote
(
"EXTERN_C const GUID GUID_PROP_LANGID;"
)
cpp_quote
(
"EXTERN_C const GUID GUID_PROP_READING;"
)
cpp_quote
(
"EXTERN_C const GUID GUID_PROP_COMPOSING;"
)
cpp_quote
(
"EXTERN_C const CLSID CLSID_TF_ThreadMgr;"
)
cpp_quote
(
"EXTERN_C const CLSID CLSID_TF_InputProcessorProfiles;"
)
cpp_quote
(
"EXTERN_C const CLSID CLSID_TF_CategoryMgr;"
)
cpp_quote
(
"DEFINE_GUID(CLSID_TF_DisplayAttributeMgr,0x3ce74de4,0x53d3,0x4d74,0x8b,0x83,0x43,0x1b,0x38,0x28,0xba,0x53);"
)
/*
GUIDs
for
Compartments
*/
cpp_quote
(
"EXTERN_C const GUID GUID_COMPARTMENT_KEYBOARD_DISABLED;"
)
...
...
@@ -150,6 +157,17 @@ interface ITfThreadMgr: IUnknown
[
out
]
ITfCompartmentMgr
**
ppCompMgr
)
;
}
;
[
object
,
uuid
(
d7540241
-
f9a1
-
4364
-
befc
-
dbcd2c4395b7
),
pointer_default
(
unique
)
]
interface
ITfCompositionView
:
IUnknown
{
HRESULT
GetOwnerClsid
(
[
out
]
CLSID
*
pclsid
)
;
HRESULT
GetRange
(
[
out
]
ITfRange
**
ppRange
)
;
}
[
object
,
...
...
@@ -401,6 +419,109 @@ interface ITfInputProcessorProfiles : IUnknown
[
in
]
HKL
hKL
)
;
}
;
typedef
[
uuid
(
c4cc07f1
-
80
cc
-
4
a7b
-
bc54
-
98512782
cbe3
)
]
enum
{
TF_LS_NONE
=
0
,
TF_LS_SOLID
=
1
,
TF_LS_DOT
=
2
,
TF_LS_DASH
=
3
,
TF_LS_SQUIGGLE
=
4
}
TF_DA_LINESTYLE
;
typedef
[
uuid
(
d9b92e21
-
084
a
-
401b
-
9
c64
-
1
e6dad91a1ab
)
]
enum
{
TF_CT_NONE
=
0
,
TF_CT_SYSCOLOR
=
1
,
TF_CT_COLORREF
=
2
}
TF_DA_COLORTYPE
;
typedef
[
uuid
(
90
d0cb5e
-
6520
-
4
a0f
-
b47c
-
c39bd955f0d6
)
]
struct
TF_DA_COLOR
{
TF_DA_COLORTYPE
type
;
[
switch_type
(
TF_DA_COLORTYPE
),
switch_is
(
type
)
]
union
{
[
case
(
TF_CT_SYSCOLOR
)
]
int
nIndex
;
[
case
(
TF_CT_COLORREF
)
]
COLORREF
cr
;
}
;
}
TF_DA_COLOR
;
typedef
[
uuid
(
33
d2fe4b
-
6
c24
-
4
f67
-
8
d75
-
3b
c1819e4126
)
]
enum
{
TF_ATTR_INPUT
=
0
,
TF_ATTR_TARGET_CONVERTED
=
1
,
TF_ATTR_CONVERTED
=
2
,
TF_ATTR_TARGET_NOTCONVERTED
=
3
,
TF_ATTR_INPUT_ERROR
=
4
,
TF_ATTR_FIXEDCONVERTED
=
5
,
TF_ATTR_OTHER
=
-
1
}
TF_DA_ATTR_INFO
;
typedef
[
uuid
(
1b
f1c305
-
419b
-
4182
-
a4d2
-
9b
fadc3f021f
)
]
struct
TF_DISPLAYATTRIBUTE
{
TF_DA_COLOR
crText
;
TF_DA_COLOR
crBk
;
TF_DA_LINESTYLE
lsStyle
;
BOOL
fBoldLine
;
TF_DA_COLOR
crLine
;
TF_DA_ATTR_INFO
bAttr
;
}
TF_DISPLAYATTRIBUTE
;
[
object
,
uuid
(
70528852
-
2
f26
-
4
aea
-
8
c96
-
215150578932
),
pointer_default
(
unique
)
]
interface
ITfDisplayAttributeInfo
:
IUnknown
{
HRESULT
GetGUID
(
[
out
]
GUID
*
pguid
)
;
HRESULT
GetDescription
(
[
out
]
BSTR
*
pbstrDesc
)
;
HRESULT
GetAttributeInfo
(
[
out
]
TF_DISPLAYATTRIBUTE
*
pda
)
;
HRESULT
SetAttributeInfo
(
[
in
]
const
TF_DISPLAYATTRIBUTE
*
pda
)
;
HRESULT
Reset
()
;
}
[
object
,
uuid
(
7
cef04d7
-
cb75
-
4
e80
-
a7ab
-
5
f5bc7d332de
),
pointer_default
(
unique
)
]
interface
IEnumTfDisplayAttributeInfo
:
IUnknown
{
HRESULT
Clone
(
[
out
]
IEnumTfDisplayAttributeInfo
**
ppEnum
)
;
HRESULT
Next
(
[
in
]
ULONG
ulCount
,
[
out
,
size_is
(
ulCount
),
length_is
(
*
pcFetched
)
]
ITfDisplayAttributeInfo
**
rgInfo
,
[
out
]
ULONG
*
pcFetched
)
;
HRESULT
Reset
()
;
HRESULT
Skip
(
[
in
]
ULONG
ulCount
)
;
}
[
object
,
local
,
uuid
(
8
ded7393
-
5
db1
-
475
c
-
9
e71
-
a39111b0ff67
),
pointer_default
(
unique
)
]
interface
ITfDisplayAttributeMgr
:
IUnknown
{
HRESULT
OnUpdateInfo
()
;
HRESULT
EnumDisplayAttributeInfo
(
[
out
]
IEnumTfDisplayAttributeInfo
**
ppEnum
)
;
HRESULT
GetDisplayAttributeInfo
(
[
in
]
REFGUID
guid
,
[
out
]
ITfDisplayAttributeInfo
**
ppInfo
,
[
out
]
CLSID
*
pclsidOwner
)
;
}
[
object
,
local
,
...
...
@@ -886,6 +1007,20 @@ interface ITfRange : IUnknown
[
object
,
uuid
(
057
a6296
-
029b
-
4154
-
b79a
-
0
d461d4ea94c
),
pointer_default
(
unique
)
]
interface
ITfRangeACP
:
ITfRange
{
HRESULT
GetExtent
(
[
out
]
LONG
*
pacpAnchor
,
[
out
]
LONG
*
pcch
)
;
HRESULT
SetExtent
(
[
in
]
LONG
acpAnchor
,
[
in
]
LONG
cch
)
;
}
[
object
,
uuid
(
55
ce16ba
-
3014
-
41
c1
-
9
ceb
-
fade1446ac6c
),
pointer_default
(
unique
)
]
...
...
@@ -910,6 +1045,203 @@ interface ITfInsertAtSelection : IUnknown
}
;
[
object
,
uuid
(
6834b120
-
88
cb
-
11
d2
-
bf45
-
00105
a2799b5
),
pointer_default
(
unique
)
]
interface
ITfPropertyStore
:
IUnknown
{
const
DWORD
TF_TU_CORRECTION
=
0
x1
;
HRESULT
GetType
(
[
out
]
GUID
*
pguid
)
;
HRESULT
GetDataType
(
[
out
]
DWORD
*
pdwReserved
)
;
HRESULT
GetData
(
[
out
]
VARIANT
*
pvarValue
)
;
HRESULT
OnTextUpdated
(
[
in
]
DWORD
dwFlags
,
[
in
]
ITfRange
*
pRangeNew
,
[
out
]
BOOL
*
pfAccept
)
;
HRESULT
Shrink
(
[
in
]
ITfRange
*
pRangeNew
,
[
out
]
BOOL
*
pfFree
)
;
HRESULT
Divide
(
[
in
]
ITfRange
*
pRangeThis
,
[
in
]
ITfRange
*
pRangeNew
,
[
out
]
ITfPropertyStore
**
ppPropStore
)
;
HRESULT
Clone
(
[
out
]
ITfPropertyStore
**
pPropStore
)
;
HRESULT
GetPropertyRangeCreator
(
[
out
]
CLSID
*
pclsid
)
;
HRESULT
Serialize
(
[
in
]
IStream
*
pStream
,
[
out
]
ULONG
*
pcb
)
;
}
[
object
,
uuid
(
f99d3f40
-
8
e32
-
11
d2
-
bf46
-
00105
a2799b5
),
pointer_default
(
unique
)
]
interface
IEnumTfRanges
:
IUnknown
{
HRESULT
Clone
(
[
out
]
IEnumTfRanges
**
ppEnum
)
;
HRESULT
Next
(
[
in
]
ULONG
ulCount
,
[
out
,
size_is
(
ulCount
),
length_is
(
*
pcFetched
)
]
ITfRange
**
ppRange
,
[
out
]
ULONG
*
pcFetched
)
;
HRESULT
Reset
()
;
HRESULT
Skip
(
ULONG
ulCount
)
;
}
[
object
,
uuid
(
5
efd22Ba
-
7838
-
46
cb
-
88
e2
-
cadb14124f8f
),
pointer_default
(
unique
)
]
interface
IEnumITfCompositionView
:
IUnknown
{
HRESULT
Clone
(
[
out
]
IEnumITfCompositionView
**
ppEnum
)
;
HRESULT
Next
(
[
in
]
ULONG
ulCount
,
[
out
,
size_is
(
ulCount
),
length_is
(
*
pcFetched
)
]
ITfCompositionView
**
rgCompositionView
,
[
out
]
ULONG
*
pcFetched
)
;
HRESULT
Reset
()
;
HRESULT
Skip
(
[
in
]
ULONG
ulCount
)
;
}
[
object
,
uuid
(
20168
d64
-
5
a8f
-
4
a5a
-
b7bd
-
cfa29f4D0fd9
),
pointer_default
(
unique
)
]
interface
ITfComposition
:
IUnknown
{
HRESULT
GetRange
(
[
out
]
ITfRange
**
ppRange
)
;
HRESULT
ShiftStart
(
[
in
]
TfEditCookie
ecWrite
,
[
in
]
ITfRange
*
pNewStart
)
;
HRESULT
ShiftEnd
(
[
in
]
TfEditCookie
ecWrite
,
[
in
]
ITfRange
*
pNewEnd
)
;
HRESULT
EndComposition
(
[
in
]
TfEditCookie
ecWrite
)
;
}
[
object
,
uuid
(
a781718c
-
579
a
-
4b15
-
a280
-
32b8577
acc5e
),
pointer_default
(
unique
)
]
interface
ITfCompositionSink
:
IUnknown
{
HRESULT
OnCompositionTerminated
(
[
in
]
TfEditCookie
ecWrite
,
[
in
]
ITfComposition
*
pComposition
)
;
}
[
object
,
uuid
(
d40C8aae
-
aC92
-
4
fc7
-
9
a11
-
0
ee0e23aa39b
),
pointer_default
(
unique
)
]
interface
ITfContextComposition
:
IUnknown
{
HRESULT
StartComposition
(
[
in
]
TfEditCookie
ecWrite
,
[
in
]
ITfRange
*
pCompositionRange
,
[
in
]
ITfCompositionSink
*
pSink
,
[
out
]
ITfComposition
**
ppComposition
)
;
HRESULT
EnumCompositions
(
[
out
]
IEnumITfCompositionView
**
ppEnum
)
;
HRESULT
FindComposition
(
[
in
]
TfEditCookie
ecRead
,
[
in
]
ITfRange
*
pTestRange
,
[
out
]
IEnumITfCompositionView
**
ppEnum
)
;
HRESULT
TakeOwnership
(
[
in
]
TfEditCookie
ecWrite
,
[
in
]
ITfCompositionView
*
pComposition
,
[
in
]
ITfCompositionSink
*
pSink
,
[
out
]
ITfComposition
**
ppComposition
)
;
}
[
object
,
uuid
(
86462810
-
593b
-
4916
-
9764
-
19
c08e9ce110
),
pointer_default
(
unique
)
]
interface
ITfContextOwnerCompositionServices
:
ITfContextComposition
{
HRESULT
TerminateComposition
(
[
in
]
ITfCompositionView
*
pComposition
)
;
}
[
object
,
uuid
(
17
d49a3d
-
f8b8
-
4b2
f
-
b254
-
52319
dd64c53
),
pointer_default
(
unique
)
]
interface
ITfReadOnlyProperty
:
IUnknown
{
HRESULT
GetType
(
[
out
]
GUID
*
pguid
)
;
HRESULT
EnumRanges
(
[
in
]
TfEditCookie
ec
,
[
out
]
IEnumTfRanges
**
ppEnum
,
[
in
]
ITfRange
*
pTargetRange
)
;
HRESULT
GetValue
(
[
in
]
TfEditCookie
ec
,
[
in
]
ITfRange
*
pRange
,
[
out
]
VARIANT
*
pvarValue
)
;
HRESULT
GetContext
(
[
out
]
ITfContext
**
ppContext
)
;
}
[
object
,
uuid
(
e2449660
-
9542
-
11
d2
-
bf46
-
00105
a2799b5
),
pointer_default
(
unique
)
]
interface
ITfProperty
:
ITfReadOnlyProperty
{
HRESULT
FindRange
(
[
in
]
TfEditCookie
ec
,
[
in
]
ITfRange
*
pRange
,
[
out
]
ITfRange
**
ppRange
,
[
in
]
TfAnchor
aPos
)
;
HRESULT
SetValueStore
(
[
in
]
TfEditCookie
ec
,
[
in
]
ITfRange
*
pRange
,
[
in
]
ITfPropertyStore
*
pPropStore
)
;
HRESULT
SetValue
(
[
in
]
TfEditCookie
ec
,
[
in
]
ITfRange
*
pRange
,
[
in
]
const
VARIANT
*
pvarValue
)
;
HRESULT
Clear
(
[
in
]
TfEditCookie
ec
,
[
in
]
ITfRange
*
pRange
)
;
}
[
object
,
uuid
(
bb08f7a9
-
607
a
-
4384
-
8623
-
056892b64371
),
pointer_default
(
unique
)
...
...
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