MCPcopy Create free account

hub / github.com/Ciantic/VirtualDesktopAccessor / functions

Functions137 in github.com/Ciantic/VirtualDesktopAccessor

↓ 34 callersMethodas_result
(&self)
src/comobjects.rs:93
↓ 23 callersFunctionwith_com_objects
This is a helper function to initialize and run COM related functions in a a single thread. Virtual Desktop COM Objects don't like to being called fr
src/comobjects.rs:863
↓ 16 callersFunctionswitch_desktop
Switch desktop by index or GUID
src/desktop.rs:150
↓ 12 callersMethodget_manager_internal
(&self)
src/comobjects.rs:295
↓ 12 callersFunctionsync_test
Run the tests synchronously
src/tests.rs:13
↓ 11 callersMethodget_index
(&self)
src/desktop.rs:102
↓ 10 callersFunctionget_desktop
Get desktop by index or GUID # Examples Get first desktop by index `get_desktop(0)` Get second desktop by index `get_desktop(1)` Get desktop by GUID
src/desktop.rs:142
↓ 8 callersMethodget_idesktop
(&self, desktop: &DesktopInternal)
src/comobjects.rs:486
↓ 7 callersMethodget_iapplication_view_for_hwnd
(&self, hwnd: &HWND)
src/comobjects.rs:536
↓ 6 callersFunctioneat_error
(func: impl FnOnce() -> Result<T>)
src/listener.rs:181
↓ 6 callersFunctionget_current_desktop
Get current desktop
src/desktop.rs:194
↓ 6 callersFunctionget_desktop_by_window
Get desktop by window
src/desktop.rs:204
↓ 6 callersMethodget_id
Get the GUID of the desktop
src/desktop.rs:97
↓ 6 callersMethodget_name
Get desktop name
src/desktop.rs:108
↓ 6 callersMethodget_pinned_apps
(&self)
src/comobjects.rs:351
↓ 6 callersFunctionlisten_desktop_events
Create event sending thread, give this `crossbeam_channel::Sender<T>`, `winit::event_loop::EventLoopProxy<T>`, or `std::sync::mpsc::Sender<T>`. `Desk
src/events.rs:121
↓ 6 callersFunctionmove_window_to_desktop
Move window to desktop by index or GUID
src/desktop.rs:179
↓ 6 callersMethodset_name
Set desktop name
src/desktop.rs:114
↓ 5 callersMethodget_desktop_id
(&self, desktop: &DesktopInternal)
src/comobjects.rs:563
↓ 5 callersFunctionget_idesktop_guid
(desktop: &IVirtualDesktop)
src/comobjects.rs:839
↓ 5 callersMethodget_provider
(&self)
src/comobjects.rs:251
↓ 5 callersFunctionlog_output
(s: &str)
src/log.rs:7
↓ 4 callersMethodget_idesktops_array
(&self)
src/comobjects.rs:455
↓ 4 callersMethodstop
Stops the listener, and join the thread if it is still running, normally you don't need to call this as drop calls this automatically
src/listener.rs:107
↓ 3 callersFunctionGetDesktopCount
()
dll/src/lib.rs:29
↓ 3 callersMethodget_iapplication_id_for_view
(&self, view: &IApplicationView)
src/comobjects.rs:753
↓ 2 callersMethodas_error
(&self)
src/comobjects.rs:69
↓ 2 callersMethodget_desktop_by_window
(&self, window: &HWND)
src/comobjects.rs:687
↓ 2 callersFunctionget_desktop_count
Get desktop count
src/desktop.rs:209
↓ 2 callersMethodget_desktop_count
(&self)
src/comobjects.rs:677
↓ 2 callersMethodget_desktop_index_by_guid
(&self, id: &GUID)
src/comobjects.rs:465
↓ 2 callersFunctionget_desktops
Get all desktops
src/desktop.rs:199
↓ 2 callersMethodget_desktops
(&self)
src/comobjects.rs:572
↓ 2 callersMethodget_manager
(&self)
src/comobjects.rs:269
↓ 2 callersMethodget_notification_service
(&self)
src/comobjects.rs:323
↓ 2 callersFunctionis_window_on_current_desktop
(hwnd: HWND)
src/desktop.rs:213
↓ 2 callersFunctionis_window_on_desktop
Is window on desktop by index or GUID
src/desktop.rs:170
↓ 2 callersFunctionlog_output
(s: &str)
dll/src/lib.rs:231
↓ 2 callersFunctionpin_app
Pin app
src/desktop.rs:238
↓ 2 callersFunctionpin_window
Pin window
src/desktop.rs:223
↓ 2 callersMethodtry_send
(&self, event: T)
src/events.rs:53
↓ 2 callersFunctionunpin_app
Unpin app
src/desktop.rs:243
↓ 2 callersFunctionunpin_window
Unpin window
src/desktop.rs:228
↓ 1 callersFunctionCreateDesktop
()
dll/src/lib.rs:203
↓ 1 callersFunctionGetDesktopName
( desktop_number: i32, out_utf8_ptr: *mut u8, out_utf8_len: usize, )
dll/src/lib.rs:84
↓ 1 callersFunctionRemoveDesktop
(remove_desktop_number: i32, fallback_desktop_number: i32)
dll/src/lib.rs:212
↓ 1 callersFunctionSetDesktopName
(desktop_number: i32, in_name_ptr: *const i8)
dll/src/lib.rs:76
↓ 1 callersFunctioncreate_desktop
Create desktop
src/desktop.rs:189
↓ 1 callersMethodcreate_desktop
(&self)
src/comobjects.rs:619
↓ 1 callersMethoddrop_services
(&self)
src/comobjects.rs:405
↓ 1 callersMethodget_current_desktop
(&self)
src/comobjects.rs:706
↓ 1 callersMethodget_desktop_guid_by_index
(&self, id: u32)
src/comobjects.rs:477
↓ 1 callersMethodget_desktop_index
(&self, id: &DesktopInternal)
src/comobjects.rs:554
↓ 1 callersMethodget_desktop_name
(&self, desktop: &DesktopInternal)
src/comobjects.rs:796
↓ 1 callersMethodget_desktop_wallpaper
(&self, desktop: &DesktopInternal)
src/comobjects.rs:818
↓ 1 callersMethodget_view_collection
(&self)
src/comobjects.rs:377
↓ 1 callersMethodget_wallpaper
Get desktop wallpaper path
src/desktop.rs:121
↓ 1 callersMethodis_connected
(&self)
src/comobjects.rs:425
↓ 1 callersFunctionis_pinned_app
Is pinned app
src/desktop.rs:233
↓ 1 callersMethodis_pinned_app
(&self, window: &HWND)
src/comobjects.rs:763
↓ 1 callersFunctionis_pinned_window
Is window pinned?
src/desktop.rs:218
↓ 1 callersMethodis_pinned_window
(&self, window: &HWND)
src/comobjects.rs:719
↓ 1 callersMethodis_window_on_current_desktop
(&self, window: &HWND)
src/comobjects.rs:655
↓ 1 callersMethodis_window_on_desktop
(&self, window: &HWND, desktop: &DesktopInternal)
src/comobjects.rs:649
↓ 1 callersMethodmove_view_to_desktop
( &self, view: ComIn<IApplicationView>, desktop: &DesktopInternal, )
src/comobjects.rs:515
↓ 1 callersMethodmove_window_to_desktop
(&self, window: &HWND, desktop: &DesktopInternal)
src/comobjects.rs:671
↓ 1 callersMethodpin_app
(&self, window: &HWND)
src/comobjects.rs:776
↓ 1 callersMethodpin_window
(&self, window: &HWND)
src/comobjects.rs:731
↓ 1 callersMethodregister_for_notifications
( &self, // notification: &IVirtualDesktopNotification, notification: *mut c_void, //
src/comobjects.rs:585
↓ 1 callersFunctionremove_desktop
Remove desktop by index or GUID
src/desktop.rs:159
↓ 1 callersMethodremove_desktop
( &self, desktop: &DesktopInternal, fallback_desktop: &DesktopInternal, )
src/comobjects.rs:633
↓ 1 callersMethodset_desktop_name
(&self, desktop: &DesktopInternal, name: &str)
src/comobjects.rs:806
↓ 1 callersMethodset_desktop_wallpaper
(&self, desktop: &DesktopInternal, path: &str)
src/comobjects.rs:828
↓ 1 callersMethodset_wallpaper
Set desktop wallpaper path
src/desktop.rs:127
↓ 1 callersMethodswitch_desktop
(&self, desktop: &DesktopInternal)
src/comobjects.rs:608
↓ 1 callersMethodunpin_app
(&self, window: &HWND)
src/comobjects.rs:786
↓ 1 callersMethodunpin_window
(&self, window: &HWND)
src/comobjects.rs:742
↓ 1 callersMethodunregister_for_notifications
(&self, cookie: u32)
src/comobjects.rs:602
FunctionGetCurrentDesktopNumber
()
dll/src/lib.rs:19
FunctionGetDesktopIdByNumber
(number: i32)
dll/src/lib.rs:34
FunctionGetDesktopNumberById
(desktop_id: GUID)
dll/src/lib.rs:42
FunctionGetWindowDesktopId
(hwnd: HWND)
dll/src/lib.rs:49
FunctionGetWindowDesktopNumber
(hwnd: HWND)
dll/src/lib.rs:56
FunctionGoToDesktopNumber
(desktop_number: i32)
dll/src/lib.rs:71
FunctionIsPinnedApp
(hwnd: HWND)
dll/src/lib.rs:186
FunctionIsPinnedWindow
(hwnd: HWND)
dll/src/lib.rs:174
FunctionIsWindowOnCurrentVirtualDesktop
(hwnd: HWND)
dll/src/lib.rs:61
FunctionIsWindowOnDesktopNumber
(hwnd: HWND, desktop_number: i32)
dll/src/lib.rs:198
FunctionMoveWindowToDesktopNumber
(hwnd: HWND, desktop_number: i32)
dll/src/lib.rs:66
FunctionPinApp
(hwnd: HWND)
dll/src/lib.rs:190
FunctionPinWindow
(hwnd: HWND)
dll/src/lib.rs:178
FunctionRegisterPostMessageHook
(listener_hwnd: HWND, message_offset: u32)
dll/src/lib.rs:111
FunctionRestartVirtualDesktopAccessor
()
dll/src/lib.rs:220
FunctionUnPinApp
(hwnd: HWND)
dll/src/lib.rs:194
FunctionUnPinWindow
(hwnd: HWND)
dll/src/lib.rs:182
FunctionUnregisterPostMessageHook
(listener_hwnd: HWND)
dll/src/lib.rs:161
Methodcurrent_virtual_desktop_changed
( &self, desktop_old: ComIn<IVirtualDesktop>, desktop_new: ComIn<IVirtualDesktop>,
src/listener.rs:195
Methoddefault
()
testbin/src/main.rs:16
Methodderef
(&self)
src/interfaces.rs:102
Methoddrop
(&mut self)
src/listener.rs:120
next →1–100 of 137, ranked by callers