I​OControl​Code I​OControl​Code I​OControl​Code Class

Definition

Represents the control code.

public : sealed class IOControlCode : IIOControlCodepublic sealed class IOControlCode : IIOControlCodePublic NotInheritable Class IOControlCode Implements IIOControlCode
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Devices.Custom.CustomDeviceContract (introduced v1)

Constructors

IOControlCode(UInt16, UInt16, IOControlAccessMode, IOControlBufferingMethod) IOControlCode(UInt16, UInt16, IOControlAccessMode, IOControlBufferingMethod) IOControlCode(UInt16, UInt16, IOControlAccessMode, IOControlBufferingMethod)

The control code.

public : IOControlCode(unsigned short deviceType, unsigned short function, IOControlAccessMode accessMode, IOControlBufferingMethod bufferingMethod)public IOControlCode(UInt16 deviceType, UInt16 function, IOControlAccessMode accessMode, IOControlBufferingMethod bufferingMethod)Public Sub New(deviceType As UInt16, function As UInt16, accessMode As IOControlAccessMode, bufferingMethod As IOControlBufferingMethod)
Parameters
deviceType
unsigned short UInt16 UInt16

The device type.

function
unsigned short UInt16 UInt16

The device function.

Attributes

Properties

AccessMode AccessMode AccessMode

The access mode.

public : IOControlAccessMode AccessMode { get; }public IOControlAccessMode AccessMode { get; }Public ReadOnly Property AccessMode As IOControlAccessMode
Attributes

BufferingMethod BufferingMethod BufferingMethod

The buffering method.

public : IOControlBufferingMethod BufferingMethod { get; }public IOControlBufferingMethod BufferingMethod { get; }Public ReadOnly Property BufferingMethod As IOControlBufferingMethod
Attributes

ControlCode ControlCode ControlCode

The control code.

public : unsigned short ControlCode { get; }public uint ControlCode { get; }Public ReadOnly Property ControlCode As uint
Value
unsigned short uint uint

The control code.

Attributes

DeviceType DeviceType DeviceType

The device type.

public : ushort DeviceType { get; }public ushort DeviceType { get; }Public ReadOnly Property DeviceType As ushort
Value
ushort ushort ushort

The device type.

Attributes

Function Function Function

The function.

public : ushort Function { get; }public ushort Function { get; }Public ReadOnly Property Function As ushort
Value
ushort ushort ushort

The function.

Attributes