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
3726e38b
Commit
3726e38b
authored
Jun 11, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Define ITfCompartmentMgr for Context.
parent
1ffa3515
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
context.c
dlls/msctf/context.c
+10
-0
No files found.
dlls/msctf/context.c
View file @
3726e38b
...
...
@@ -68,6 +68,9 @@ typedef struct tagContext {
LONG
refCount
;
BOOL
connected
;
/* Aggregation */
ITfCompartmentMgr
*
CompartmentMgr
;
TfClientId
tidOwner
;
TfEditCookie
defaultCookie
;
TS_STATUS
documentStatus
;
...
...
@@ -175,6 +178,7 @@ static void Context_Destructor(Context *This)
free_sink
(
sink
);
}
CompartmentMgr_Destructor
(
This
->
CompartmentMgr
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
@@ -195,6 +199,10 @@ static HRESULT WINAPI Context_QueryInterface(ITfContext *iface, REFIID iid, LPVO
{
*
ppvOut
=
&
This
->
InsertAtSelectionVtbl
;
}
else
if
(
IsEqualIID
(
iid
,
&
IID_ITfCompartmentMgr
))
{
*
ppvOut
=
This
->
CompartmentMgr
;
}
if
(
*
ppvOut
)
{
...
...
@@ -718,6 +726,8 @@ HRESULT Context_Constructor(TfClientId tidOwner, IUnknown *punk, ITfContext **pp
This
->
tidOwner
=
tidOwner
;
This
->
connected
=
FALSE
;
CompartmentMgr_Constructor
((
IUnknown
*
)
This
,
&
IID_IUnknown
,
(
IUnknown
**
)
&
This
->
CompartmentMgr
);
cookie
->
lockType
=
TF_ES_READ
;
cookie
->
pOwningContext
=
This
;
...
...
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