1 2 3 4 5 6 7 8 9 10 11
fn main() { println!("cargo:rerun-if-changed=build.rs"); windows::build! { // Windows::Win32::System::Diagnostics::ToolHelp::CreateToolhelp32Snapshot, // Windows::Win32::Foundation::HANDLE, // Windows::Win32::Foundation::HINSTANCE, // Windows::Win32::System::ProcessStatus::K32EnumProcesses, // Windows::Win32::System::ProcessStatus::K32GetModuleBaseNameW, } ; }