msi: Remove read-only bit when copying the package file.
[wine.git] / include / windows.media.speechsynthesis.idl
blob87497678f30a678ce9987b7dd52171f3e505ed6c
1 /*
2 * Copyright 2020 RĂ©mi Bernon for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifdef __WIDL__
20 #pragma winrt ns_prefix
21 #endif
23 import "inspectable.idl";
24 import "windows.foundation.idl";
26 namespace Windows {
27 namespace Foundation {
28 interface IClosable;
30 namespace Media {
31 namespace SpeechSynthesis {
32 typedef enum VoiceGender VoiceGender;
33 interface IInstalledVoicesStatic;
34 interface IInstalledVoicesStatic2;
35 interface ISpeechSynthesizer;
36 interface ISpeechSynthesizer2;
37 interface IVoiceInformation;
38 runtimeclass VoiceInformation;
43 namespace Windows {
44 namespace Media {
45 namespace SpeechSynthesis {
46 [contract(Windows.Foundation.UniversalApiContract, 1.0)]
47 enum VoiceGender
49 Male = 0,
50 Female = 1
54 contract(Windows.Foundation.UniversalApiContract, 1.0),
55 exclusiveto(Windows.Media.SpeechSynthesis.VoiceInformation),
56 uuid(b127d6a4-1291-4604-aa9c-83134083352c)
58 interface IVoiceInformation : IInspectable
60 [propget] HRESULT DisplayName([out] [retval] HSTRING* value);
61 [propget] HRESULT Id([out] [retval] HSTRING* value);
62 [propget] HRESULT Language([out] [retval] HSTRING* value);
63 [propget] HRESULT Description([out] [retval] HSTRING* value);
64 [propget] HRESULT Gender([out] [retval] VoiceGender* value);
68 contract(Windows.Foundation.UniversalApiContract, 1.0),
69 marshaling_behavior(agile)
71 runtimeclass VoiceInformation
73 [default] interface Windows.Media.SpeechSynthesis.IVoiceInformation;
77 activatable(Windows.Foundation.UniversalApiContract, 1.0),
78 contract(Windows.Foundation.UniversalApiContract, 1.0),
79 marshaling_behavior(agile),
80 static(Windows.Media.SpeechSynthesis.IInstalledVoicesStatic, Windows.Foundation.UniversalApiContract, 1.0),
81 static(Windows.Media.SpeechSynthesis.IInstalledVoicesStatic2, Windows.Foundation.UniversalApiContract, 5.0)
83 runtimeclass SpeechSynthesizer
85 [default] interface Windows.Media.SpeechSynthesis.ISpeechSynthesizer;
86 interface Windows.Foundation.IClosable;
87 [contract(Windows.Foundation.UniversalApiContract, 4.0)] interface Windows.Media.SpeechSynthesis.ISpeechSynthesizer2;