windows::Win32::Devices::PortableDevices

Trait IMediaRadioManagerNotifySink_Impl

pub trait IMediaRadioManagerNotifySink_Impl: IUnknownImpl {
    // Required methods
    fn OnInstanceAdd(
        &self,
        pradioinstance: Ref<'_, IRadioInstance>,
    ) -> Result<()>;
    fn OnInstanceRemove(&self, bstrradioinstanceid: &BSTR) -> Result<()>;
    fn OnInstanceRadioChange(
        &self,
        bstrradioinstanceid: &BSTR,
        radiostate: DEVICE_RADIO_STATE,
    ) -> Result<()>;
}

Required Methods§

fn OnInstanceAdd(&self, pradioinstance: Ref<'_, IRadioInstance>) -> Result<()>

fn OnInstanceRemove(&self, bstrradioinstanceid: &BSTR) -> Result<()>

fn OnInstanceRadioChange( &self, bstrradioinstanceid: &BSTR, radiostate: DEVICE_RADIO_STATE, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§