88use  crate :: ffi:: CStr ; 
99use  crate :: mem; 
1010pub  use  crate :: os:: raw:: c_int; 
11- use  crate :: os:: raw:: { c_char,  c_long,  c_longlong ,   c_uint,  c_ulong,  c_ushort,  c_void} ; 
11+ use  crate :: os:: raw:: { c_char,  c_long,  c_uint,  c_ulong,  c_ushort,  c_void} ; 
1212use  crate :: os:: windows:: io:: { AsRawHandle ,  BorrowedHandle } ; 
1313use  crate :: ptr; 
1414
@@ -18,7 +18,6 @@ mod windows_sys;
1818pub  use  windows_sys:: * ; 
1919
2020pub  type  DWORD  = c_ulong ; 
21- pub  type  LARGE_INTEGER  = c_longlong ; 
2221#[ cfg_attr( target_vendor = "uwp" ,  allow( unused) ) ]  
2322pub  type  LONG  = c_long ; 
2423pub  type  UINT  = c_uint ; 
@@ -270,7 +269,7 @@ pub unsafe fn NtReadFile(
270269    iostatusblock:  & mut  IO_STATUS_BLOCK , 
271270    buffer:  * mut  crate :: mem:: MaybeUninit <u8 >, 
272271    length:  ULONG , 
273-     byteoffset:  Option <& LARGE_INTEGER >, 
272+     byteoffset:  Option <& i64 >, 
274273    key:  Option <& ULONG >, 
275274)  -> NTSTATUS  { 
276275    windows_sys:: NtReadFile ( 
@@ -293,7 +292,7 @@ pub unsafe fn NtWriteFile(
293292    iostatusblock:  & mut  IO_STATUS_BLOCK , 
294293    buffer:  * const  u8 , 
295294    length:  ULONG , 
296-     byteoffset:  Option <& LARGE_INTEGER >, 
295+     byteoffset:  Option <& i64 >, 
297296    key:  Option <& ULONG >, 
298297)  -> NTSTATUS  { 
299298    windows_sys:: NtWriteFile ( 
@@ -452,7 +451,7 @@ compat_fn_with_fallback! {
452451        iostatusblock:  & mut  IO_STATUS_BLOCK , 
453452        buffer:  * mut  crate :: mem:: MaybeUninit <u8 >, 
454453        length:  ULONG , 
455-         byteoffset:  Option <& LARGE_INTEGER >, 
454+         byteoffset:  Option <& i64 >, 
456455        key:  Option <& ULONG >
457456    )  -> NTSTATUS  { 
458457        STATUS_NOT_IMPLEMENTED 
@@ -466,7 +465,7 @@ compat_fn_with_fallback! {
466465        iostatusblock:  & mut  IO_STATUS_BLOCK , 
467466        buffer:  * const  u8 , 
468467        length:  ULONG , 
469-         byteoffset:  Option <& LARGE_INTEGER >, 
468+         byteoffset:  Option <& i64 >, 
470469        key:  Option <& ULONG >
471470    )  -> NTSTATUS  { 
472471        STATUS_NOT_IMPLEMENTED 
0 commit comments