From 00a16c5dd5167aac353e991ec4264ade936d5189 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Thu, 11 Mar 2021 12:54:50 -0600 Subject: [PATCH] Add missing types. --- winrt_bindings/build.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/winrt_bindings/build.rs b/winrt_bindings/build.rs index 6a4341e..3080588 100644 --- a/winrt_bindings/build.rs +++ b/winrt_bindings/build.rs @@ -1,8 +1,9 @@ fn main() { windows::build!( - windows::foundation::TypedEventHandler, + windows::foundation::{EventRegistrationToken, IAsyncOperation, TypedEventHandler}, windows::media::core::MediaSource, - windows::media::playback::{MediaPlaybackState, MediaPlayer, MediaPlayerAudioCategory}, - windows::media::speech_synthesis::SpeechSynthesizer, + windows::media::playback::{MediaPlaybackSession, MediaPlaybackState, MediaPlayer, MediaPlayerAudioCategory}, + windows::media::speech_synthesis::{SpeechSynthesisStream, SpeechSynthesizer, SpeechSynthesizerOptions}, + windows::storage::streams::IRandomAccessStream, ); }