System.Threading.NativeOverlapped Structure

Assembly: Mscorlib.dll
Namespace: System.Threading
Summary
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.
C# Syntax:
public struct NativeOverlapped
Remarks
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. Four additional DWORDs are reserved at the end.
See also:
System.Threading Namespace

System.Threading.NativeOverlapped Member List:

Public Fields
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.
Public Methods
Equals
(inherited from System.ValueType)
See base class member description: System.ValueType.Equals


Indicates whether this instance and a specified object are equal.
GetHashCode
(inherited from System.ValueType)
See base class member description: System.ValueType.GetHashCode


Returns the hash code for this instance.
GetType
(inherited from System.Object)
See base class member description: System.Object.GetType

Derived from System.Object, the primary base class for all objects.
ToString
(inherited from System.ValueType)
See base class member description: System.ValueType.ToString


Returns the fully qualified type name of this instance.
Protected Methods
Finalize
(inherited from System.Object)
See base class member description: System.Object.Finalize

Derived from System.Object, the primary base class for all objects.
MemberwiseClone
(inherited from System.Object)
See base class member description: System.Object.MemberwiseClone

Derived from System.Object, the primary base class for all objects.

Hierarchy:


System.Threading.NativeOverlapped Member Details

Field: EventHandle
Summary
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.
C# Syntax:
public int EventHandle;

Return to top


Field: InternalHigh
Summary
Specifies the length of the data transferred. Reserved for operating system use.
C# Syntax:
public int InternalHigh;

Return to top


Field: InternalLow
Summary
Specifies a system-dependent status. Reserved for operating system use.
C# Syntax:
public int InternalLow;

Return to top


Field: OffsetHigh
Summary
Specifies the high word of the byte offset at which to start the transfer.
C# Syntax:
public int OffsetHigh;
Remarks
This member is ignored when reading from or writing to named pipes and communications devices and in those cases its value should be zero.

Return to top


Field: OffsetLow
Summary
Specifies a file position at which to start the transfer.
C# Syntax:
public int OffsetLow;
Remarks
The file position is a byte offset from the start of the file. The calling process sets this member before calling the OR function. This member is ignored when reading from or writing to named pipes and communications devices, and in those cases its value should be zero.

Return to top


Method: Equals(
   object obj
)
Inherited
See base class member description: System.ValueType.Equals

Summary
Indicates whether this instance and a specified object are equal.
C# Syntax:
public override bool Equals(
   object obj
);
Parameters:

obj

Another object to compare to.

Return Value:
true if obj and this instance are the same type and represent the same value; otherwise, false.

Return to top


Method: Finalize()
Inherited
See base class member description: System.Object.Finalize
C# Syntax:
~NativeOverlapped();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: GetHashCode()
Inherited
See base class member description: System.ValueType.GetHashCode

Summary
Returns the hash code for this instance.
C# Syntax:
public override int GetHashCode();
Return Value:
A 32-bit signed integer that is the hash code for this instance.
Remarks
The ValueType.GetHashCode method applies to types derived from ValueType. One or more fields of the derived type is used to calculate the return value. If one or more of those fields contains a mutable value, the return value might be unpredictable, and unsuitable for use as a key in a hash table.

For more information, see Object.GetHashCode, and Hashtable.

Return to top


Method: GetType()
Inherited
See base class member description: System.Object.GetType
C# Syntax:
public Type GetType();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: MemberwiseClone()
Inherited
See base class member description: System.Object.MemberwiseClone
C# Syntax:
protected object MemberwiseClone();

For more information on members inherited from System.Object click on the link above.

Return to top


Method: ToString()
Inherited
See base class member description: System.ValueType.ToString

Summary
Returns the fully qualified type name of this instance.
C# Syntax:
public override string ToString();
Return Value:
A String containing a fully qualified type name.

Return to top


Top of page

Copyright (c) 2002 Microsoft Corporation. All rights reserved.