File tree 3 files changed +3
-2
lines changed
library/std/src/sys/windows
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ pub use FD_SET as fd_set;
46
46
pub use LINGER as linger;
47
47
pub use TIMEVAL as timeval;
48
48
49
+ pub const INVALID_HANDLE_VALUE : HANDLE = :: core:: ptr:: invalid_mut ( -1i32 as _ ) ;
50
+
49
51
// https://learn.microsoft.com/en-us/cpp/c-runtime-library/exit-success-exit-failure?view=msvc-170
50
52
pub const EXIT_SUCCESS : u32 = 0 ;
51
53
pub const EXIT_FAILURE : u32 = 1 ;
Original file line number Diff line number Diff line change 2
2
--config flatten std
3
3
--filter
4
4
// tidy-alphabetical-start
5
+ !Windows.Win32.Foundation.INVALID_HANDLE_VALUE
5
6
Windows.Wdk.Storage.FileSystem.FILE_COMPLETE_IF_OPLOCKED
6
7
Windows.Wdk.Storage.FileSystem.FILE_CONTAINS_EXTENDED_CREATE_INFORMATION
7
8
Windows.Wdk.Storage.FileSystem.FILE_CREATE
@@ -1923,7 +1924,6 @@ Windows.Win32.Foundation.HANDLE_FLAG_INHERIT
1923
1924
Windows.Win32.Foundation.HANDLE_FLAG_PROTECT_FROM_CLOSE
1924
1925
Windows.Win32.Foundation.HANDLE_FLAGS
1925
1926
Windows.Win32.Foundation.HMODULE
1926
- Windows.Win32.Foundation.INVALID_HANDLE_VALUE
1927
1927
Windows.Win32.Foundation.MAX_PATH
1928
1928
Windows.Win32.Foundation.NO_ERROR
1929
1929
Windows.Win32.Foundation.NTSTATUS
Original file line number Diff line number Diff line change @@ -3498,7 +3498,6 @@ impl ::core::clone::Clone for INIT_ONCE {
3498
3498
}
3499
3499
pub const INIT_ONCE_INIT_FAILED : u32 = 4u32 ;
3500
3500
pub const INVALID_FILE_ATTRIBUTES : u32 = 4294967295u32 ;
3501
- pub const INVALID_HANDLE_VALUE : HANDLE = :: core:: ptr:: invalid_mut ( -1i32 as _ ) ;
3502
3501
pub const INVALID_SOCKET : SOCKET = -1i32 as _ ;
3503
3502
#[ repr( C ) ]
3504
3503
pub struct IN_ADDR {
You can’t perform that action at this time.
0 commit comments