Registry / other / gdi32-sys

gdi32-sys

JSON →
library0.2.0rscratesunverified

FFI bindings to the Windows GDI32 library for graphics device interface functions.

# Cargo.toml [dependencies] gdi32-sys = "0.2.0"
INSTALL
IMPORT
SIG · GDI32-SYS
G
gdi32-sys
otherrustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gdi32_sys
✓ use gdi32_sys::*;

Minimal usage showing raw FFI import.

use gdi32_sys::*; fn main() { unsafe { // Example: GetDeviceCaps // let hdc = GetDC(std::ptr::null_mut()); println!("gdi32-sys provides raw Windows GDI bindings"); } }
Debug
Known issues
gotchaRequires Windows target; not available on other platforms.
fix
Use conditional compilation with #[cfg(target_os = "windows")].
affects: >=0.1.0
Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
gdi32-sys — cargo add gdi32-sys · libregistry