windows::Win32::Media::DirectShow

Trait IOverlay_Impl

pub trait IOverlay_Impl: IUnknownImpl {
    // Required methods
    fn GetPalette(
        &self,
        pdwcolors: *mut u32,
        pppalette: *mut *mut PALETTEENTRY,
    ) -> Result<()>;
    fn SetPalette(
        &self,
        dwcolors: u32,
        ppalette: *const PALETTEENTRY,
    ) -> Result<()>;
    fn GetDefaultColorKey(&self) -> Result<COLORKEY>;
    fn GetColorKey(&self) -> Result<COLORKEY>;
    fn SetColorKey(&self, pcolorkey: *mut COLORKEY) -> Result<()>;
    fn GetWindowHandle(&self) -> Result<HWND>;
    fn GetClipList(
        &self,
        psourcerect: *mut RECT,
        pdestinationrect: *mut RECT,
        pprgndata: *mut *mut RGNDATA,
    ) -> Result<()>;
    fn GetVideoPosition(
        &self,
        psourcerect: *mut RECT,
        pdestinationrect: *mut RECT,
    ) -> Result<()>;
    fn Advise(
        &self,
        poverlaynotify: Ref<'_, IOverlayNotify>,
        dwinterests: u32,
    ) -> Result<()>;
    fn Unadvise(&self) -> Result<()>;
}

Required Methods§

fn GetPalette( &self, pdwcolors: *mut u32, pppalette: *mut *mut PALETTEENTRY, ) -> Result<()>

fn SetPalette(&self, dwcolors: u32, ppalette: *const PALETTEENTRY) -> Result<()>

fn GetDefaultColorKey(&self) -> Result<COLORKEY>

fn GetColorKey(&self) -> Result<COLORKEY>

fn SetColorKey(&self, pcolorkey: *mut COLORKEY) -> Result<()>

fn GetWindowHandle(&self) -> Result<HWND>

fn GetClipList( &self, psourcerect: *mut RECT, pdestinationrect: *mut RECT, pprgndata: *mut *mut RGNDATA, ) -> Result<()>

fn GetVideoPosition( &self, psourcerect: *mut RECT, pdestinationrect: *mut RECT, ) -> Result<()>

fn Advise( &self, poverlaynotify: Ref<'_, IOverlayNotify>, dwinterests: u32, ) -> Result<()>

fn Unadvise(&self) -> 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§