Module vd

Source
Expand description

Monitor and manage virtual desktops. Calls into the [winvd] crate, either using static or dynamic calls (using VirtualDesktopAccessor.dll).

Modules§

dynamic

Enums§

Desktop
Wrapper around [winvd::Desktop].
DesktopEvent
Same as [winvd::DesktopEvent]
Error

Functions§

create_desktop
Wrapper around [winvd::create_desktop] (but prefers dynamic loaded library if it exists).
get_current_desktop
Wrapper around [winvd::get_current_desktop] (but prefers dynamic loaded library if it exists).
get_desktop
Get desktop by index or GUID (Same as [winvd::get_desktop]).
get_desktop_count
Wrapper around [winvd::get_desktop_count] (but prefers dynamic loaded library if it exists).
get_desktops
Wrapper around [winvd::get_desktops] (but prefers dynamic loaded library if it exists).
get_window_desktop
has_loaded_dynamic_library_successfully
is_pinned_app
is_pinned_window
load_dynamic_library
Load the dynamic library “VirtualDesktopAccessor.dll”.
move_window_to_desktop
Wrapper around [winvd::move_window_to_desktop] (but prefers dynamic loaded library if it exists).
no_dynamic_library_error 🔒
Returns an error that indicates why no dynamic library was loaded.
pin_window
Wrapper around [winvd::pin_window] (but prefers dynamic loaded library if it exists).
remove_desktop
Wrapper around [winvd::remove_desktop] (but prefers dynamic loaded library if it exists).
start_flashing_window
Start flashing a window’s icon in the taskbar.
stop_flashing_window
Stop a window from flashing orange in the Windows taskbar.
stop_flashing_windows_blocking
Calls stop_flashing_window using the simple async runtime provided by crate::block_on.
switch_desktop
Wrapper around [winvd::switch_desktop] (but prefers dynamic loaded library if it exists).
switch_desktop_with_animation
Wrapper around [winvd::switch_desktop_with_animation] (but prefers dynamic loaded library if it exists).
unpin_window
Wrapper around [winvd::unpin_window] (but prefers dynamic loaded library if it exists).

Type Aliases§

Result