winrt-Windows.Graphics.Capture 2.2.0__cp313-cp313-win_arm64.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_graphics_capture.cp313-win_arm64.pyd +0 -0
- winrt/_winrt_windows_graphics_capture.pyi +111 -0
- winrt/windows/graphics/capture/__init__.py +27 -0
- winrt/windows/graphics/capture/py.typed +0 -0
- winrt_Windows.Graphics.Capture-2.2.0.dist-info/METADATA +32 -0
- winrt_Windows.Graphics.Capture-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Graphics.Capture-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Graphics.Capture-2.2.0.dist-info/top_level.txt +1 -0
|
Binary file
|
|
@@ -0,0 +1,111 @@
|
|
|
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.graphics as windows_graphics
|
|
14
|
+
import winrt.windows.graphics.directx as windows_graphics_directx
|
|
15
|
+
import winrt.windows.graphics.directx.direct3d11 as windows_graphics_directx_direct3d11
|
|
16
|
+
import winrt.windows.security.authorization.appcapabilityaccess as windows_security_authorization_appcapabilityaccess
|
|
17
|
+
import winrt.windows.system as windows_system
|
|
18
|
+
import winrt.windows.ui as windows_ui
|
|
19
|
+
import winrt.windows.ui.composition as windows_ui_composition
|
|
20
|
+
|
|
21
|
+
from winrt.windows.graphics.capture import GraphicsCaptureAccessKind
|
|
22
|
+
|
|
23
|
+
Self = typing.TypeVar('Self')
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class Direct3D11CaptureFrame(winrt.system.Object):
|
|
27
|
+
def __enter__(self: Self) -> Self: ...
|
|
28
|
+
def __exit__(self, *args) -> None: ...
|
|
29
|
+
@staticmethod
|
|
30
|
+
def _from(obj: winrt.system.Object, /) -> Direct3D11CaptureFrame: ...
|
|
31
|
+
def close(self) -> None: ...
|
|
32
|
+
@_property
|
|
33
|
+
def content_size(self) -> windows_graphics.SizeInt32: ...
|
|
34
|
+
@_property
|
|
35
|
+
def surface(self) -> typing.Optional[windows_graphics_directx_direct3d11.IDirect3DSurface]: ...
|
|
36
|
+
@_property
|
|
37
|
+
def system_relative_time(self) -> datetime.timedelta: ...
|
|
38
|
+
|
|
39
|
+
@typing.final
|
|
40
|
+
class Direct3D11CaptureFramePool_Static(type):
|
|
41
|
+
def create(cls, device: typing.Optional[windows_graphics_directx_direct3d11.IDirect3DDevice], pixel_format: windows_graphics_directx.DirectXPixelFormat, number_of_buffers: winrt.system.Int32, size: windows_graphics.SizeInt32, /) -> typing.Optional[Direct3D11CaptureFramePool]: ...
|
|
42
|
+
def create_free_threaded(cls, device: typing.Optional[windows_graphics_directx_direct3d11.IDirect3DDevice], pixel_format: windows_graphics_directx.DirectXPixelFormat, number_of_buffers: winrt.system.Int32, size: windows_graphics.SizeInt32, /) -> typing.Optional[Direct3D11CaptureFramePool]: ...
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class Direct3D11CaptureFramePool(winrt.system.Object, metaclass=Direct3D11CaptureFramePool_Static):
|
|
46
|
+
def __enter__(self: Self) -> Self: ...
|
|
47
|
+
def __exit__(self, *args) -> None: ...
|
|
48
|
+
@staticmethod
|
|
49
|
+
def _from(obj: winrt.system.Object, /) -> Direct3D11CaptureFramePool: ...
|
|
50
|
+
def close(self) -> None: ...
|
|
51
|
+
def create_capture_session(self, item: typing.Optional[GraphicsCaptureItem], /) -> typing.Optional[GraphicsCaptureSession]: ...
|
|
52
|
+
def recreate(self, device: typing.Optional[windows_graphics_directx_direct3d11.IDirect3DDevice], pixel_format: windows_graphics_directx.DirectXPixelFormat, number_of_buffers: winrt.system.Int32, size: windows_graphics.SizeInt32, /) -> None: ...
|
|
53
|
+
def try_get_next_frame(self) -> typing.Optional[Direct3D11CaptureFrame]: ...
|
|
54
|
+
def add_frame_arrived(self, handler: windows_foundation.TypedEventHandler[Direct3D11CaptureFramePool, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
55
|
+
def remove_frame_arrived(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
56
|
+
@_property
|
|
57
|
+
def dispatcher_queue(self) -> typing.Optional[windows_system.DispatcherQueue]: ...
|
|
58
|
+
|
|
59
|
+
@typing.final
|
|
60
|
+
class GraphicsCaptureAccess_Static(type):
|
|
61
|
+
def request_access_async(cls, request: GraphicsCaptureAccessKind, /) -> windows_foundation.IAsyncOperation[windows_security_authorization_appcapabilityaccess.AppCapabilityAccessStatus]: ...
|
|
62
|
+
|
|
63
|
+
@typing.final
|
|
64
|
+
class GraphicsCaptureAccess(winrt.system.Object, metaclass=GraphicsCaptureAccess_Static):
|
|
65
|
+
pass
|
|
66
|
+
|
|
67
|
+
@typing.final
|
|
68
|
+
class GraphicsCaptureItem_Static(type):
|
|
69
|
+
def create_from_visual(cls, visual: typing.Optional[windows_ui_composition.Visual], /) -> typing.Optional[GraphicsCaptureItem]: ...
|
|
70
|
+
def try_create_from_display_id(cls, display_id: windows_graphics.DisplayId, /) -> typing.Optional[GraphicsCaptureItem]: ...
|
|
71
|
+
def try_create_from_window_id(cls, window_id: windows_ui.WindowId, /) -> typing.Optional[GraphicsCaptureItem]: ...
|
|
72
|
+
|
|
73
|
+
@typing.final
|
|
74
|
+
class GraphicsCaptureItem(winrt.system.Object, metaclass=GraphicsCaptureItem_Static):
|
|
75
|
+
@staticmethod
|
|
76
|
+
def _from(obj: winrt.system.Object, /) -> GraphicsCaptureItem: ...
|
|
77
|
+
def add_closed(self, handler: windows_foundation.TypedEventHandler[GraphicsCaptureItem, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
78
|
+
def remove_closed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
79
|
+
@_property
|
|
80
|
+
def display_name(self) -> str: ...
|
|
81
|
+
@_property
|
|
82
|
+
def size(self) -> windows_graphics.SizeInt32: ...
|
|
83
|
+
|
|
84
|
+
@typing.final
|
|
85
|
+
class GraphicsCapturePicker(winrt.system.Object):
|
|
86
|
+
@staticmethod
|
|
87
|
+
def _from(obj: winrt.system.Object, /) -> GraphicsCapturePicker: ...
|
|
88
|
+
def __new__(cls: typing.Type[GraphicsCapturePicker]) -> GraphicsCapturePicker: ...
|
|
89
|
+
def pick_single_item_async(self) -> windows_foundation.IAsyncOperation[GraphicsCaptureItem]: ...
|
|
90
|
+
|
|
91
|
+
@typing.final
|
|
92
|
+
class GraphicsCaptureSession_Static(type):
|
|
93
|
+
def is_supported(cls) -> bool: ...
|
|
94
|
+
|
|
95
|
+
@typing.final
|
|
96
|
+
class GraphicsCaptureSession(winrt.system.Object, metaclass=GraphicsCaptureSession_Static):
|
|
97
|
+
def __enter__(self: Self) -> Self: ...
|
|
98
|
+
def __exit__(self, *args) -> None: ...
|
|
99
|
+
@staticmethod
|
|
100
|
+
def _from(obj: winrt.system.Object, /) -> GraphicsCaptureSession: ...
|
|
101
|
+
def close(self) -> None: ...
|
|
102
|
+
def start_capture(self) -> None: ...
|
|
103
|
+
@_property
|
|
104
|
+
def is_cursor_capture_enabled(self) -> bool: ...
|
|
105
|
+
@is_cursor_capture_enabled.setter
|
|
106
|
+
def is_cursor_capture_enabled(self, value: bool) -> None: ...
|
|
107
|
+
@_property
|
|
108
|
+
def is_border_required(self) -> bool: ...
|
|
109
|
+
@is_border_required.setter
|
|
110
|
+
def is_border_required(self, value: bool) -> None: ...
|
|
111
|
+
|
|
@@ -0,0 +1,27 @@
|
|
|
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_graphics_capture
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"GraphicsCaptureAccessKind",
|
|
10
|
+
"Direct3D11CaptureFrame",
|
|
11
|
+
"Direct3D11CaptureFramePool",
|
|
12
|
+
"GraphicsCaptureAccess",
|
|
13
|
+
"GraphicsCaptureItem",
|
|
14
|
+
"GraphicsCapturePicker",
|
|
15
|
+
"GraphicsCaptureSession",
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
class GraphicsCaptureAccessKind(enum.IntEnum):
|
|
19
|
+
BORDERLESS = 0
|
|
20
|
+
PROGRAMMATIC = 1
|
|
21
|
+
|
|
22
|
+
Direct3D11CaptureFrame = _winrt_windows_graphics_capture.Direct3D11CaptureFrame
|
|
23
|
+
Direct3D11CaptureFramePool = _winrt_windows_graphics_capture.Direct3D11CaptureFramePool
|
|
24
|
+
GraphicsCaptureAccess = _winrt_windows_graphics_capture.GraphicsCaptureAccess
|
|
25
|
+
GraphicsCaptureItem = _winrt_windows_graphics_capture.GraphicsCaptureItem
|
|
26
|
+
GraphicsCapturePicker = _winrt_windows_graphics_capture.GraphicsCapturePicker
|
|
27
|
+
GraphicsCaptureSession = _winrt_windows_graphics_capture.GraphicsCaptureSession
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Graphics.Capture
|
|
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.Graphics[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Security.Authorization.AppCapabilityAccess[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
Requires-Dist: winrt-Windows.System[all] ==2.2.0 ; extra == 'all'
|
|
23
|
+
Requires-Dist: winrt-Windows.UI[all] ==2.2.0 ; extra == 'all'
|
|
24
|
+
Requires-Dist: winrt-Windows.UI.Composition[all] ==2.2.0 ; extra == 'all'
|
|
25
|
+
|
|
26
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
27
|
+
|
|
28
|
+
# winrt-Windows.Graphics.Capture
|
|
29
|
+
|
|
30
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Graphics.Capture` namespace.
|
|
31
|
+
|
|
32
|
+
This package provides the `winrt.windows.graphics.capture` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_graphics_capture.cp313-win_arm64.pyd,sha256=acTv0NpxA-KwGzDJMJVC_kWue3OdCXsA1YOFxwwAztc,129536
|
|
2
|
+
winrt/_winrt_windows_graphics_capture.pyi,sha256=YdyLUPaPANS0ap4Ax2dfwueojNYZilESzoFxrohq_YQ,5732
|
|
3
|
+
winrt/windows/graphics/capture/__init__.py,sha256=dfsMvNEQlW_ONXWKIEHVkpbyQrt1Lry-z8naALZ8_94,958
|
|
4
|
+
winrt/windows/graphics/capture/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Graphics.Capture-2.2.0.dist-info/METADATA,sha256=WzRwU353zzxPuwSgpuRLiAfzd50bzgU7fJ6To1lVqAk,1589
|
|
6
|
+
winrt_Windows.Graphics.Capture-2.2.0.dist-info/WHEEL,sha256=Bc3zGnBzvnkuBaMd-KCqScACPFmA-93PSEDjeXqCzu8,101
|
|
7
|
+
winrt_Windows.Graphics.Capture-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Graphics.Capture-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|