SYSKIND 列舉

定義

識別目標作業系統平台。Identifies the target operating system platform.

public enum class SYSKIND
[System.Serializable]
public enum SYSKIND
type SYSKIND = 
Public Enum SYSKIND
繼承
屬性

欄位

SYS_MAC 2

型別程式庫的目標作業系統為 Apple Macintosh。The target operating system for the type library is Apple Macintosh. 根據預設,所有資料欄位都是對齊偶數位元組 (even-byte) 界限。By default, all data fields are aligned on even-byte boundaries.

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 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 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 時,common language runtime 會擲回例外狀況。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.

適用於