Closed
Description
Summary
Hello!
AcceptSecurityContext returns an expiry time in i64 format and between the documentation and the actual implementation it's not clear how you would have to transmute or interpret that. I assume you just have to transmute it, but it should probably just return FILETIME directly.
On that front, I noticed that SystemTime from the Rust standard library (!) uses a FILETIME handle internally, so you could actually transmute to that directly from this library to return a safe SystemTime instance for Rust. That might be worth looking into directly with the std guys, as now these types from windows_sys and std are incompatible but implemented pretty much the same.
Using windows crate version 0.58