hunt down some unused pubs

This commit is contained in:
2025-04-19 04:45:47 +01:00
parent 27524e855a
commit 585f454bc0
6 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ use windows::Win32::{
System::Threading::{OpenProcess, PROCESS_SUSPEND_RESUME},
};
pub const INTERVAL: Duration = Duration::from_secs(10);
const INTERVAL: Duration = Duration::from_secs(10);
#[derive(Debug)]
pub struct EmptySession {
@@ -44,8 +44,8 @@ impl EmptySession {
#[link(name = "ntdll")]
unsafe extern "system" {
pub unsafe fn NtSuspendProcess(ProcessHandle: HANDLE) -> NTSTATUS;
pub unsafe fn NtResumeProcess(ProcessHandle: HANDLE) -> NTSTATUS;
unsafe fn NtSuspendProcess(ProcessHandle: HANDLE) -> NTSTATUS;
unsafe fn NtResumeProcess(ProcessHandle: HANDLE) -> NTSTATUS;
}
fn get_gta_pid(sysinfo: &mut System) -> u32 {