Crate winvd

source ·
Expand description

winvd - crate for accessing the Windows Virtual Desktop API

All functions taking Into<Desktop> can take either a index or a GUID.

§Examples

  • Get first desktop name by index get_desktop(0).get_name()
  • Get second desktop name by index get_desktop(1).get_name()
  • Get desktop name by GUID get_desktop(GUID(123...)).get_name()
  • Switch to fifth desktop by index switch_desktop(4)
  • Get third desktop name get_desktop(2).get_name()

Structs§

  • You can construct Desktop instance with get_desktop(5) by index or GUID.
  • Event listener thread, create with listen_desktop_events(sender), value must be held in the state of the program, the thread is joined when the value is dropped.

Enums§

Functions§

Type Aliases§