File tree 3 files changed +4
-5
lines changed
library/std/src/sys/windows
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;
51
51
pub type SRWLOCK = RTL_SRWLOCK ;
52
52
pub type INIT_ONCE = RTL_RUN_ONCE ;
53
53
54
- #[ cfg( target_vendor = "uwp" ) ]
55
- pub const STATUS_NOT_IMPLEMENTED : NTSTATUS = 0xC0000002_u32 as _ ;
56
-
57
54
pub const CONDITION_VARIABLE_INIT : CONDITION_VARIABLE = CONDITION_VARIABLE { Ptr : ptr:: null_mut ( ) } ;
58
55
pub const SRWLOCK_INIT : SRWLOCK = SRWLOCK { Ptr : ptr:: null_mut ( ) } ;
59
56
pub const INIT_ONCE_STATIC_INIT : INIT_ONCE = INIT_ONCE { Ptr : ptr:: null_mut ( ) } ;
@@ -431,7 +428,7 @@ compat_fn_with_fallback! {
431
428
STATUS_NOT_IMPLEMENTED
432
429
}
433
430
#[ 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
436
433
}
437
434
}
Original file line number Diff line number Diff line change @@ -1930,6 +1930,7 @@ Windows.Win32.Foundation.SetLastError
1930
1930
Windows.Win32.Foundation.STATUS_DELETE_PENDING
1931
1931
Windows.Win32.Foundation.STATUS_END_OF_FILE
1932
1932
Windows.Win32.Foundation.STATUS_INVALID_PARAMETER
1933
+ Windows.Win32.Foundation.STATUS_NOT_IMPLEMENTED
1933
1934
Windows.Win32.Foundation.STATUS_PENDING
1934
1935
Windows.Win32.Foundation.STATUS_SUCCESS
1935
1936
Windows.Win32.Foundation.TRUE
Original file line number Diff line number Diff line change @@ -3888,6 +3888,7 @@ pub type STARTUPINFOW_FLAGS = u32;
3888
3888
pub const STATUS_DELETE_PENDING : NTSTATUS = -1073741738i32 ;
3889
3889
pub const STATUS_END_OF_FILE : NTSTATUS = -1073741807i32 ;
3890
3890
pub const STATUS_INVALID_PARAMETER : NTSTATUS = -1073741811i32 ;
3891
+ pub const STATUS_NOT_IMPLEMENTED : NTSTATUS = -1073741822i32 ;
3891
3892
pub const STATUS_PENDING : NTSTATUS = 259i32 ;
3892
3893
pub const STATUS_SUCCESS : NTSTATUS = 0i32 ;
3893
3894
pub const STD_ERROR_HANDLE : STD_HANDLE = 4294967284u32 ;
You can’t perform that action at this time.
0 commit comments