#[repr(C)]pub struct IDesktopWallpaper {
pub lpVtbl: *const IDesktopWallpaperVtbl,
}
Fields§
§lpVtbl: *const IDesktopWallpaperVtbl
Implementations§
Source§impl IDesktopWallpaper
impl IDesktopWallpaper
pub unsafe fn SetWallpaper( &self, monitorID: LPCWSTR, wallpaper: LPCWSTR, ) -> HRESULT
pub unsafe fn GetWallpaper( &self, monitorID: LPCWSTR, wallpaper: *mut LPWSTR, ) -> HRESULT
pub unsafe fn GetMonitorDevicePathAt( &self, monitorIndex: UINT, monitorID: *mut LPWSTR, ) -> HRESULT
pub unsafe fn GetMonitorDevicePathCount(&self, count: *mut UINT) -> HRESULT
pub unsafe fn GetMonitorRECT( &self, monitorID: LPCWSTR, displayRect: *mut RECT, ) -> HRESULT
pub unsafe fn SetBackgroundColor(&self, color: COLORREF) -> HRESULT
pub unsafe fn GetBackgroundColor(&self, color: *mut COLORREF) -> HRESULT
pub unsafe fn SetPosition( &self, position: DESKTOP_WALLPAPER_POSITION, ) -> HRESULT
pub unsafe fn GetPosition( &self, position: *mut DESKTOP_WALLPAPER_POSITION, ) -> HRESULT
pub unsafe fn SetSlideshow(&self, items: *mut IShellItemArray) -> HRESULT
pub unsafe fn GetSlideshow(&self, items: *mut *mut IShellItemArray) -> HRESULT
pub unsafe fn SetSlideshowOptions( &self, options: DESKTOP_SLIDESHOW_OPTIONS, slideshowTick: UINT, ) -> HRESULT
pub unsafe fn GetSlideshowOptions( &self, options: *mut DESKTOP_SLIDESHOW_OPTIONS, slideshowTick: *mut UINT, ) -> HRESULT
pub unsafe fn AdvanceSlideshow( &self, monitorID: LPCWSTR, direction: DESKTOP_SLIDESHOW_DIRECTION, ) -> HRESULT
pub unsafe fn GetStatus(&self, state: *mut DESKTOP_SLIDESHOW_STATE) -> HRESULT
pub unsafe fn Enable(&self, enable: BOOL) -> HRESULT
Trait Implementations§
Source§impl Deref for IDesktopWallpaper
impl Deref for IDesktopWallpaper
Auto Trait Implementations§
impl Freeze for IDesktopWallpaper
impl RefUnwindSafe for IDesktopWallpaper
impl !Send for IDesktopWallpaper
impl !Sync for IDesktopWallpaper
impl Unpin for IDesktopWallpaper
impl UnwindSafe for IDesktopWallpaper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more