# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1

import enum

import winrt.system
from winrt._winrt_windows_devices_custom import (
    CustomDevice,
    IOControlCode,
    KnownDeviceTypes,
    _IIOControlCode,
    IIOControlCode,
)

__all__ = [
    "DeviceAccessMode",
    "DeviceSharingMode",
    "IOControlAccessMode",
    "IOControlBufferingMethod",
    "CustomDevice",
    "IOControlCode",
    "KnownDeviceTypes",
    "IIOControlCode",
]

class DeviceAccessMode(enum.IntEnum):
    READ = 0
    WRITE = 1
    READ_WRITE = 2

class DeviceSharingMode(enum.IntEnum):
    SHARED = 0
    EXCLUSIVE = 1

class IOControlAccessMode(enum.IntEnum):
    ANY = 0
    READ = 1
    WRITE = 2
    READ_WRITE = 3

class IOControlBufferingMethod(enum.IntEnum):
    BUFFERED = 0
    DIRECT_INPUT = 1
    DIRECT_OUTPUT = 2
    NEITHER = 3

