SYSKIND SYSKIND SYSKIND SYSKIND Enum

定义

标识目标操作系统平台。Identifies the target operating system platform.

public enum class SYSKIND
[System.Serializable]
public enum SYSKIND
type SYSKIND = 
Public Enum SYSKIND
继承
属性

字段

SYS_MAC SYS_MAC SYS_MAC SYS_MAC 2

类型库的目标操作系统为 Apple Macintosh。The target operating system for the type library is Apple Macintosh. 默认情况下,所有数据字段在偶字节边界对齐。By default, all data fields are aligned on even-byte boundaries.

SYS_WIN16 SYS_WIN16 SYS_WIN16 SYS_WIN16 0

类型库的目标操作系统是 16 位 Windows 系统。The target operating system for the type library is 16-bit Windows systems. 默认情况下,打包数据字段。By default, data fields are packed.

SYS_WIN32 SYS_WIN32 SYS_WIN32 SYS_WIN32 1

类型库的目标操作系统是 32 位 Windows 系统。The target operating system for the type library is 32-bit Windows systems. 默认情况下,数据字段自然对齐(例如,2 字节整数在偶字节边界对齐;4 字节整数在四字边界对齐,依此类推)。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 SYS_WIN64 SYS_WIN64 SYS_WIN64 3

类型库的目标操作系统是 64 位 Windows 系统。The target operating system for the type library is 64-bit Windows systems.

注解

有关SYSKIND枚举的其他信息, 请参阅 MSDN library。For additional information about the SYSKIND enumeration, see the MSDN Library.

当本机代码中的 COM 方法返回 HRESULT 时, 公共语言运行时将引发异常。The common language runtime throws an exception when a COM method in native code returns an HRESULT. 有关更多信息,请参见 How to: Map HRESULTs and ExceptionsFor more information, see How to: Map HRESULTs and Exceptions.

适用于