msctf: Implement ITfCompartment::GetValue.
This commit is contained in:
parent
e842f250ee
commit
21c4671e01
|
@ -436,9 +436,17 @@ static HRESULT WINAPI Compartment_SetValue(ITfCompartment *iface,
|
|||
static HRESULT WINAPI Compartment_GetValue(ITfCompartment *iface,
|
||||
VARIANT *pvarValue)
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
Compartment *This = (Compartment *)iface;
|
||||
FIXME("STUB:(%p)\n",This);
|
||||
return E_NOTIMPL;
|
||||
TRACE("(%p) %p\n",This, pvarValue);
|
||||
|
||||
if (!pvarValue)
|
||||
return E_INVALIDARG;
|
||||
|
||||
pvarValue->n1.n2.vt = VT_EMPTY;
|
||||
if (!This->variant.n1.n2.vt == VT_EMPTY)
|
||||
hr = VariantCopy(pvarValue,&This->variant);
|
||||
return hr;
|
||||
}
|
||||
|
||||
static const ITfCompartmentVtbl ITfCompartment_Vtbl ={
|
||||
|
|
Loading…
Reference in New Issue