1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
6 using System
.Runtime
.InteropServices
;
7 using System
.Threading
;
9 internal static partial class Interop
11 internal static partial class Kernel32
13 [DllImport(Libraries
.Kernel32
, SetLastError
= true)]
14 internal static extern unsafe int ReadFile(
18 IntPtr numBytesRead_mustBeZero
,
19 NativeOverlapped
* overlapped
);