DekGenius.com
[ Team LiB ] Previous Section Next Section

NativeOverlapped

System.Threading (mscorlib.dll)struct

This structure has the same layout as the Win32 OVERLAPPED structure, with extra reserved data at the end, which is provided for backward compatibility. Create a NativeOverlapped instance by calling Overlapped.Pack( ). Each time an instance is created, it must be freed by calling the static method Overlapped.Free( ) to avoid a memory leak.

public struct NativeOverlapped {
// Public Instance Fields
   public int EventHandle;
   public int InternalHigh;
   public int InternalLow;
   public int OffsetHigh;
   public int OffsetLow;
}

Hierarchy

System.Object System.ValueType NativeOverlapped

Returned By

Overlapped.{Pack( ), UnsafePack( )}

Passed To

IOCompletionCallback.{BeginInvoke( ), Invoke( )}, Overlapped.{Free( ), Unpack( )}

    [ Team LiB ] Previous Section Next Section