Skip to content

Commit 33c6c3a

Browse files
committed
Lazy load NtOpenFile for UWP
1 parent 4f52199 commit 33c6c3a

File tree

1 file changed

+11
-0
lines changed
  • library/std/src/sys/pal/windows

1 file changed

+11
-0
lines changed

library/std/src/sys/pal/windows/c.rs

+11
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,17 @@ compat_fn_with_fallback! {
237237
STATUS_NOT_IMPLEMENTED
238238
}
239239
#[cfg(target_vendor = "uwp")]
240+
pub fn NtOpenFile(
241+
filehandle: *mut HANDLE,
242+
desiredaccess: u32,
243+
objectattributes: *const OBJECT_ATTRIBUTES,
244+
iostatusblock: *mut IO_STATUS_BLOCK,
245+
shareaccess: u32,
246+
openoptions: u32
247+
) -> NTSTATUS {
248+
STATUS_NOT_IMPLEMENTED
249+
}
250+
#[cfg(target_vendor = "uwp")]
240251
pub fn NtReadFile(
241252
filehandle: HANDLE,
242253
event: HANDLE,

0 commit comments

Comments
 (0)