pub trait IDesktopWallpaper_Impl: Sized {
Show 16 methods // Required methods fn SetWallpaper(&self, monitorid: &PCWSTR, wallpaper: &PCWSTR) -> Result<()>; fn GetWallpaper(&self, monitorid: &PCWSTR) -> Result<PWSTR>; fn GetMonitorDevicePathAt(&self, monitorindex: u32) -> Result<PWSTR>; fn GetMonitorDevicePathCount(&self) -> Result<u32>; fn GetMonitorRECT(&self, monitorid: &PCWSTR) -> Result<RECT>; fn SetBackgroundColor(&self, color: COLORREF) -> Result<()>; fn GetBackgroundColor(&self) -> Result<COLORREF>; fn SetPosition(&self, position: DESKTOP_WALLPAPER_POSITION) -> Result<()>; fn GetPosition(&self) -> Result<DESKTOP_WALLPAPER_POSITION>; fn SetSlideshow(&self, items: Option<&IShellItemArray>) -> Result<()>; fn GetSlideshow(&self) -> Result<IShellItemArray>; fn SetSlideshowOptions( &self, options: DESKTOP_SLIDESHOW_OPTIONS, slideshowtick: u32 ) -> Result<()>; fn GetSlideshowOptions( &self, options: *mut DESKTOP_SLIDESHOW_OPTIONS, slideshowtick: *mut u32 ) -> Result<()>; fn AdvanceSlideshow( &self, monitorid: &PCWSTR, direction: DESKTOP_SLIDESHOW_DIRECTION ) -> Result<()>; fn GetStatus(&self) -> Result<DESKTOP_SLIDESHOW_STATE>; fn Enable(&self, enable: BOOL) -> Result<()>;
}

Required Methods§

fn SetWallpaper(&self, monitorid: &PCWSTR, wallpaper: &PCWSTR) -> Result<()>

fn GetWallpaper(&self, monitorid: &PCWSTR) -> Result<PWSTR>

fn GetMonitorDevicePathAt(&self, monitorindex: u32) -> Result<PWSTR>

fn GetMonitorDevicePathCount(&self) -> Result<u32>

fn GetMonitorRECT(&self, monitorid: &PCWSTR) -> Result<RECT>

fn SetBackgroundColor(&self, color: COLORREF) -> Result<()>

fn GetBackgroundColor(&self) -> Result<COLORREF>

fn SetPosition(&self, position: DESKTOP_WALLPAPER_POSITION) -> Result<()>

fn GetPosition(&self) -> Result<DESKTOP_WALLPAPER_POSITION>

fn SetSlideshow(&self, items: Option<&IShellItemArray>) -> Result<()>

fn GetSlideshow(&self) -> Result<IShellItemArray>

fn SetSlideshowOptions( &self, options: DESKTOP_SLIDESHOW_OPTIONS, slideshowtick: u32 ) -> Result<()>

fn GetSlideshowOptions( &self, options: *mut DESKTOP_SLIDESHOW_OPTIONS, slideshowtick: *mut u32 ) -> Result<()>

fn AdvanceSlideshow( &self, monitorid: &PCWSTR, direction: DESKTOP_SLIDESHOW_DIRECTION ) -> Result<()>

fn GetStatus(&self) -> Result<DESKTOP_SLIDESHOW_STATE>

fn Enable(&self, enable: BOOL) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§