Skip to content

Latest commit

 

History

History
454 lines (445 loc) · 49.5 KB

README.md

File metadata and controls

454 lines (445 loc) · 49.5 KB

winapi-rs Build status Gitter Crates.io

Documentation

This crate provides types and constants for WinAPI FFI bindings. They are gathered by hand using the very latest official SDK from Microsoft. I aim to replace all existing Windows FFI in other crates with this set of crates through the "Embrace, extend, and extinguish" technique.

If this crate is missing something you need, feel free to create an issue, open a pull request, or contact me via other means.

Example

Cargo.toml:

[dependencies]
winapi = "*"
winmm-sys = "*"

example.rs:

extern crate winapi;
extern crate "winmm-sys" as winmm;
fn func() {
    winmm::PlaySoundA(...);
}

Functions

Bindings to library functions are in separate crates. The source to each crate is in the relevant subdirectory under the lib directory.

Usable crates

These are the ones that actually have functions in them:

Reserved crates

These are the ones that are reserved for future use: