You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the return type of volume_serial_number to u32.
Change the return types of `volume_serial_number()` and
`number_of_links()` from `u64` to `u32`. This makes it easier to migrate
code from manually using the underlying Windows APIs with `dwVolumeSerialNumber`
and `nNumberOfLinks`, which are `u32`, to using
`winapi_util::file::Information` instead.
This also aligns with Rust nightly's [`windows_by_handle`] feature,
where the [corresponding types are `u32`].
[`windows_by_handle`]: rust-lang/rust#63010
[corresponding types are `u32`]: https://doc.rust-lang.org/stable/std/os/windows/fs/trait.MetadataExt.html#tymethod.volume_serial_number
0 commit comments