mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 06:43:32 +00:00
d0787ae640
This exchanges `winapi` functions/types for equivalent `windows-sys` ones. Some basic types (e.g. `PBOOL`) don't exist in `windows-sys`, and I added `type` items for them (though those could be removed and the types inlined; that's what `windows-sys` does itself). The `psapi` library needed to be added for GetModuleFileNameExW; I guess previously `winapi` was linking it? Almost all manual definitions of types (`winapi::ENUM!` and `winapi::STRUCT!`) were no longer needed because `windows-sys` has them. Only the version of `RTL_USER_PROCESS_PARAMETERS` with undocumented fields was still needed. Differential Revision: https://phabricator.services.mozilla.com/D199111 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |