This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed
library/std/src/sys/windows Expand file tree Collapse file tree 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;
4646pub use LINGER as linger;
4747pub use TIMEVAL as timeval;
4848
49+ pub const INVALID_HANDLE_VALUE : HANDLE = :: core:: ptr:: invalid_mut ( -1i32 as _ ) ;
50+
4951// https://learn.microsoft.com/en-us/cpp/c-runtime-library/exit-success-exit-failure?view=msvc-170
5052pub const EXIT_SUCCESS : u32 = 0 ;
5153pub const EXIT_FAILURE : u32 = 1 ;
Original file line number Diff line number Diff line change 22--config flatten std
33--filter
44// tidy-alphabetical-start
5+ !Windows.Win32.Foundation.INVALID_HANDLE_VALUE
56Windows.Wdk.Storage.FileSystem.FILE_COMPLETE_IF_OPLOCKED
67Windows.Wdk.Storage.FileSystem.FILE_CONTAINS_EXTENDED_CREATE_INFORMATION
78Windows.Wdk.Storage.FileSystem.FILE_CREATE
@@ -1923,7 +1924,6 @@ Windows.Win32.Foundation.HANDLE_FLAG_INHERIT
19231924Windows.Win32.Foundation.HANDLE_FLAG_PROTECT_FROM_CLOSE
19241925Windows.Win32.Foundation.HANDLE_FLAGS
19251926Windows.Win32.Foundation.HMODULE
1926- Windows.Win32.Foundation.INVALID_HANDLE_VALUE
19271927Windows.Win32.Foundation.MAX_PATH
19281928Windows.Win32.Foundation.NO_ERROR
19291929Windows.Win32.Foundation.NTSTATUS
Original file line number Diff line number Diff line change @@ -3498,7 +3498,6 @@ impl ::core::clone::Clone for INIT_ONCE {
34983498}
34993499pub const INIT_ONCE_INIT_FAILED : u32 = 4u32 ;
35003500pub const INVALID_FILE_ATTRIBUTES : u32 = 4294967295u32 ;
3501- pub const INVALID_HANDLE_VALUE : HANDLE = :: core:: ptr:: invalid_mut ( -1i32 as _ ) ;
35023501pub const INVALID_SOCKET : SOCKET = -1i32 as _ ;
35033502#[ repr( C ) ]
35043503pub struct IN_ADDR {
You can’t perform that action at this time.
0 commit comments