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
979c9296
Commit
979c9296
authored
Jun 17, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 17, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Implement ITfCompartmentMgr::ClearCompartment.
parent
ca9ca58c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
compartmentmgr.c
dlls/msctf/compartmentmgr.c
+19
-2
No files found.
dlls/msctf/compartmentmgr.c
View file @
979c9296
...
@@ -33,6 +33,7 @@
...
@@ -33,6 +33,7 @@
#include "winerror.h"
#include "winerror.h"
#include "objbase.h"
#include "objbase.h"
#include "oleauto.h"
#include "oleauto.h"
#include "olectl.h"
#include "wine/unicode.h"
#include "wine/unicode.h"
#include "wine/list.h"
#include "wine/list.h"
...
@@ -140,9 +141,25 @@ static HRESULT WINAPI CompartmentMgr_GetCompartment(ITfCompartmentMgr *iface,
...
@@ -140,9 +141,25 @@ static HRESULT WINAPI CompartmentMgr_GetCompartment(ITfCompartmentMgr *iface,
static
HRESULT
WINAPI
CompartmentMgr_ClearCompartment
(
ITfCompartmentMgr
*
iface
,
static
HRESULT
WINAPI
CompartmentMgr_ClearCompartment
(
ITfCompartmentMgr
*
iface
,
TfClientId
tid
,
REFGUID
rguid
)
TfClientId
tid
,
REFGUID
rguid
)
{
{
struct
list
*
cursor
;
CompartmentMgr
*
This
=
(
CompartmentMgr
*
)
iface
;
CompartmentMgr
*
This
=
(
CompartmentMgr
*
)
iface
;
FIXME
(
"STUB:(%p)
\n
"
,
This
);
TRACE
(
"(%p) %i %s
\n
"
,
This
,
tid
,
debugstr_guid
(
rguid
));
return
E_NOTIMPL
;
LIST_FOR_EACH
(
cursor
,
&
This
->
values
)
{
CompartmentValue
*
value
=
LIST_ENTRY
(
cursor
,
CompartmentValue
,
entry
);
if
(
IsEqualGUID
(
rguid
,
&
value
->
guid
))
{
if
(
value
->
owner
&&
tid
!=
value
->
owner
)
return
E_UNEXPECTED
;
list_remove
(
cursor
);
ITfCompartment_Release
(
value
->
compartment
);
HeapFree
(
GetProcessHeap
(),
0
,
value
);
return
S_OK
;
}
}
return
CONNECT_E_NOCONNECTION
;
}
}
static
HRESULT
WINAPI
CompartmentMgr_EnumCompartments
(
ITfCompartmentMgr
*
iface
,
static
HRESULT
WINAPI
CompartmentMgr_EnumCompartments
(
ITfCompartmentMgr
*
iface
,
...
...
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