System.Runtime.InteropServices.ComTypes.SYSKIND Enumeration

Identifies the target operating system platform.

Syntax

public enum SYSKIND

Remarks

For additional information about the SYSKIND enumeration, see the MSDN Library.

The common language runtime throws an exception when a COM method in native code returns an HRESULT. For more information, see How to: Map HRESULTs and Exceptions.

Members

Member NameDescription
SYS_MAC

The target operating system for the type library is Apple Macintosh. By default, all data fields are aligned on even-byte boundaries.

SYS_WIN16

The target operating system for the type library is 16-bit Windows systems. By default, data fields are packed.

SYS_WIN32

The target operating system for the type library is 32-bit Windows systems. By default, data fields are naturally aligned (for example, 2-byte integers are aligned on even-byte boundaries; 4-byte integers are aligned on quad-word boundaries, and so on).

SYS_WIN64

The target operating system for the type library is 64-bit Windows systems.

Requirements

Namespace: System.Runtime.InteropServices.ComTypes
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0