IDesktopWallpaperVtbl

Struct IDesktopWallpaperVtbl 

Source
#[repr(C)]
pub struct IDesktopWallpaperVtbl {
Show 17 fields pub parent: IUnknownVtbl, pub SetWallpaper: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorID: LPCWSTR, wallpaper: LPCWSTR) -> HRESULT, pub GetWallpaper: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorID: LPCWSTR, wallpaper: *mut LPWSTR) -> HRESULT, pub GetMonitorDevicePathAt: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorIndex: UINT, monitorID: *mut LPWSTR) -> HRESULT, pub GetMonitorDevicePathCount: unsafe extern "system" fn(This: *mut IDesktopWallpaper, count: *mut UINT) -> HRESULT, pub GetMonitorRECT: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorID: LPCWSTR, displayRect: *mut RECT) -> HRESULT, pub SetBackgroundColor: unsafe extern "system" fn(This: *mut IDesktopWallpaper, color: COLORREF) -> HRESULT, pub GetBackgroundColor: unsafe extern "system" fn(This: *mut IDesktopWallpaper, color: *mut COLORREF) -> HRESULT, pub SetPosition: unsafe extern "system" fn(This: *mut IDesktopWallpaper, position: DESKTOP_WALLPAPER_POSITION) -> HRESULT, pub GetPosition: unsafe extern "system" fn(This: *mut IDesktopWallpaper, position: *mut DESKTOP_WALLPAPER_POSITION) -> HRESULT, pub SetSlideshow: unsafe extern "system" fn(This: *mut IDesktopWallpaper, items: *mut IShellItemArray) -> HRESULT, pub GetSlideshow: unsafe extern "system" fn(This: *mut IDesktopWallpaper, items: *mut *mut IShellItemArray) -> HRESULT, pub SetSlideshowOptions: unsafe extern "system" fn(This: *mut IDesktopWallpaper, options: DESKTOP_SLIDESHOW_OPTIONS, slideshowTick: UINT) -> HRESULT, pub GetSlideshowOptions: unsafe extern "system" fn(This: *mut IDesktopWallpaper, options: *mut DESKTOP_SLIDESHOW_OPTIONS, slideshowTick: *mut UINT) -> HRESULT, pub AdvanceSlideshow: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorID: LPCWSTR, direction: DESKTOP_SLIDESHOW_DIRECTION) -> HRESULT, pub GetStatus: unsafe extern "system" fn(This: *mut IDesktopWallpaper, state: *mut DESKTOP_SLIDESHOW_STATE) -> HRESULT, pub Enable: unsafe extern "system" fn(This: *mut IDesktopWallpaper, enable: BOOL) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§SetWallpaper: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorID: LPCWSTR, wallpaper: LPCWSTR) -> HRESULT§GetWallpaper: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorID: LPCWSTR, wallpaper: *mut LPWSTR) -> HRESULT§GetMonitorDevicePathAt: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorIndex: UINT, monitorID: *mut LPWSTR) -> HRESULT§GetMonitorDevicePathCount: unsafe extern "system" fn(This: *mut IDesktopWallpaper, count: *mut UINT) -> HRESULT§GetMonitorRECT: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorID: LPCWSTR, displayRect: *mut RECT) -> HRESULT§SetBackgroundColor: unsafe extern "system" fn(This: *mut IDesktopWallpaper, color: COLORREF) -> HRESULT§GetBackgroundColor: unsafe extern "system" fn(This: *mut IDesktopWallpaper, color: *mut COLORREF) -> HRESULT§SetPosition: unsafe extern "system" fn(This: *mut IDesktopWallpaper, position: DESKTOP_WALLPAPER_POSITION) -> HRESULT§GetPosition: unsafe extern "system" fn(This: *mut IDesktopWallpaper, position: *mut DESKTOP_WALLPAPER_POSITION) -> HRESULT§SetSlideshow: unsafe extern "system" fn(This: *mut IDesktopWallpaper, items: *mut IShellItemArray) -> HRESULT§GetSlideshow: unsafe extern "system" fn(This: *mut IDesktopWallpaper, items: *mut *mut IShellItemArray) -> HRESULT§SetSlideshowOptions: unsafe extern "system" fn(This: *mut IDesktopWallpaper, options: DESKTOP_SLIDESHOW_OPTIONS, slideshowTick: UINT) -> HRESULT§GetSlideshowOptions: unsafe extern "system" fn(This: *mut IDesktopWallpaper, options: *mut DESKTOP_SLIDESHOW_OPTIONS, slideshowTick: *mut UINT) -> HRESULT§AdvanceSlideshow: unsafe extern "system" fn(This: *mut IDesktopWallpaper, monitorID: LPCWSTR, direction: DESKTOP_SLIDESHOW_DIRECTION) -> HRESULT§GetStatus: unsafe extern "system" fn(This: *mut IDesktopWallpaper, state: *mut DESKTOP_SLIDESHOW_STATE) -> HRESULT§Enable: unsafe extern "system" fn(This: *mut IDesktopWallpaper, enable: BOOL) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.