Commit 1bae17c2 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

include: Add VoiceInformation runtimeclass to windows.media.speechsynthesis.idl.

parent f46c077d
......@@ -29,6 +29,7 @@ namespace Windows {
typedef enum VoiceGender VoiceGender;
interface IInstalledVoicesStatic;
interface IVoiceInformation;
runtimeclass VoiceInformation;
}
}
}
......@@ -42,6 +43,29 @@ namespace Windows {
Male = 0,
Female = 1
};
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
exclusiveto(Windows.Media.SpeechSynthesis.VoiceInformation),
uuid(b127d6a4-1291-4604-aa9c-83134083352c)
]
interface IVoiceInformation : IInspectable
{
[propget] HRESULT DisplayName([out] [retval] HSTRING* value);
[propget] HRESULT Id([out] [retval] HSTRING* value);
[propget] HRESULT Language([out] [retval] HSTRING* value);
[propget] HRESULT Description([out] [retval] HSTRING* value);
[propget] HRESULT Gender([out] [retval] VoiceGender* value);
}
[
contract(Windows.Foundation.UniversalApiContract, 1.0),
marshaling_behavior(agile)
]
runtimeclass VoiceInformation
{
[default] interface IVoiceInformation;
}
}
}
}
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