Name

NativeOverlapped

Synopsis

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 shared method Overlapped.Free() to avoid a memory leak.

Public Structure NativeOverlapped
                  ' Public Instance Fields
   Public EventHandle As Integer  
   Public InternalHigh As Integer  
   Public InternalLow As Integer  
   Public OffsetHigh As Integer  
   Public OffsetLow As Integer  
End Structure

Hierarchy

System.ObjectSystem.ValueType NativeOverlapped

Returned By

Overlapped.{Pack(), UnsafePack()}

Passed To

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

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.