ntr-core 0.0.1

Idiomatic NT APIs on Rust (core)
1
2
3
4
5
6
7
use core::ffi::c_void;

pub type HANDLE = *mut c_void;
#[cfg(target_pointer_width = "32")]
pub type SOCKET = u32;
#[cfg(target_pointer_width = "64")]
pub type SOCKET = u64;