NativeOverlapped 结构

定义

提供可从非托管代码查看的显式布局,与 Win32 OVERLAPPED 结构的布局相同,末尾具有其他保留字段。Provides an explicit layout that is visible from unmanaged code and that will have the same layout as the Win32 OVERLAPPED structure with additional reserved fields at the end.

public value class NativeOverlapped
public struct NativeOverlapped
[System.Runtime.InteropServices.ComVisible(true)]
public struct NativeOverlapped
type NativeOverlapped = struct
Public Structure NativeOverlapped
继承
NativeOverlapped
属性

注解

NativeOverlapped.NET Framework 值类型表示 Win32 重叠结构的非托管版本。The NativeOverlapped.NET Framework value type represents an unmanaged version of the Win32 OVERLAPPED structure. 此结构的布局必须与重叠。The layout of this structure must be identical to OVERLAPPED. 最后保留四个额外的 Dword。Four additional DWORDs are reserved at the end.

字段

EventHandle

指定在操作完成后设置为终止状态的事件句柄。Specifies the handle to an event set to the signaled state when the operation is complete. 调用进程必须在调用任何重叠函数之前将此成员设置为零或有效事件句柄。The calling process must set this member either to zero or to a valid event handle before calling any overlapped functions.

InternalHigh

指定传输的数据长度。Specifies the length of the data transferred. 保留给操作系统使用。Reserved for operating system use.

InternalLow

指定系统相关的状态。Specifies a system-dependent status. 保留给操作系统使用。Reserved for operating system use.

OffsetHigh

指定开始传输的字节偏移量中的高字。Specifies the high word of the byte offset at which to start the transfer.

OffsetLow

指定开始传输的文件位置。Specifies a file position at which to start the transfer.

适用于