NativeOverlapped 結構

定義

提供明確配置,這套配置為從 Unmanaged 程式碼可見,並且和 Win32 OVERLAPPED 結構有相同的配置,結尾還額外加有保留欄位。

public value class NativeOverlapped
public struct NativeOverlapped
[System.Runtime.InteropServices.ComVisible(true)]
public struct NativeOverlapped
type NativeOverlapped = struct
[<System.Runtime.InteropServices.ComVisible(true)>]
type NativeOverlapped = struct
Public Structure NativeOverlapped
繼承
NativeOverlapped
屬性

備註

NativeOverlapped.NET Framework實數值型別代表 Win32 OVERLAPPED 結構的 Unmanaged 版本。 這個結構的版面配置必須與 OVERLAPPED 相同。 最後會保留四個額外的 DWORD。

欄位

EventHandle

指定事件的控制碼,當作業完成時會被設定為信號狀態。 呼叫程序必須先把這個成員設定為零或是有效的事件控制代碼,才能呼叫重疊的函式。

InternalHigh

指定所傳輸資料的長度。 保留供作業系統使用。

InternalLow

指定系統相依的狀態。 保留供作業系統使用。

OffsetHigh

指定傳輸開始之處位元組的位移的高位字。

OffsetLow

指定開始傳輸的檔案位置。

適用於