windows-rs
windows-rs copied to clipboard
Feature request: convenience macros/functions
Motivation
certain macros such as MAKEINTRESOURCE, and GET_X_LPARAM aren't in windows-rs which would make using functions like LoadImage inconvenient. Adding convenience macros would make useability easier.
Drawbacks
Drawback could be further bloating the crate
Rationale and alternatives
convenience macros could be const functions, or declarative macros.
Additional context
No response
Duplicate of #641
...and #921 and #1205 and #1445...
I'm beginning to think we should do something about this. Maybe make a windows-rsEx crate? 😆
Yep, a dedicated crate for macros seems appropriate.