windows: provide NonZeroDWORD
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
This commit is contained in:
parent
2fb1dee14b
commit
b50c1bbb0e
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
||||||
#![cfg_attr(test, allow(dead_code))]
|
#![cfg_attr(test, allow(dead_code))]
|
||||||
#![unstable(issue = "none", feature = "windows_c")]
|
#![unstable(issue = "none", feature = "windows_c")]
|
||||||
|
|
||||||
|
use crate::os::raw::NonZero_c_ulong;
|
||||||
use crate::os::raw::{c_char, c_int, c_long, c_longlong, c_uint, c_ulong, c_ushort};
|
use crate::os::raw::{c_char, c_int, c_long, c_longlong, c_uint, c_ulong, c_ushort};
|
||||||
use crate::ptr;
|
use crate::ptr;
|
||||||
|
|
||||||
|
@ -13,6 +14,7 @@ pub use self::EXCEPTION_DISPOSITION::*;
|
||||||
pub use self::FILE_INFO_BY_HANDLE_CLASS::*;
|
pub use self::FILE_INFO_BY_HANDLE_CLASS::*;
|
||||||
|
|
||||||
pub type DWORD = c_ulong;
|
pub type DWORD = c_ulong;
|
||||||
|
pub type NonZeroDWORD = NonZero_c_ulong;
|
||||||
pub type HANDLE = LPVOID;
|
pub type HANDLE = LPVOID;
|
||||||
pub type HINSTANCE = HANDLE;
|
pub type HINSTANCE = HANDLE;
|
||||||
pub type HMODULE = HINSTANCE;
|
pub type HMODULE = HINSTANCE;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue