Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SYSKIND Enumeration

 

Identifies the target operating system platform.

Namespace:   System.Runtime.InteropServices.ComTypes
Assembly:  mscorlib (in mscorlib.dll)

[SerializableAttribute]
public enum SYSKIND

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.

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Return to top
Show:
© 2017 Microsoft