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
f3e2027b
Commit
f3e2027b
authored
Feb 02, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msctf: Implement ITfDocumentMgr::Pop.
parent
fd8c2a18
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
documentmgr.c
dlls/msctf/documentmgr.c
+23
-2
No files found.
dlls/msctf/documentmgr.c
View file @
f3e2027b
...
...
@@ -129,8 +129,29 @@ static HRESULT WINAPI DocumentMgr_Push(ITfDocumentMgr *iface, ITfContext *pic)
static
HRESULT
WINAPI
DocumentMgr_Pop
(
ITfDocumentMgr
*
iface
,
DWORD
dwFlags
)
{
DocumentMgr
*
This
=
(
DocumentMgr
*
)
iface
;
FIXME
(
"STUB:(%p)
\n
"
,
This
);
return
E_NOTIMPL
;
TRACE
(
"(%p) 0x%x
\n
"
,
This
,
dwFlags
);
if
(
dwFlags
==
TF_POPF_ALL
)
{
if
(
This
->
contextStack
[
0
])
ITfContext_Release
(
This
->
contextStack
[
0
]);
if
(
This
->
contextStack
[
1
])
ITfContext_Release
(
This
->
contextStack
[
1
]);
This
->
contextStack
[
0
]
=
This
->
contextStack
[
1
]
=
NULL
;
return
S_OK
;
}
if
(
dwFlags
)
return
E_INVALIDARG
;
if
(
This
->
contextStack
[
0
]
==
NULL
)
/* Cannot pop last context */
return
E_FAIL
;
ITfContext_Release
(
This
->
contextStack
[
0
]);
This
->
contextStack
[
0
]
=
This
->
contextStack
[
1
];
This
->
contextStack
[
1
]
=
NULL
;
return
S_OK
;
}
static
HRESULT
WINAPI
DocumentMgr_GetTop
(
ITfDocumentMgr
*
iface
,
ITfContext
**
ppic
)
...
...
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