Crate forward_dll_mini

Source
Expand description

§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();
}

Enums§

ForwardError

Traits§

ForwardModule

Functions§

forward_dll
forward_dll_with_dev_path
forward_dll_with_exports

Type Aliases§

ForwardResult