diff options
| author | bdbai <bdbaiapp@163.com> | 2025-03-09 22:42:17 +0800 |
|---|---|---|
| committer | bdbai <bdbaiapp@163.com> | 2025-03-09 22:42:17 +0800 |
| commit | 33c6c3a1e99d7838ff44a275b6eabd32d6c5c52f (patch) | |
| tree | 19b957cba91aa3b54d953bf4273648c6b9c42720 /library/std/src | |
| parent | 4f521991945886709a875ba2aeaa859574126c0e (diff) | |
| download | rust-33c6c3a1e99d7838ff44a275b6eabd32d6c5c52f.tar.gz rust-33c6c3a1e99d7838ff44a275b6eabd32d6c5c52f.zip | |
Lazy load NtOpenFile for UWP
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/sys/pal/windows/c.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/windows/c.rs b/library/std/src/sys/pal/windows/c.rs index 40b2bed73c0..004cbee52f6 100644 --- a/library/std/src/sys/pal/windows/c.rs +++ b/library/std/src/sys/pal/windows/c.rs @@ -237,6 +237,17 @@ compat_fn_with_fallback! { STATUS_NOT_IMPLEMENTED } #[cfg(target_vendor = "uwp")] + pub fn NtOpenFile( + filehandle: *mut HANDLE, + desiredaccess: u32, + objectattributes: *const OBJECT_ATTRIBUTES, + iostatusblock: *mut IO_STATUS_BLOCK, + shareaccess: u32, + openoptions: u32 + ) -> NTSTATUS { + STATUS_NOT_IMPLEMENTED + } + #[cfg(target_vendor = "uwp")] pub fn NtReadFile( filehandle: HANDLE, event: HANDLE, |
