winrt-Windows.Devices.Custom 3.2.1__cp314-cp314-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.
@@ -0,0 +1,93 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
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
+ from abc import abstractmethod
10
+
11
+ import winrt._winrt
12
+ import winrt.system
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.storage.streams as windows_storage_streams
15
+
16
+ from winrt.windows.devices.custom import DeviceAccessMode, DeviceSharingMode, IOControlAccessMode, IOControlBufferingMethod
17
+
18
+ Self = typing.TypeVar('Self')
19
+
20
+ @typing.final
21
+ class CustomDevice_Static(winrt._winrt.IInspectable_Static):
22
+ # Windows.Foundation.IAsyncOperation`1<Windows.Devices.Custom.CustomDevice> Windows.Devices.Custom.CustomDevice::FromIdAsync(System.String,Windows.Devices.Custom.DeviceAccessMode,Windows.Devices.Custom.DeviceSharingMode)
23
+ def from_id_async(cls, device_id: str, desired_access: DeviceAccessMode, sharing_mode: DeviceSharingMode, /) -> windows_foundation.IAsyncOperation[CustomDevice]: ...
24
+ # System.String Windows.Devices.Custom.CustomDevice::GetDeviceSelector(System.Guid)
25
+ def get_device_selector(cls, class_guid: _uuid.UUID, /) -> str: ...
26
+
27
+ @typing.final
28
+ class CustomDevice(winrt.system.Object, metaclass=CustomDevice_Static):
29
+ # Windows.Foundation.IAsyncOperation`1<System.UInt32> Windows.Devices.Custom.CustomDevice::SendIOControlAsync(Windows.Devices.Custom.IIOControlCode,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
30
+ def send_io_control_async(self, io_control_code: IIOControlCode, input_buffer: winrt.system.Buffer, output_buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperation[winrt.system.UInt32]: ...
31
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Devices.Custom.CustomDevice::TrySendIOControlAsync(Windows.Devices.Custom.IIOControlCode,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
32
+ def try_send_io_control_async(self, io_control_code: IIOControlCode, input_buffer: winrt.system.Buffer, output_buffer: winrt.system.Buffer, /) -> windows_foundation.IAsyncOperation[bool]: ...
33
+ # Windows.Storage.Streams.IInputStream Windows.Devices.Custom.CustomDevice::get_InputStream()
34
+ @_property
35
+ def input_stream(self) -> windows_storage_streams.IInputStream: ...
36
+ # Windows.Storage.Streams.IOutputStream Windows.Devices.Custom.CustomDevice::get_OutputStream()
37
+ @_property
38
+ def output_stream(self) -> windows_storage_streams.IOutputStream: ...
39
+
40
+ @typing.final
41
+ class IOControlCode(winrt.system.Object, IIOControlCode):
42
+ def __new__(cls: typing.Type[Self], device_type: winrt.system.UInt16, function: winrt.system.UInt16, access_mode: IOControlAccessMode, buffering_method: IOControlBufferingMethod) -> Self: ...
43
+ # Windows.Devices.Custom.IOControlAccessMode Windows.Devices.Custom.IOControlCode::get_AccessMode()
44
+ @_property
45
+ def access_mode(self) -> IOControlAccessMode: ...
46
+ # Windows.Devices.Custom.IOControlBufferingMethod Windows.Devices.Custom.IOControlCode::get_BufferingMethod()
47
+ @_property
48
+ def buffering_method(self) -> IOControlBufferingMethod: ...
49
+ # System.UInt32 Windows.Devices.Custom.IOControlCode::get_ControlCode()
50
+ @_property
51
+ def control_code(self) -> winrt.system.UInt32: ...
52
+ # System.UInt16 Windows.Devices.Custom.IOControlCode::get_DeviceType()
53
+ @_property
54
+ def device_type(self) -> winrt.system.UInt16: ...
55
+ # System.UInt16 Windows.Devices.Custom.IOControlCode::get_Function()
56
+ @_property
57
+ def function(self) -> winrt.system.UInt16: ...
58
+
59
+ @typing.final
60
+ class KnownDeviceTypes_Static(winrt._winrt.IInspectable_Static):
61
+ # System.UInt16 Windows.Devices.Custom.KnownDeviceTypes::get_Unknown()
62
+ @_property
63
+ def unknown(cls) -> winrt.system.UInt16: ...
64
+
65
+ @typing.final
66
+ class KnownDeviceTypes(winrt.system.Object, metaclass=KnownDeviceTypes_Static):
67
+ pass
68
+
69
+ @typing.final
70
+ class _IIOControlCode: ...
71
+
72
+ class IIOControlCode(winrt._winrt.IInspectable):
73
+ # Windows.Devices.Custom.IOControlAccessMode Windows.Devices.Custom.IIOControlCode::get_AccessMode()
74
+ @_property
75
+ @abstractmethod
76
+ def access_mode(self) -> IOControlAccessMode: ...
77
+ # Windows.Devices.Custom.IOControlBufferingMethod Windows.Devices.Custom.IIOControlCode::get_BufferingMethod()
78
+ @_property
79
+ @abstractmethod
80
+ def buffering_method(self) -> IOControlBufferingMethod: ...
81
+ # System.UInt32 Windows.Devices.Custom.IIOControlCode::get_ControlCode()
82
+ @_property
83
+ @abstractmethod
84
+ def control_code(self) -> winrt.system.UInt32: ...
85
+ # System.UInt16 Windows.Devices.Custom.IIOControlCode::get_DeviceType()
86
+ @_property
87
+ @abstractmethod
88
+ def device_type(self) -> winrt.system.UInt16: ...
89
+ # System.UInt16 Windows.Devices.Custom.IIOControlCode::get_Function()
90
+ @_property
91
+ @abstractmethod
92
+ def function(self) -> winrt.system.UInt16: ...
93
+
@@ -0,0 +1,45 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_devices_custom import (
7
+ CustomDevice,
8
+ IOControlCode,
9
+ KnownDeviceTypes,
10
+ _IIOControlCode,
11
+ IIOControlCode,
12
+ )
13
+
14
+ __all__ = [
15
+ "DeviceAccessMode",
16
+ "DeviceSharingMode",
17
+ "IOControlAccessMode",
18
+ "IOControlBufferingMethod",
19
+ "CustomDevice",
20
+ "IOControlCode",
21
+ "KnownDeviceTypes",
22
+ "IIOControlCode",
23
+ ]
24
+
25
+ class DeviceAccessMode(enum.IntEnum):
26
+ READ = 0
27
+ WRITE = 1
28
+ READ_WRITE = 2
29
+
30
+ class DeviceSharingMode(enum.IntEnum):
31
+ SHARED = 0
32
+ EXCLUSIVE = 1
33
+
34
+ class IOControlAccessMode(enum.IntEnum):
35
+ ANY = 0
36
+ READ = 1
37
+ WRITE = 2
38
+ READ_WRITE = 3
39
+
40
+ class IOControlBufferingMethod(enum.IntEnum):
41
+ BUFFERED = 0
42
+ DIRECT_INPUT = 1
43
+ DIRECT_OUTPUT = 2
44
+ NEITHER = 3
45
+
File without changes
@@ -0,0 +1,26 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Devices.Custom
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: 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.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.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.cp314-win_amd64.pyd,sha256=avvYLMCIHYyo4by-kfmiZswZ7Vqnyo8wOs6rZVlmYK0,103424
2
+ winrt/_winrt_windows_devices_custom.pyi,sha256=UHcd_oVJCEY5HCrBl6YM0iY3K5rbyWXg5lgPCn3syJs,4858
3
+ winrt/windows/devices/custom/__init__.py,sha256=DlKg8OKk2a_97g44C_uAu-PW-RBi-MB1jrL_WUgtER8,858
4
+ winrt/windows/devices/custom/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_devices_custom-3.2.1.dist-info/METADATA,sha256=At2bdfrtYUzHorNWDuDdjAmWvaE0Rlfk5_JBWMQ1Do4,1121
6
+ winrt_windows_devices_custom-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
7
+ winrt_windows_devices_custom-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_devices_custom-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_amd64
5
+