windows::Win32::Media::MediaPlayer

Trait IWMPEvents2_Impl

pub trait IWMPEvents2_Impl: IWMPEvents_Impl {
    // Required methods
    fn DeviceConnect(&self, pdevice: Ref<'_, IWMPSyncDevice>);
    fn DeviceDisconnect(&self, pdevice: Ref<'_, IWMPSyncDevice>);
    fn DeviceStatusChange(
        &self,
        pdevice: Ref<'_, IWMPSyncDevice>,
        newstatus: WMPDeviceStatus,
    );
    fn DeviceSyncStateChange(
        &self,
        pdevice: Ref<'_, IWMPSyncDevice>,
        newstate: WMPSyncState,
    );
    fn DeviceSyncError(
        &self,
        pdevice: Ref<'_, IWMPSyncDevice>,
        pmedia: Ref<'_, IDispatch>,
    );
    fn CreatePartnershipComplete(
        &self,
        pdevice: Ref<'_, IWMPSyncDevice>,
        hrresult: HRESULT,
    );
}

Required Methods§

fn DeviceConnect(&self, pdevice: Ref<'_, IWMPSyncDevice>)

fn DeviceDisconnect(&self, pdevice: Ref<'_, IWMPSyncDevice>)

fn DeviceStatusChange( &self, pdevice: Ref<'_, IWMPSyncDevice>, newstatus: WMPDeviceStatus, )

fn DeviceSyncStateChange( &self, pdevice: Ref<'_, IWMPSyncDevice>, newstate: WMPSyncState, )

fn DeviceSyncError( &self, pdevice: Ref<'_, IWMPSyncDevice>, pmedia: Ref<'_, IDispatch>, )

fn CreatePartnershipComplete( &self, pdevice: Ref<'_, IWMPSyncDevice>, hrresult: HRESULT, )

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§