winapi-rs icon indicating copy to clipboard operation
winapi-rs copied to clipboard

Rust bindings to Windows API

Results 133 winapi-rs issues
Sort by recently updated
recently updated
newest added

entry in Cargo.lock [[package]] name = "kernel32-sys" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d" dependencies = [ "winapi 0.2.8", "winapi-build", ] error on compile warning: the following packages...

The `RIDL` macro generates a nice set of Rust methods on the class struct for invoking the underlying interface methods without having to manually look them up in the vtable...

Because Rust treats isize and i32 as different types even when they are the same size, aliasing `SetWindowLongPtrW` to `SetWindowLongW` doesn't work without a cast. So, let's do the cast...

waiting for 0.4

Hey guys, so on Windows normally when you compile your code it generates an executable, so when I click on it it always opens up a temrinal window. I want...

pub unsafe extern "system" fn EnumSystemLocalesA( lpLocaleEnumProc: [LOCALE_ENUMPROCA](https://docs.rs/winapi/0.3.9/winapi/um/winnls/type.LOCALE_ENUMPROCA.html), dwFlags: [DWORD](https://docs.rs/winapi/0.3.9/winapi/shared/minwindef/type.DWORD.html) ) -> [BOOL](https://docs.rs/winapi/0.3.9/winapi/shared/minwindef/type.BOOL.html) Many of these function types don't know how to generate them I don't know how to write...

Previously, programs trying to use winapi on other targets would see errors like this: ``` failed to resolve: could not find um in winapi ... many other related errors ......

Since Windows 17063, there is UNIX domain socket support in Windows. Along with the support `afunix.h` is added to define `SOCKADDR_UN` struct for creating UNIX domain sockets. This pull request...

https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes `0x16` should be `VK_IME_ON`, but inside WINUSER, next to the other consts, `0x16` is "skipped". Same for `VK_IME_OFF`.

Hi, and thanks for creating and maintaining this crate! :) I'm currently working on a program that needs to register DirectShow filters on windows (virtual camera stuff), and am looking...