NativeOverlapped NativeOverlapped NativeOverlapped NativeOverlapped Struct

定義

提供明確配置,這套配置從 Unmanaged 程式碼可以看出,並且配置和 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
[System.Runtime.InteropServices.ComVisible(true)]
public struct NativeOverlapped
type NativeOverlapped = struct
Public Structure NativeOverlapped
繼承
NativeOverlappedNativeOverlappedNativeOverlappedNativeOverlapped
屬性

備註

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 EventHandle EventHandle 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 InternalHigh InternalHigh InternalHigh

指定所傳輸資料的長度。Specifies the length of the data transferred. 保留供作業系統使用。Reserved for operating system use.

InternalLow InternalLow InternalLow InternalLow

指定系統相依的狀態。Specifies a system-dependent status. 保留供作業系統使用。Reserved for operating system use.

OffsetHigh OffsetHigh OffsetHigh OffsetHigh

指定傳輸開始之處位元組的位移的高位字。Specifies the high word of the byte offset at which to start the transfer.

OffsetLow OffsetLow OffsetLow OffsetLow

指定開始傳輸的檔案位置。Specifies a file position at which to start the transfer.

適用於