internal static UInt32 WrapAndReturnError(UInt32 error, Interop.PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE interopHandle, out PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE handle) { if (PartyError.SUCCEEDED(error)) { handle = new PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE(interopHandle); } else { handle = default(PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE); } return(error); }
internal static extern UInt32 PartyTextToSpeechProfileGetCustomContext( PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE profile, out IntPtr customContext);
internal static extern UInt32 PartyTextToSpeechProfileGetIdentifier( PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE profile, out UTF8StringPtr identifier);
internal static extern UInt32 PartyTextToSpeechProfileGetLanguageCode( PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE profile, out UTF8StringPtr languageCode);
internal static extern UInt32 PartyTextToSpeechProfileGetGender( PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE profile, out PARTY_GENDER gender);
internal static extern UInt32 PartyChatControlGetTextToSpeechProfile( PARTY_CHAT_CONTROL_HANDLE chatControl, PARTY_SYNTHESIZE_TEXT_TO_SPEECH_TYPE type, out PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE profile);
internal PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE(Interop.PARTY_TEXT_TO_SPEECH_PROFILE_HANDLE interopHandle) { this.InteropHandle = interopHandle; }