Registry / other / winapi

winapi

JSON →
library0.3.9rscratesunverified

Raw FFI bindings for all of Windows API.

other
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.

use winapi::um::winuser::MessageBoxA;

Display a Windows message box using raw FFI.

use winapi::um::winuser::MessageBoxA; use winapi::um::winnt::HWND; fn main() { unsafe { MessageBoxA(std::ptr::null_mut(), "Hello\0".as_ptr() as *const i8, "Title\0".as_ptr() as *const i8, 0); } }
Debug
Known footguns
gotchaAll functions are unsafe; requires careful handling of pointers and null-terminated strings.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
12 hits · last 30 days
gptbot
3
claudebot
3
ahrefsbot
1
Resources