windows.media.speech: Fake empty IInstalledVoicesStatic::AllVoices vector.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
af8b935892
commit
0c216c5d57
|
@ -119,28 +119,31 @@ static HRESULT STDMETHODCALLTYPE vector_view_voice_information_GetAt(
|
||||||
IVectorView_VoiceInformation *iface, ULONG index, IVoiceInformation **value)
|
IVectorView_VoiceInformation *iface, ULONG index, IVoiceInformation **value)
|
||||||
{
|
{
|
||||||
FIXME("iface %p, index %#x, value %p stub!\n", iface, index, value);
|
FIXME("iface %p, index %#x, value %p stub!\n", iface, index, value);
|
||||||
return E_NOTIMPL;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT STDMETHODCALLTYPE vector_view_voice_information_get_Size(
|
static HRESULT STDMETHODCALLTYPE vector_view_voice_information_get_Size(
|
||||||
IVectorView_VoiceInformation *iface, ULONG *value)
|
IVectorView_VoiceInformation *iface, ULONG *value)
|
||||||
{
|
{
|
||||||
FIXME("iface %p, value %p stub!\n", iface, value);
|
FIXME("iface %p, value %p stub!\n", iface, value);
|
||||||
return E_NOTIMPL;
|
*value = 0;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT STDMETHODCALLTYPE vector_view_voice_information_IndexOf(
|
static HRESULT STDMETHODCALLTYPE vector_view_voice_information_IndexOf(
|
||||||
IVectorView_VoiceInformation *iface, IVoiceInformation *element, ULONG *index, BOOLEAN *value)
|
IVectorView_VoiceInformation *iface, IVoiceInformation *element, ULONG *index, BOOLEAN *value)
|
||||||
{
|
{
|
||||||
FIXME("iface %p, element %p, index %p, value %p stub!\n", iface, element, index, value);
|
FIXME("iface %p, element %p, index %p, value %p stub!\n", iface, element, index, value);
|
||||||
return E_NOTIMPL;
|
*value = FALSE;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT STDMETHODCALLTYPE vector_view_voice_information_GetMany(
|
static HRESULT STDMETHODCALLTYPE vector_view_voice_information_GetMany(
|
||||||
IVectorView_VoiceInformation *iface, ULONG start_index, IVoiceInformation **items, UINT *value)
|
IVectorView_VoiceInformation *iface, ULONG start_index, IVoiceInformation **items, UINT *value)
|
||||||
{
|
{
|
||||||
FIXME("iface %p, start_index %#x, items %p, value %p stub!\n", iface, start_index, items, value);
|
FIXME("iface %p, start_index %#x, items %p, value %p stub!\n", iface, start_index, items, value);
|
||||||
return E_NOTIMPL;
|
*value = 0;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct IVectorView_VoiceInformationVtbl vector_view_voice_information_vtbl =
|
static const struct IVectorView_VoiceInformationVtbl vector_view_voice_information_vtbl =
|
||||||
|
|
|
@ -100,7 +100,7 @@ static void test_SpeechSynthesizer(void)
|
||||||
|
|
||||||
size = 0xdeadbeef;
|
size = 0xdeadbeef;
|
||||||
hr = IVectorView_VoiceInformation_get_Size(voices, &size);
|
hr = IVectorView_VoiceInformation_get_Size(voices, &size);
|
||||||
todo_wine ok(SUCCEEDED(hr), "IVectorView_VoiceInformation_QueryInterface voices failed, hr %#x\n", hr);
|
ok(SUCCEEDED(hr), "IVectorView_VoiceInformation_QueryInterface voices failed, hr %#x\n", hr);
|
||||||
todo_wine ok(size != 0 && size != 0xdeadbeef, "IVectorView_VoiceInformation_get_Size returned %u\n", size);
|
todo_wine ok(size != 0 && size != 0xdeadbeef, "IVectorView_VoiceInformation_get_Size returned %u\n", size);
|
||||||
|
|
||||||
rc = IVectorView_VoiceInformation_Release(voices);
|
rc = IVectorView_VoiceInformation_Release(voices);
|
||||||
|
|
Loading…
Reference in New Issue