IOControlCode IOControlCode IOControlCode IOControlCode Class

Represents the control code.

Syntax

Declaration

public sealed class IOControlCodepublic sealed class IOControlCodePublic NotInheritable Class IOControlCodepublic sealed class IOControlCode

Constructors summary

The control code.

Properties summary

The access mode.

The buffering method.

The control code.

The device type.

The function.

Constructors

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

    The control code.

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

    Parameters

Properties

  • AccessMode
    AccessMode
    AccessMode
    AccessMode

    The access mode.

    public IOControlAccessMode AccessMode { get; }public IOControlAccessMode AccessMode { get; }Public ReadOnly Property AccessMode As IOControlAccessModepublic IOControlAccessMode AccessMode { get; }

    Property Value

  • BufferingMethod
    BufferingMethod
    BufferingMethod
    BufferingMethod

    The buffering method.

    public IOControlBufferingMethod BufferingMethod { get; }public IOControlBufferingMethod BufferingMethod { get; }Public ReadOnly Property BufferingMethod As IOControlBufferingMethodpublic IOControlBufferingMethod BufferingMethod { get; }

    Property Value

  • ControlCode
    ControlCode
    ControlCode
    ControlCode

    The control code.

    public uint ControlCode { get; }public uint ControlCode { get; }Public ReadOnly Property ControlCode As uintpublic uint ControlCode { get; }

    Property Value

    • uint
      uint
      uint
      uint

      The control code.

  • DeviceType
    DeviceType
    DeviceType
    DeviceType

    The device type.

    public ushort DeviceType { get; }public ushort DeviceType { get; }Public ReadOnly Property DeviceType As ushortpublic ushort DeviceType { get; }

    Property Value

    • ushort
      ushort
      ushort
      ushort

      The device type.

  • Function
    Function
    Function
    Function

    The function.

    public ushort Function { get; }public ushort Function { get; }Public ReadOnly Property Function As ushortpublic ushort Function { get; }

    Property Value

    • ushort
      ushort
      ushort
      ushort

      The function.

Device family

Windows Desktop Extension SDK (introduced v10.0.10240.0)

API contract

Windows.Devices.Custom.CustomDeviceContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ActivatableAttribute
Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.DualApiPartitionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.Devices.Custom.dll