IOControlCode クラス

定義

コントロール コードを表します。

public ref class IOControlCode sealed : IIOControlCode
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Custom.IIOControlCodeFactory, 65536, Windows.Devices.Custom.CustomDeviceContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Custom.CustomDeviceContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class IOControlCode final : IIOControlCode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Custom.CustomDeviceContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Custom.IIOControlCodeFactory, 65536, "Windows.Devices.Custom.CustomDeviceContract")]
class IOControlCode final : IIOControlCode
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Custom.IIOControlCodeFactory), 65536, typeof(Windows.Devices.Custom.CustomDeviceContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Custom.CustomDeviceContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class IOControlCode : IIOControlCode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Custom.CustomDeviceContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Custom.IIOControlCodeFactory), 65536, "Windows.Devices.Custom.CustomDeviceContract")]
public sealed class IOControlCode : IIOControlCode
function IOControlCode(deviceType, function, accessMode, bufferingMethod)
Public NotInheritable Class IOControlCode
Implements IIOControlCode
継承
Object Platform::Object IInspectable IOControlCode
属性
実装

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.10240.0 で導入)
Windows 10 Fall Creators Update (10.0.16299.0 で導入)
API contract
Windows.Devices.Custom.CustomDeviceContract (v1.0 で導入)

コンストラクター

IOControlCode(UInt16, UInt16, IOControlAccessMode, IOControlBufferingMethod)

コントロール コード。

プロパティ

AccessMode

アクセス モード。

BufferingMethod

バッファリングメソッド。

ControlCode

コントロール コード。

DeviceType

デバイスの種類。

Function

関数。

適用対象

こちらもご覧ください