Crates.io | forward-dll-mini |
lib.rs | forward-dll-mini |
version | 0.1.16 |
source | src |
created_at | 2024-02-21 06:56:06.99667 |
updated_at | 2024-02-21 06:56:06.99667 |
description | Forward dll functions. |
homepage | |
repository | https://github.com/vSylva/forward-dll-mini |
max_upload_size | |
id | 1147658 |
size | 13,217 |
// 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();
}