#dll #forward #function #mini

yanked forward-dll-mini

Forward dll functions

1 unstable release

0.1.16 Feb 21, 2024

#56 in #forward

MIT license

12KB
204 lines

forward-dll-mini

Crates.io GitHub

Crates.io GitHub

// Cargo.toml

[lib]
name = "dinput8"
//  name = "d3d11"
//  Not only supports dinput8 and d3d11... test it yourself
crate-type = ["cdylib"]

[build-dependencies]
forward_dll_mini = { git = "https://github.com/vSylva/forward-dll-mini" }
// build.rs

use forward_dll_mini::forward_dll;

fn main() {
    forward_dll("C:\\Windows\\System32\\dinput8.dll").unwrap();
    //  forward_dll("C:\\Windows\\System32\\d3d11.dll").unwrap();
}

Dependencies

~1.2–1.6MB
~31K SLoC