File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
library/std/src/sys/windows Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,6 @@ pub type CONDITION_VARIABLE = RTL_CONDITION_VARIABLE;
5151pub type SRWLOCK = RTL_SRWLOCK ;
5252pub type INIT_ONCE = RTL_RUN_ONCE ;
5353
54- #[ cfg( target_vendor = "uwp" ) ]
55- pub const STATUS_NOT_IMPLEMENTED : NTSTATUS = 0xC0000002_u32 as _ ;
56-
5754pub const CONDITION_VARIABLE_INIT : CONDITION_VARIABLE = CONDITION_VARIABLE { Ptr : ptr:: null_mut ( ) } ;
5855pub const SRWLOCK_INIT : SRWLOCK = SRWLOCK { Ptr : ptr:: null_mut ( ) } ;
5956pub const INIT_ONCE_STATIC_INIT : INIT_ONCE = INIT_ONCE { Ptr : ptr:: null_mut ( ) } ;
@@ -431,7 +428,7 @@ compat_fn_with_fallback! {
431428 STATUS_NOT_IMPLEMENTED
432429 }
433430 #[ cfg( target_vendor = "uwp" ) ]
434- pub fn RtlNtStatusToDosError ( Status : NTSTATUS ) -> ULONG {
435- Status as ULONG
431+ pub fn RtlNtStatusToDosError ( Status : NTSTATUS ) -> u32 {
432+ Status as u32
436433 }
437434}
Original file line number Diff line number Diff line change @@ -1930,6 +1930,7 @@ Windows.Win32.Foundation.SetLastError
19301930Windows.Win32.Foundation.STATUS_DELETE_PENDING
19311931Windows.Win32.Foundation.STATUS_END_OF_FILE
19321932Windows.Win32.Foundation.STATUS_INVALID_PARAMETER
1933+ Windows.Win32.Foundation.STATUS_NOT_IMPLEMENTED
19331934Windows.Win32.Foundation.STATUS_PENDING
19341935Windows.Win32.Foundation.STATUS_SUCCESS
19351936Windows.Win32.Foundation.TRUE
Original file line number Diff line number Diff line change @@ -3888,6 +3888,7 @@ pub type STARTUPINFOW_FLAGS = u32;
38883888pub const STATUS_DELETE_PENDING : NTSTATUS = -1073741738i32 ;
38893889pub const STATUS_END_OF_FILE : NTSTATUS = -1073741807i32 ;
38903890pub const STATUS_INVALID_PARAMETER : NTSTATUS = -1073741811i32 ;
3891+ pub const STATUS_NOT_IMPLEMENTED : NTSTATUS = -1073741822i32 ;
38913892pub const STATUS_PENDING : NTSTATUS = 259i32 ;
38923893pub const STATUS_SUCCESS : NTSTATUS = 0i32 ;
38933894pub const STD_ERROR_HANDLE : STD_HANDLE = 4294967284u32 ;
You can’t perform that action at this time.
0 commit comments