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
b0db959e
Commit
b0db959e
authored
Jun 16, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 16, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Improve tracing for unimplemented range methods.
parent
0edeb9b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
150 additions
and
85 deletions
+150
-85
riched_tom.idl
dlls/riched20/riched_tom.idl
+1
-1
richole.c
dlls/riched20/richole.c
+148
-83
tom.idl
include/tom.idl
+1
-1
No files found.
dlls/riched20/riched_tom.idl
View file @
b0db959e
...
...
@@ -337,7 +337,7 @@ interface ITextRange : IDispatch
HRESULT
Expand
(
[
in
]
LONG
unit
,
[
retval
,
out
]
LONG
*
delta
)
;
HRESULT
GetIndex
(
[
in
]
LONG
unit
,
[
retval
,
out
]
LONG
*
index
)
;
HRESULT
SetIndex
(
[
in
]
LONG
unit
,
[
in
]
LONG
index
,
[
in
]
LONG
extend
)
;
HRESULT
SetRange
(
[
in
]
LONG
a
ctive
,
[
in
]
LONG
other
)
;
HRESULT
SetRange
(
[
in
]
LONG
a
nchor
,
[
in
]
LONG
active
)
;
HRESULT
InRange
(
[
in
]
ITextRange
*
range
,
[
retval
,
out
]
LONG
*
pb
)
;
HRESULT
InStory
(
[
in
]
ITextRange
*
range
,
[
retval
,
out
]
LONG
*
pb
)
;
HRESULT
IsEqual
(
[
in
]
ITextRange
*
range
,
[
retval
,
out
]
LONG
*
pb
)
;
...
...
dlls/riched20/richole.c
View file @
b0db959e
...
...
@@ -1713,10 +1713,12 @@ static HRESULT WINAPI ITextRange_fnGetChar(ITextRange *me, LONG *pch)
static
HRESULT
WINAPI
ITextRange_fnSetChar
(
ITextRange
*
me
,
LONG
ch
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%x): stub
\n
"
,
This
,
ch
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
...
...
@@ -1737,23 +1739,27 @@ static HRESULT WINAPI ITextRange_fnGetDuplicate(ITextRange *me, ITextRange **ppR
return
CreateITextRange
(
This
->
child
.
reole
,
This
->
start
,
This
->
end
,
ppRange
);
}
static
HRESULT
WINAPI
ITextRange_fnGetFormattedText
(
ITextRange
*
me
,
ITextRange
**
ppR
ange
)
static
HRESULT
WINAPI
ITextRange_fnGetFormattedText
(
ITextRange
*
me
,
ITextRange
**
r
ange
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
range
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnSetFormattedText
(
ITextRange
*
me
,
ITextRange
*
pR
ange
)
static
HRESULT
WINAPI
ITextRange_fnSetFormattedText
(
ITextRange
*
me
,
ITextRange
*
r
ange
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
range
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
...
...
@@ -1896,14 +1902,15 @@ static HRESULT WINAPI ITextRange_fnGetPara(ITextRange *me, ITextPara **para)
return
create_textpara
(
me
,
para
);
}
static
HRESULT
WINAPI
ITextRange_fnSetPara
(
ITextRange
*
me
,
ITextPara
*
p
P
ara
)
static
HRESULT
WINAPI
ITextRange_fnSetPara
(
ITextRange
*
me
,
ITextPara
*
para
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
para
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
...
...
@@ -1959,44 +1966,52 @@ static HRESULT WINAPI ITextRange_fnCollapse(ITextRange *me, LONG bStart)
return
range_Collapse
(
bStart
,
&
This
->
start
,
&
This
->
end
);
}
static
HRESULT
WINAPI
ITextRange_fnExpand
(
ITextRange
*
me
,
LONG
Unit
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnExpand
(
ITextRange
*
me
,
LONG
unit
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %p): stub
\n
"
,
This
,
unit
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnGetIndex
(
ITextRange
*
me
,
LONG
Unit
,
LONG
*
pI
ndex
)
static
HRESULT
WINAPI
ITextRange_fnGetIndex
(
ITextRange
*
me
,
LONG
unit
,
LONG
*
i
ndex
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %p): stub
\n
"
,
This
,
unit
,
index
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnSetIndex
(
ITextRange
*
me
,
LONG
Unit
,
LONG
I
ndex
,
LONG
E
xtend
)
static
HRESULT
WINAPI
ITextRange_fnSetIndex
(
ITextRange
*
me
,
LONG
unit
,
LONG
i
ndex
,
LONG
e
xtend
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d %d): stub
\n
"
,
This
,
unit
,
index
,
extend
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnSetRange
(
ITextRange
*
me
,
LONG
cpActive
,
LONG
cpOther
)
static
HRESULT
WINAPI
ITextRange_fnSetRange
(
ITextRange
*
me
,
LONG
anchor
,
LONG
active
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d): stub
\n
"
,
This
,
anchor
,
active
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
...
...
@@ -2033,13 +2048,15 @@ static HRESULT WINAPI ITextRange_fnInRange(ITextRange *me, ITextRange *range, LO
return
textrange_inrange
(
This
->
start
,
This
->
end
,
range
,
ret
);
}
static
HRESULT
WINAPI
ITextRange_fnInStory
(
ITextRange
*
me
,
ITextRange
*
pRange
,
LONG
*
pb
)
static
HRESULT
WINAPI
ITextRange_fnInStory
(
ITextRange
*
me
,
ITextRange
*
pRange
,
LONG
*
ret
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
ret
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
...
...
@@ -2089,269 +2106,317 @@ static HRESULT WINAPI ITextRange_fnSelect(ITextRange *me)
return
S_OK
;
}
static
HRESULT
WINAPI
ITextRange_fnStartOf
(
ITextRange
*
me
,
LONG
Unit
,
LONG
E
xtend
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnStartOf
(
ITextRange
*
me
,
LONG
unit
,
LONG
e
xtend
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d %p): stub
\n
"
,
This
,
unit
,
extend
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnEndOf
(
ITextRange
*
me
,
LONG
Unit
,
LONG
E
xtend
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnEndOf
(
ITextRange
*
me
,
LONG
unit
,
LONG
e
xtend
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d %p): stub
\n
"
,
This
,
unit
,
extend
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMove
(
ITextRange
*
me
,
LONG
Unit
,
LONG
Count
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMove
(
ITextRange
*
me
,
LONG
unit
,
LONG
count
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d %p): stub
\n
"
,
This
,
unit
,
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMoveStart
(
ITextRange
*
me
,
LONG
Unit
,
LONG
C
ount
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMoveStart
(
ITextRange
*
me
,
LONG
unit
,
LONG
c
ount
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d %p): stub
\n
"
,
This
,
unit
,
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMoveEnd
(
ITextRange
*
me
,
LONG
Unit
,
LONG
C
ount
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMoveEnd
(
ITextRange
*
me
,
LONG
unit
,
LONG
c
ount
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d %p): stub
\n
"
,
This
,
unit
,
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMoveWhile
(
ITextRange
*
me
,
VARIANT
*
Cset
,
LONG
C
ount
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMoveWhile
(
ITextRange
*
me
,
VARIANT
*
charset
,
LONG
c
ount
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %p): stub
\n
"
,
This
,
debugstr_variant
(
charset
),
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMoveStartWhile
(
ITextRange
*
me
,
VARIANT
*
Cset
,
LONG
C
ount
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMoveStartWhile
(
ITextRange
*
me
,
VARIANT
*
charset
,
LONG
c
ount
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %p): stub
\n
"
,
This
,
debugstr_variant
(
charset
),
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMoveEndWhile
(
ITextRange
*
me
,
VARIANT
*
Cset
,
LONG
C
ount
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMoveEndWhile
(
ITextRange
*
me
,
VARIANT
*
charset
,
LONG
c
ount
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %p): stub
\n
"
,
This
,
debugstr_variant
(
charset
),
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMoveUntil
(
ITextRange
*
me
,
VARIANT
*
Cset
,
LONG
C
ount
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMoveUntil
(
ITextRange
*
me
,
VARIANT
*
charset
,
LONG
c
ount
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %p): stub
\n
"
,
This
,
debugstr_variant
(
charset
),
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMoveStartUntil
(
ITextRange
*
me
,
VARIANT
*
Cset
,
LONG
C
ount
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMoveStartUntil
(
ITextRange
*
me
,
VARIANT
*
charset
,
LONG
c
ount
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %p): stub
\n
"
,
This
,
debugstr_variant
(
charset
),
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnMoveEndUntil
(
ITextRange
*
me
,
VARIANT
*
Cset
,
LONG
C
ount
,
LONG
*
pD
elta
)
static
HRESULT
WINAPI
ITextRange_fnMoveEndUntil
(
ITextRange
*
me
,
VARIANT
*
charset
,
LONG
c
ount
,
LONG
*
d
elta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %p): stub
\n
"
,
This
,
debugstr_variant
(
charset
),
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnFindText
(
ITextRange
*
me
,
BSTR
bstr
,
LONG
cch
,
LONG
F
lags
,
LONG
*
pL
ength
)
static
HRESULT
WINAPI
ITextRange_fnFindText
(
ITextRange
*
me
,
BSTR
text
,
LONG
count
,
LONG
f
lags
,
LONG
*
l
ength
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %x %p): stub
\n
"
,
This
,
debugstr_w
(
text
),
count
,
flags
,
length
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnFindTextStart
(
ITextRange
*
me
,
BSTR
bstr
,
LONG
cch
,
LONG
Flags
,
LONG
*
pL
ength
)
static
HRESULT
WINAPI
ITextRange_fnFindTextStart
(
ITextRange
*
me
,
BSTR
text
,
LONG
count
,
LONG
flags
,
LONG
*
l
ength
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %x %p): stub
\n
"
,
This
,
debugstr_w
(
text
),
count
,
flags
,
length
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnFindTextEnd
(
ITextRange
*
me
,
BSTR
bstr
,
LONG
cch
,
LONG
Flags
,
LONG
*
pL
ength
)
static
HRESULT
WINAPI
ITextRange_fnFindTextEnd
(
ITextRange
*
me
,
BSTR
text
,
LONG
count
,
LONG
flags
,
LONG
*
l
ength
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %d %x %p): stub
\n
"
,
This
,
debugstr_w
(
text
),
count
,
flags
,
length
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnDelete
(
ITextRange
*
me
,
LONG
Unit
,
LONG
Count
,
LONG
*
pDelta
)
static
HRESULT
WINAPI
ITextRange_fnDelete
(
ITextRange
*
me
,
LONG
unit
,
LONG
count
,
LONG
*
delta
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d %p): stub
\n
"
,
This
,
unit
,
count
,
delta
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnCut
(
ITextRange
*
me
,
VARIANT
*
pVar
)
static
HRESULT
WINAPI
ITextRange_fnCut
(
ITextRange
*
me
,
VARIANT
*
v
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
v
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnCopy
(
ITextRange
*
me
,
VARIANT
*
pVar
)
static
HRESULT
WINAPI
ITextRange_fnCopy
(
ITextRange
*
me
,
VARIANT
*
v
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
v
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnPaste
(
ITextRange
*
me
,
VARIANT
*
pVar
,
LONG
F
ormat
)
static
HRESULT
WINAPI
ITextRange_fnPaste
(
ITextRange
*
me
,
VARIANT
*
v
,
LONG
f
ormat
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%s %x): stub
\n
"
,
This
,
debugstr_variant
(
v
),
format
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnCanPaste
(
ITextRange
*
me
,
VARIANT
*
pVar
,
LONG
Format
,
LONG
*
pb
)
static
HRESULT
WINAPI
ITextRange_fnCanPaste
(
ITextRange
*
me
,
VARIANT
*
v
,
LONG
format
,
LONG
*
ret
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p %x %p): stub
\n
"
,
This
,
debugstr_variant
(
v
),
format
,
ret
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnCanEdit
(
ITextRange
*
me
,
LONG
*
pb
)
static
HRESULT
WINAPI
ITextRange_fnCanEdit
(
ITextRange
*
me
,
LONG
*
ret
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
ret
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnChangeCase
(
ITextRange
*
me
,
LONG
T
ype
)
static
HRESULT
WINAPI
ITextRange_fnChangeCase
(
ITextRange
*
me
,
LONG
t
ype
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d): stub
\n
"
,
This
,
type
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnGetPoint
(
ITextRange
*
me
,
LONG
T
ype
,
LONG
*
cx
,
LONG
*
cy
)
static
HRESULT
WINAPI
ITextRange_fnGetPoint
(
ITextRange
*
me
,
LONG
t
ype
,
LONG
*
cx
,
LONG
*
cy
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %p %p): stub
\n
"
,
This
,
type
,
cx
,
cy
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnSetPoint
(
ITextRange
*
me
,
LONG
x
,
LONG
y
,
LONG
T
ype
,
LONG
E
xtend
)
static
HRESULT
WINAPI
ITextRange_fnSetPoint
(
ITextRange
*
me
,
LONG
x
,
LONG
y
,
LONG
t
ype
,
LONG
e
xtend
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d %d %d %d): stub
\n
"
,
This
,
x
,
y
,
type
,
extend
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnScrollIntoView
(
ITextRange
*
me
,
LONG
V
alue
)
static
HRESULT
WINAPI
ITextRange_fnScrollIntoView
(
ITextRange
*
me
,
LONG
v
alue
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%d): stub
\n
"
,
This
,
value
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ITextRange_fnGetEmbeddedObject
(
ITextRange
*
me
,
IUnknown
**
ppv
)
{
ITextRangeImpl
*
This
=
impl_from_ITextRange
(
me
);
FIXME
(
"(%p)->(%p): stub
\n
"
,
This
,
ppv
);
if
(
!
This
->
child
.
reole
)
return
CO_E_RELEASED
;
FIXME
(
"not implemented %p
\n
"
,
This
);
return
E_NOTIMPL
;
}
...
...
include/tom.idl
View file @
b0db959e
...
...
@@ -267,7 +267,7 @@ interface ITextRange : IDispatch
HRESULT
Expand
(
[
in
]
LONG
Unit
,
[
retval
,
out
]
LONG
*
pDelta
)
;
HRESULT
GetIndex
(
[
in
]
LONG
Unit
,
[
retval
,
out
]
LONG
*
pIndex
)
;
HRESULT
SetIndex
(
[
in
]
LONG
Unit
,
[
in
]
LONG
Index
,
[
in
]
LONG
Extend
)
;
HRESULT
SetRange
(
[
in
]
LONG
cpActive
,
[
in
]
LONG
cpOther
)
;
HRESULT
SetRange
(
[
in
]
LONG
anchor
,
[
in
]
LONG
active
)
;
HRESULT
InRange
(
[
in
]
ITextRange
*
pRange
,
[
retval
,
out
]
LONG
*
pb
)
;
HRESULT
InStory
(
[
in
]
ITextRange
*
pRange
,
[
retval
,
out
]
LONG
*
pb
)
;
HRESULT
IsEqual
(
[
in
]
ITextRange
*
pRange
,
[
retval
,
out
]
LONG
*
pb
)
;
...
...
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