Share via


IOControlCode Class

Definition

Represents the control code.

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
Inheritance
Object Platform::Object IInspectable IOControlCode
Attributes
Implements

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Devices.Custom.CustomDeviceContract (introduced in v1.0)

Constructors

IOControlCode(UInt16, UInt16, IOControlAccessMode, IOControlBufferingMethod)

The control code.

Properties

AccessMode

The access mode.

BufferingMethod

The buffering method.

ControlCode

The control code.

DeviceType

The device type.

Function

The function.

Applies to

See also