- https://github.com/rust-lang/rust/blob/master/library/std/src/sys/windows/ext/raw.rs says u32/u64 - https://github.com/rust-lang/libc/blob/master/src/windows/mod.rs#L51 says uintptr_t aka usize For some reason official MS SDK docs likes to [keep the actual definition a secret](https://docs.microsoft.com/en-us/windows/win32/winsock/winsock-structures) - https://github.com/mirror/mingw-w64/blob/master/mingw-w64-headers/include/psdk_inc/_socket_types.h says uintptr_t - http://www.novell.com/documentation/developer/samplecode/ndpscomp_sample/gateway_inc/WINSOCK2.H.html says u_int/uintptr_t Probably the std definition should be changed to `usize` to match the libc crate.
For some reason official MS SDK docs likes to keep the actual definition a secret
Probably the std definition should be changed to
usizeto match the libc crate.