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

함수입니다.

적용 대상

추가 정보