windows::Win32::Media::Audio::DirectMusic

Trait IDirectMusicPortDownload_Impl

pub trait IDirectMusicPortDownload_Impl: IUnknownImpl {
    // Required methods
    fn GetBuffer(&self, dwdlid: u32) -> Result<IDirectMusicDownload>;
    fn AllocateBuffer(&self, dwsize: u32) -> Result<IDirectMusicDownload>;
    fn GetDLId(&self, pdwstartdlid: *mut u32, dwcount: u32) -> Result<()>;
    fn GetAppend(&self, pdwappend: *mut u32) -> Result<()>;
    fn Download(
        &self,
        pidmdownload: Ref<'_, IDirectMusicDownload>,
    ) -> Result<()>;
    fn Unload(&self, pidmdownload: Ref<'_, IDirectMusicDownload>) -> Result<()>;
}

Required Methods§

fn GetBuffer(&self, dwdlid: u32) -> Result<IDirectMusicDownload>

fn AllocateBuffer(&self, dwsize: u32) -> Result<IDirectMusicDownload>

fn GetDLId(&self, pdwstartdlid: *mut u32, dwcount: u32) -> Result<()>

fn GetAppend(&self, pdwappend: *mut u32) -> Result<()>

fn Download(&self, pidmdownload: Ref<'_, IDirectMusicDownload>) -> Result<()>

fn Unload(&self, pidmdownload: Ref<'_, IDirectMusicDownload>) -> 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§