MCPcopy Create free account

hub / github.com/RustyStarX/RustyStar / functions

Functions58 in github.com/RustyStarX/RustyStar

↓ 8 callersFunctiontoggle_efficiency_mode_handle
Toggle efficiency mode of a thread, by a [`HANDLE`](https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/Foundation/struct.HANDLE.html). [`G
win32-ecoqos/src/thread.rs:59
↓ 4 callersFunctiontoggle_efficiency_mode
Toggle efficiency mode of a thread, by a thread_id. WARN: [`Thread::id()`](https://doc.rust-lang.org/std/thread/struct.Thread.html#method.id) is enti
win32-ecoqos/src/thread.rs:39
↓ 4 callersFunctionwhitelisted
(proc_name: impl AsRef<OsStr>)
rustystar/src/bypass/mod.rs:5
↓ 3 callersFunctiontoggle_all
(enable: Option<bool>)
rustystar/src/utils/mod.rs:60
↓ 2 callersFunctionencode_path
(path: &PathBuf)
rustystar/src/tray.rs:16
↓ 2 callersMethodfind_thread_by_name
find a thread of current process, by it's name
win32-ecoqos/src/utils/thread.rs:75
↓ 2 callersMethodis_in_tree
(&self, root: u32, mut pid: u32)
rustystar/src/utils/proc_tree/mod.rs:32
↓ 2 callersMethodnext
(&mut self)
win32-ecoqos/src/utils/thread.rs:98
↓ 2 callersFunctionprocess_child_process
(enable: Option<bool>, main_pid: u32)
rustystar/src/utils/mod.rs:16
↓ 1 callersFunctionappend_comments
(toml: &str)
rustystar/src/config/merge.rs:11
↓ 1 callersFunctioncomment_sub_struct
( t: &mut Table, get_field: fn(String) -> Result<&'static str, documented::Error>, )
rustystar/src/config/merge.rs:18
↓ 1 callersFunctionenable_se_debug
(tokenhandle: HANDLE)
rustystar/src/privilege/mod.rs:28
↓ 1 callersFunctionenter_event_loop
()
rustystar/src/events/mod.rs:17
↓ 1 callersMethodget_name
(&self)
win32-ecoqos/src/utils/thread.rs:54
↓ 1 callersFunctionis_elevated
(tokenhandle: HANDLE)
rustystar/src/privilege/mod.rs:12
↓ 1 callersFunctionlisten_process_creation
(mut callback: impl FnMut(Process))
listen-new-proc/src/listen.rs:27
↓ 1 callersMethodparent_pid
(&self)
rustystar/src/utils/proc_tree/mod.rs:60
↓ 1 callersMethodpid
(&self)
rustystar/src/utils/proc_tree/mod.rs:56
↓ 1 callersFunctionsetup_auto_launch
(autostart_on_boot: bool)
rustystar/src/auto_launch.rs:6
↓ 1 callersFunctionsingleton_check
()
rustystar/src/utils/mod.rs:78
↓ 1 callersFunctionstart_tray_service
(log_file: PathBuf)
rustystar/src/tray.rs:23
↓ 1 callersFunctiontoggle_efficiency_mode_handle
Toggle efficiency mode of a process, by a [`HANDLE`](https://microsoft.github.io/windows-docs-rs/doc/windows/Win32/Foundation/struct.HANDLE.html). [`
win32-ecoqos/src/process.rs:84
↓ 1 callersFunctiontoggle_efficiency_mode_impl
( hprocess: HANDLE, processinformation: *const c_void, processinformationclass: PROCESS_INFORMATIO
win32-ecoqos/src/process.rs:13
↓ 1 callersFunctiontoggle_efficiency_mode_impl
( hthread: HANDLE, threadinformation: *const c_void, threadinformationclass: THREAD_INFORMATION_CL
win32-ecoqos/src/thread.rs:12
↓ 1 callersFunctiontry_enable_se_debug_privilege
()
rustystar/src/privilege/mod.rs:59
↓ 1 callersFunctiontry_find_uwp_process
(process_id: u32, window_thread: HWND)
rustystar/src/events/mod.rs:89
Methodconfig_path
()
rustystar/src/config/mod.rs:66
Methoddefault
()
rustystar/src/config/mod.rs:103
Functiondisable_ecoqos_handle
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:16
Functiondisable_ecoqos_pid
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:10
Methoddrop
(&mut self)
win32-ecoqos/src/utils/process.rs:29
Methoddrop
(&mut self)
win32-ecoqos/src/utils/thread.rs:48
Functionecoqos_enabled
check whether EcoQoS is enabled on a process. `hprocess` must have `PROCESS_QUERY_INFORMATION` access right. SAFETY: `hprocess` must be a valid proc
win32-ecoqos/src/process.rs:120
Functionecoqos_enabled
check whether EcoQoS is enabled on a thread. `hprocess` must have `THREAD_QUERY_INFORMATION` access right. SAFETY: `hthread` must be a valid process
win32-ecoqos/src/thread.rs:95
Functionfind_match
(hwnd: HWND, ctx_ptr: LPARAM)
rustystar/src/events/mod.rs:90
Functionfind_thread_by_name
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:39
Functionfind_thread_by_name_snap
()
win32-ecoqos/tests/find_thread.rs:10
Functionfold_doc
(doc: &str)
rustystar/src/config/merge.rs:49
Methodfrom
(iter: I)
rustystar/src/utils/proc_tree/mod.rs:21
Methodfrom_profile
()
rustystar/src/config/mod.rs:76
Functionhook
( _hwineventhook: HWINEVENTHOOK, _event: u32, window_thread: HWND, _idobject:
rustystar/src/events/mod.rs:18
Functionlist_process
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:24
Functionlist_thread
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:31
Functionlog_error
(e: &E)
rustystar/src/logging/mod.rs:5
Functionlog_warn
(e: &E)
rustystar/src/logging/mod.rs:12
Functionmain
()
win32-ecoqos/examples/retrieve_thread.rs:12
Functionmain
()
win32-ecoqos/examples/list_process.rs:3
Functionmain
()
rustystar/build.rs:3
Functionmain
()
rustystar/src/main.rs:26
Methodnew
()
rustystar/src/utils/proc_tree/mod.rs:28
Methodnext
(&mut self)
win32-ecoqos/src/utils/process.rs:48
Functionsend_thread_id_back
(b: &mut test::Bencher)
win32-ecoqos/benches/bench.rs:59
Functiontest_csrss_process_name
()
win32-ecoqos/tests/list_process.rs:4
Functiontest_process_ecoqos
()
win32-ecoqos/tests/process_toggle.rs:5
Functiontest_thread_ecoqos
()
win32-ecoqos/tests/thread_toggle.rs:5
Functiontoggle_efficiency_mode
Toggle efficiency mode of a process, by it's PID. ```rust use win32_ecoqos::process::toggle_efficiency_mode; let pid = std::process::id(); // Enabl
win32-ecoqos/src/process.rs:47
Methodtry_new
try to capture a snapshot of processes.
win32-ecoqos/src/utils/process.rs:36
Methodtry_new
create a new snapshop to find threads
win32-ecoqos/src/utils/thread.rs:66