Commit 190357b1 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

msctf: Implement ITfContext::GetStatus.

parent 2dca912a
......@@ -466,8 +466,25 @@ static HRESULT WINAPI Context_GetStatus (ITfContext *iface,
TF_STATUS *pdcs)
{
Context *This = (Context *)iface;
FIXME("STUB:(%p)\n",This);
return E_NOTIMPL;
TRACE("(%p) %p\n",This,pdcs);
if (!This->connected)
return TF_E_DISCONNECTED;
if (!pdcs)
return E_INVALIDARG;
if (!This->pITextStoreACP)
{
FIXME("Context does not have a ITextStoreACP\n");
return E_NOTIMPL;
}
ITextStoreACP_GetStatus(This->pITextStoreACP, &This->documentStatus);
*pdcs = This->documentStatus;
return S_OK;
}
static HRESULT WINAPI Context_GetProperty (ITfContext *iface,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment