IOControlCode
IOControlCode
IOControlCode
IOControlCode
Class
Definition
Represents the control code.
public : sealed class IOControlCode : IIOControlCodepublic sealed class IOControlCode : IIOControlCodePublic NotInheritable Class IOControlCode Implements IIOControlCode// You can use this class in JavaScript.
- 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) 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)// You can use this method in JavaScript.
Parameters
- deviceType
- unsigned short UInt16 UInt16 UInt16
The device type.
- function
- unsigned short UInt16 UInt16 UInt16
The device function.
The access mode.
- bufferingMethod
- IOControlBufferingMethod IOControlBufferingMethod IOControlBufferingMethod IOControlBufferingMethod
The buffering method.
Properties
AccessMode AccessMode AccessMode AccessMode
The access mode.
public : IOControlAccessMode AccessMode { get; }public IOControlAccessMode AccessMode { get; }Public ReadOnly Property AccessMode As IOControlAccessMode// You can use this property in JavaScript.
The access mode.
BufferingMethod BufferingMethod BufferingMethod BufferingMethod
The buffering method.
public : IOControlBufferingMethod BufferingMethod { get; }public IOControlBufferingMethod BufferingMethod { get; }Public ReadOnly Property BufferingMethod As IOControlBufferingMethod// You can use this property in JavaScript.
- Value
- IOControlBufferingMethod IOControlBufferingMethod IOControlBufferingMethod IOControlBufferingMethod
The buffering method.
ControlCode ControlCode ControlCode ControlCode
The control code.
public : unsigned int ControlCode { get; }public uint ControlCode { get; }Public ReadOnly Property ControlCode As uint// You can use this property in JavaScript.
- Value
- unsigned int 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 ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The device type.