Bernhard Kölbl (@besentv) commented about dlls/windows.media.speech/synthesizer.c:
- voice_information_GetIids,
- voice_information_GetRuntimeClassName,
- voice_information_GetTrustLevel,
- /*** IVoiceInformation methods ***/
- voice_information_get_DisplayName,
- voice_information_get_Id,
- voice_information_get_Language,
- voice_information_get_Description,
- voice_information_get_Gender,
+};
+HRESULT voice_information_create(const WCHAR *display_name, const WCHAR *id, const WCHAR *locale,
VoiceGender gender, IVoiceInformation **pvoice)
+{
- struct voice_information *voice_info;
Please avoid Hungarian Notation like names `pvoice` -> `voice_information`, also keep in mind line limit for Speech is 160 (instead of 130).