pub trait IOverlay_Impl: Sized {
    // 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: Option<&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: Option<&IOverlayNotify>, dwinterests: u32 ) -> Result<()>

fn Unadvise(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§