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
759ecd6e
Commit
759ecd6e
authored
Jun 02, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Add ITextStoreACPServices::CreateRange().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2952219e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
context.c
dlls/msctf/context.c
+2
-2
inputprocessor.c
dlls/msctf/tests/inputprocessor.c
+5
-7
No files found.
dlls/msctf/context.c
View file @
759ecd6e
...
...
@@ -1022,9 +1022,9 @@ static HRESULT WINAPI TextStoreACPServices_CreateRange(ITextStoreACPServices *if
{
Context
*
This
=
impl_from_ITextStoreACPServices
(
iface
);
FIXME
(
"stub: %p %d %d %p
\n
"
,
This
,
start
,
end
,
range
);
TRACE
(
"%p, %d, %d, %p.
\n
"
,
This
,
start
,
end
,
range
);
return
S_OK
;
return
Range_Constructor
(
&
This
->
ITfContext_iface
,
start
,
end
,
(
ITfRange
**
)
range
)
;
}
static
const
ITextStoreACPServicesVtbl
TextStoreACPServicesVtbl
=
...
...
dlls/msctf/tests/inputprocessor.c
View file @
759ecd6e
...
...
@@ -249,13 +249,11 @@ static HRESULT WINAPI TextStoreACP_AdviseSink(ITextStoreACP *iface,
range
=
NULL
;
hr
=
ITextStoreACPServices_CreateRange
(
services
,
0
,
1
,
&
range
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
if
(
range
)
{
hr
=
ITfRangeACP_GetContext
(
range
,
&
context
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
ITfContext_Release
(
context
);
ITfRangeACP_Release
(
range
);
}
hr
=
ITfRangeACP_GetContext
(
range
,
&
context
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
ITfContext_Release
(
context
);
ITfRangeACP_Release
(
range
);
ITextStoreACPServices_Release
(
services
);
...
...
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