Struct IDesktopWallpaper_Vtbl
#[repr(C)]pub struct IDesktopWallpaper_Vtbl {Show 17 fields
pub base__: IUnknown_Vtbl,
pub SetWallpaper: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR) -> HRESULT,
pub GetWallpaper: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut PWSTR) -> HRESULT,
pub GetMonitorDevicePathAt: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut PWSTR) -> HRESULT,
pub GetMonitorDevicePathCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT,
pub GetMonitorRECT: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut RECT) -> HRESULT,
pub SetBackgroundColor: unsafe extern "system" fn(_: *mut c_void, _: COLORREF) -> HRESULT,
pub GetBackgroundColor: unsafe extern "system" fn(_: *mut c_void, _: *mut COLORREF) -> HRESULT,
pub SetPosition: unsafe extern "system" fn(_: *mut c_void, _: DESKTOP_WALLPAPER_POSITION) -> HRESULT,
pub GetPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut DESKTOP_WALLPAPER_POSITION) -> HRESULT,
pub SetSlideshow: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub GetSlideshow: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetSlideshowOptions: unsafe extern "system" fn(_: *mut c_void, _: DESKTOP_SLIDESHOW_OPTIONS, _: u32) -> HRESULT,
pub GetSlideshowOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut DESKTOP_SLIDESHOW_OPTIONS, _: *mut u32) -> HRESULT,
pub AdvanceSlideshow: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DESKTOP_SLIDESHOW_DIRECTION) -> HRESULT,
pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut DESKTOP_SLIDESHOW_STATE) -> HRESULT,
pub Enable: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§SetWallpaper: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR) -> HRESULT
§GetWallpaper: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut PWSTR) -> HRESULT
§GetMonitorDevicePathAt: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut PWSTR) -> HRESULT
§GetMonitorDevicePathCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT
§GetMonitorRECT: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: *mut RECT) -> HRESULT
§SetBackgroundColor: unsafe extern "system" fn(_: *mut c_void, _: COLORREF) -> HRESULT
§GetBackgroundColor: unsafe extern "system" fn(_: *mut c_void, _: *mut COLORREF) -> HRESULT
§SetPosition: unsafe extern "system" fn(_: *mut c_void, _: DESKTOP_WALLPAPER_POSITION) -> HRESULT
§GetPosition: unsafe extern "system" fn(_: *mut c_void, _: *mut DESKTOP_WALLPAPER_POSITION) -> HRESULT
§SetSlideshow: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§GetSlideshow: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetSlideshowOptions: unsafe extern "system" fn(_: *mut c_void, _: DESKTOP_SLIDESHOW_OPTIONS, _: u32) -> HRESULT
§GetSlideshowOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut DESKTOP_SLIDESHOW_OPTIONS, _: *mut u32) -> HRESULT
§AdvanceSlideshow: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: DESKTOP_SLIDESHOW_DIRECTION) -> HRESULT
§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut DESKTOP_SLIDESHOW_STATE) -> HRESULT
§Enable: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
Implementations§
§impl IDesktopWallpaper_Vtbl
impl IDesktopWallpaper_Vtbl
pub const fn new<Identity: IDesktopWallpaper_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDesktopWallpaper_Vtbl
impl RefUnwindSafe for IDesktopWallpaper_Vtbl
impl Send for IDesktopWallpaper_Vtbl
impl Sync for IDesktopWallpaper_Vtbl
impl Unpin for IDesktopWallpaper_Vtbl
impl UnwindSafe for IDesktopWallpaper_Vtbl
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