std/os/windows/raw.rs
1//! Windows-specific primitives.
2
3#![stable(feature = "raw_ext", since = "1.1.0")]
4
5use crate::os::raw::c_void;
6
7#[stable(feature = "raw_ext", since = "1.1.0")]
8pub type HANDLE = *mut c_void;
9#[cfg(target_pointer_width = "32")]
10#[doc(cfg(all()))]
11#[stable(feature = "raw_ext", since = "1.1.0")]
12pub type SOCKET = u32;
13#[cfg(target_pointer_width = "64")]
14#[doc(cfg(all()))]
15#[stable(feature = "raw_ext", since = "1.1.0")]
16pub type SOCKET = u64;