Skip to content

Commit b50c1bb

Browse files
committed
windows: provide NonZeroDWORD
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
1 parent 2fb1dee commit b50c1bb

File tree

1 file changed

+2
-0
lines changed
  • library/std/src/sys/windows

1 file changed

+2
-0
lines changed

Diff for: library/std/src/sys/windows/c.rs

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#![cfg_attr(test, allow(dead_code))]
55
#![unstable(issue = "none", feature = "windows_c")]
66

7+
use crate::os::raw::NonZero_c_ulong;
78
use crate::os::raw::{c_char, c_int, c_long, c_longlong, c_uint, c_ulong, c_ushort};
89
use crate::ptr;
910

@@ -13,6 +14,7 @@ pub use self::EXCEPTION_DISPOSITION::*;
1314
pub use self::FILE_INFO_BY_HANDLE_CLASS::*;
1415

1516
pub type DWORD = c_ulong;
17+
pub type NonZeroDWORD = NonZero_c_ulong;
1618
pub type HANDLE = LPVOID;
1719
pub type HINSTANCE = HANDLE;
1820
pub type HMODULE = HINSTANCE;

0 commit comments

Comments
 (0)