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

Rust for Windows

Results 58 windows-rs issues
Sort by recently updated
recently updated
newest added

### Motivation certain macros such as [MAKEINTRESOURCE](https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-makeintresourcea), and [GET_X_LPARAM](https://docs.microsoft.com/en-us/windows/win32/api/windowsx/nf-windowsx-get_x_lparam) aren't in windows-rs which would make using functions like [LoadImage](https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-loadimagea) inconvenient. Adding convenience macros would make useability easier. ### Drawbacks Drawback...

enhancement

I think I missed some libraries from the SDK, but I dumped symbol lists from windows SDK/MSVC for x86 and compared to what's in i686_msvc, and there are tons of...

I'm currently trying to cast C++ IUnknown pointer (`*mut c_void`) to rust IUnknown via `std::mem::transmute_copy` but not successful so far. Is it supposed to be working or is there any...

question

### Which crate is this about? Windows ### Crate version 0.39.0 ### Summary The Debug trait is not implemented for AgileReference. ### Toolchain version/configuration Default host: x86_64-pc-windows-msvc rustup home: C:\Users\\.rustup...

enhancement

(This issue is focused on import libraries, but I'll also open issues about other size aspects for in the coming days.) Vendoring crates with large amounts of data is costly....

enhancement

This is an RFC for how we'll handle the many types of Strings in Rust and Windows and how they interact with each other. This is a complicated question, so...

### Motivation When wrapping a C enum(-like) construct in Rust, the correct way to do it is to declare a transparent struct with the correct type inside like this (the...

enhancement

### Motivation When receiving a Result the error should provide useful information that's expected to be obtained if said function fails. ### Drawbacks An extra step behind the scenes, but...

question

I'm trying to use `windows::Web::Http::HttpClient` to download a file. I'm using `HttpClient::GetInputStreamAsync` to get an `IInputStream` and would like to somehow pass that to a function that expects something that...

enhancement

Rust/WinRT doesn't yet automatically bind a lambda/closure to a delegate parameter. Today you need to create the delegate yourself. It looks something like this: ```rust list.current_item_changed(TypedEventHandler::new(|_sender, _args| { // do...

enhancement