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
819518c4
Commit
819518c4
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 ThreadMgr.
parent
2b08041b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
threadmgr.c
dlls/msctf/threadmgr.c
+11
-0
No files found.
dlls/msctf/threadmgr.c
View file @
819518c4
...
...
@@ -78,6 +78,9 @@ typedef struct tagACLMulti {
/* const ITfSourceSingleVtbl *SourceSingleVtbl; */
LONG
refCount
;
/* Aggregation */
ITfCompartmentMgr
*
CompartmentMgr
;
const
ITfThreadMgrEventSinkVtbl
*
ThreadMgrEventSinkVtbl
;
/* internal */
ITfDocumentMgr
*
focus
;
...
...
@@ -183,6 +186,8 @@ static void ThreadMgr_Destructor(ThreadMgr *This)
HeapFree
(
GetProcessHeap
(),
0
,
key
);
}
CompartmentMgr_Destructor
(
This
->
CompartmentMgr
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
}
...
...
@@ -211,6 +216,10 @@ static HRESULT WINAPI ThreadMgr_QueryInterface(ITfThreadMgr *iface, REFIID iid,
{
*
ppvOut
=
&
This
->
ClientIdVtbl
;
}
else
if
(
IsEqualIID
(
iid
,
&
IID_ITfCompartmentMgr
))
{
*
ppvOut
=
This
->
CompartmentMgr
;
}
if
(
*
ppvOut
)
{
...
...
@@ -1054,6 +1063,8 @@ HRESULT ThreadMgr_Constructor(IUnknown *pUnkOuter, IUnknown **ppOut)
This
->
refCount
=
1
;
TlsSetValue
(
tlsIndex
,
This
);
CompartmentMgr_Constructor
((
IUnknown
*
)
This
,
&
IID_IUnknown
,
(
IUnknown
**
)
&
This
->
CompartmentMgr
);
list_init
(
&
This
->
CurrentPreservedKeys
);
list_init
(
&
This
->
ActiveLanguageProfileNotifySink
);
...
...
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