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,
|
static HRESULT WINAPI Compartment_GetValue(ITfCompartment *iface,
|
||||||
VARIANT *pvarValue)
|
VARIANT *pvarValue)
|
||||||
{
|
{
|
||||||
|
HRESULT hr = S_OK;
|
||||||
Compartment *This = (Compartment *)iface;
|
Compartment *This = (Compartment *)iface;
|
||||||
FIXME("STUB:(%p)\n",This);
|
TRACE("(%p) %p\n",This, pvarValue);
|
||||||
return E_NOTIMPL;
|
|
||||||
|
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 ={
|
static const ITfCompartmentVtbl ITfCompartment_Vtbl ={
|
||||||
|
|
Loading…
Reference in New Issue