winrt-Windows.Devices.Custom 2.2.0__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_devices_custom.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_devices_custom.pyi +74 -0
- winrt/windows/devices/custom/__init__.py +43 -0
- winrt/windows/devices/custom/py.typed +0 -0
- winrt_Windows.Devices.Custom-2.2.0.dist-info/METADATA +26 -0
- winrt_Windows.Devices.Custom-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Devices.Custom-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Devices.Custom-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
14
|
+
|
|
15
|
+
from winrt.windows.devices.custom import DeviceAccessMode, DeviceSharingMode, IOControlAccessMode, IOControlBufferingMethod
|
|
16
|
+
|
|
17
|
+
Self = typing.TypeVar('Self')
|
|
18
|
+
|
|
19
|
+
@typing.final
|
|
20
|
+
class CustomDevice_Static(type):
|
|
21
|
+
def from_id_async(cls, device_id: str, desired_access: DeviceAccessMode, sharing_mode: DeviceSharingMode, /) -> windows_foundation.IAsyncOperation[CustomDevice]: ...
|
|
22
|
+
def get_device_selector(cls, class_guid: _uuid.UUID, /) -> str: ...
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class CustomDevice(winrt.system.Object, metaclass=CustomDevice_Static):
|
|
26
|
+
@staticmethod
|
|
27
|
+
def _from(obj: winrt.system.Object, /) -> CustomDevice: ...
|
|
28
|
+
def send_i_o_control_async(self, io_control_code: typing.Optional[IIOControlCode], input_buffer: typing.Optional[windows_storage_streams.IBuffer], output_buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
|
|
29
|
+
def try_send_i_o_control_async(self, io_control_code: typing.Optional[IIOControlCode], input_buffer: typing.Optional[windows_storage_streams.IBuffer], output_buffer: typing.Optional[windows_storage_streams.IBuffer], /) -> windows_foundation.IAsyncOperation[bool]: ...
|
|
30
|
+
@_property
|
|
31
|
+
def input_stream(self) -> typing.Optional[windows_storage_streams.IInputStream]: ...
|
|
32
|
+
@_property
|
|
33
|
+
def output_stream(self) -> typing.Optional[windows_storage_streams.IOutputStream]: ...
|
|
34
|
+
|
|
35
|
+
@typing.final
|
|
36
|
+
class IOControlCode(winrt.system.Object):
|
|
37
|
+
@staticmethod
|
|
38
|
+
def _from(obj: winrt.system.Object, /) -> IOControlCode: ...
|
|
39
|
+
def __new__(cls: typing.Type[IOControlCode], device_type: winrt.system.UInt16, function: winrt.system.UInt16, access_mode: IOControlAccessMode, buffering_method: IOControlBufferingMethod) -> IOControlCode: ...
|
|
40
|
+
@_property
|
|
41
|
+
def access_mode(self) -> IOControlAccessMode: ...
|
|
42
|
+
@_property
|
|
43
|
+
def buffering_method(self) -> IOControlBufferingMethod: ...
|
|
44
|
+
@_property
|
|
45
|
+
def control_code(self) -> winrt.system.UInt32: ...
|
|
46
|
+
@_property
|
|
47
|
+
def device_type(self) -> winrt.system.UInt16: ...
|
|
48
|
+
@_property
|
|
49
|
+
def function(self) -> winrt.system.UInt16: ...
|
|
50
|
+
|
|
51
|
+
@typing.final
|
|
52
|
+
class KnownDeviceTypes_Static(type):
|
|
53
|
+
@_property
|
|
54
|
+
def unknown(cls) -> winrt.system.UInt16: ...
|
|
55
|
+
|
|
56
|
+
@typing.final
|
|
57
|
+
class KnownDeviceTypes(winrt.system.Object, metaclass=KnownDeviceTypes_Static):
|
|
58
|
+
pass
|
|
59
|
+
|
|
60
|
+
@typing.final
|
|
61
|
+
class IIOControlCode(winrt.system.Object):
|
|
62
|
+
@staticmethod
|
|
63
|
+
def _from(obj: winrt.system.Object, /) -> IIOControlCode: ...
|
|
64
|
+
@_property
|
|
65
|
+
def access_mode(self) -> IOControlAccessMode: ...
|
|
66
|
+
@_property
|
|
67
|
+
def buffering_method(self) -> IOControlBufferingMethod: ...
|
|
68
|
+
@_property
|
|
69
|
+
def control_code(self) -> winrt.system.UInt32: ...
|
|
70
|
+
@_property
|
|
71
|
+
def device_type(self) -> winrt.system.UInt16: ...
|
|
72
|
+
@_property
|
|
73
|
+
def function(self) -> winrt.system.UInt16: ...
|
|
74
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_devices_custom
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"DeviceAccessMode",
|
|
10
|
+
"DeviceSharingMode",
|
|
11
|
+
"IOControlAccessMode",
|
|
12
|
+
"IOControlBufferingMethod",
|
|
13
|
+
"CustomDevice",
|
|
14
|
+
"IOControlCode",
|
|
15
|
+
"KnownDeviceTypes",
|
|
16
|
+
"IIOControlCode",
|
|
17
|
+
]
|
|
18
|
+
|
|
19
|
+
class DeviceAccessMode(enum.IntEnum):
|
|
20
|
+
READ = 0
|
|
21
|
+
WRITE = 1
|
|
22
|
+
READ_WRITE = 2
|
|
23
|
+
|
|
24
|
+
class DeviceSharingMode(enum.IntEnum):
|
|
25
|
+
SHARED = 0
|
|
26
|
+
EXCLUSIVE = 1
|
|
27
|
+
|
|
28
|
+
class IOControlAccessMode(enum.IntEnum):
|
|
29
|
+
ANY = 0
|
|
30
|
+
READ = 1
|
|
31
|
+
WRITE = 2
|
|
32
|
+
READ_WRITE = 3
|
|
33
|
+
|
|
34
|
+
class IOControlBufferingMethod(enum.IntEnum):
|
|
35
|
+
BUFFERED = 0
|
|
36
|
+
DIRECT_INPUT = 1
|
|
37
|
+
DIRECT_OUTPUT = 2
|
|
38
|
+
NEITHER = 3
|
|
39
|
+
|
|
40
|
+
CustomDevice = _winrt_windows_devices_custom.CustomDevice
|
|
41
|
+
IOControlCode = _winrt_windows_devices_custom.IOControlCode
|
|
42
|
+
KnownDeviceTypes = _winrt_windows_devices_custom.KnownDeviceTypes
|
|
43
|
+
IIOControlCode = _winrt_windows_devices_custom.IIOControlCode
|
|
File without changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Devices.Custom
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
|
|
20
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
21
|
+
|
|
22
|
+
# winrt-Windows.Devices.Custom
|
|
23
|
+
|
|
24
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Devices.Custom` namespace.
|
|
25
|
+
|
|
26
|
+
This package provides the `winrt.windows.devices.custom` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_devices_custom.cp313-win_amd64.pyd,sha256=46wcgkEknHAEnrijymOPzyUYR9NdTPM7XxFhNcAOBfw,86528
|
|
2
|
+
winrt/_winrt_windows_devices_custom.pyi,sha256=L7BycKR0a12NlyFPHN2pRueWenI6YASeWCR90Ed0B8I,3161
|
|
3
|
+
winrt/windows/devices/custom/__init__.py,sha256=_3lGvtGx0BABt8SZdjVMs1_8lq1fmhz8OLbe5STA0XY,1000
|
|
4
|
+
winrt/windows/devices/custom/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Devices.Custom-2.2.0.dist-info/METADATA,sha256=AdBso00Bj1mEdSViF_5wXSjL-GHgDODdKhyzHFRHJMw,1115
|
|
6
|
+
winrt_Windows.Devices.Custom-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.Devices.Custom-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Devices.Custom-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|