PySimultan 0.6.0.7__py3-none-any.whl → 0.6.1__py3-none-any.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.
Files changed (109) hide show
  1. PySimultan2/CHANGELOG.md +3 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +116 -5
  4. PySimultan2/default_types.py +17 -0
  5. PySimultan2/files.py +112 -11
  6. PySimultan2/utils.py +5 -4
  7. {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/METADATA +1 -1
  8. pysimultan-0.6.1.dist-info/RECORD +76 -0
  9. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +0 -616
  10. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +0 -2538
  11. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +0 -499
  12. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +0 -2219
  13. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +0 -682
  14. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +0 -1654
  15. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +0 -442
  16. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +0 -193
  17. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +0 -367
  18. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +0 -116
  19. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +0 -212
  20. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +0 -232
  21. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +0 -916
  22. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +0 -15
  23. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +0 -268
  24. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +0 -32
  25. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +0 -116
  26. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +0 -433
  27. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +0 -435
  28. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +0 -103
  29. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +0 -122
  30. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +0 -1335
  31. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +0 -48
  32. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +0 -562
  33. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +0 -11
  34. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +0 -21
  35. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +0 -11
  36. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +0 -112
  37. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +0 -5
  38. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +0 -13
  39. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +0 -54
  40. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +0 -46
  41. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +0 -22
  42. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +0 -32
  43. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +0 -43
  44. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +0 -216
  45. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +0 -66
  46. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +0 -48
  47. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +0 -11
  48. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +0 -59
  49. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +0 -133
  50. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +0 -570
  51. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +0 -248
  52. PySimultan2/typings/System/Buffers/Text/__init__.pyi +0 -91
  53. PySimultan2/typings/System/Buffers/__init__.pyi +0 -192
  54. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +0 -137
  55. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +0 -47
  56. PySimultan2/typings/System/Collections/Generic/__init__.pyi +0 -1293
  57. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +0 -166
  58. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +0 -82
  59. PySimultan2/typings/System/Collections/__init__.pyi +0 -403
  60. PySimultan2/typings/System/ComponentModel/__init__.pyi +0 -582
  61. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +0 -30
  62. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +0 -315
  63. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +0 -297
  64. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +0 -9
  65. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +0 -641
  66. PySimultan2/typings/System/Diagnostics/__init__.pyi +0 -1101
  67. PySimultan2/typings/System/Globalization/__init__.pyi +0 -1675
  68. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +0 -125
  69. PySimultan2/typings/System/IO/__init__.pyi +0 -2747
  70. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +0 -1815
  71. PySimultan2/typings/System/Net/__init__.pyi +0 -81
  72. PySimultan2/typings/System/Numerics/__init__.pyi +0 -2853
  73. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +0 -1945
  74. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +0 -24
  75. PySimultan2/typings/System/Reflection/__init__.pyi +0 -2724
  76. PySimultan2/typings/System/Resources/__init__.pyi +0 -205
  77. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +0 -1926
  78. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +0 -49
  79. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +0 -34
  80. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +0 -758
  81. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +0 -461
  82. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +0 -48
  83. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +0 -2632
  84. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +0 -4757
  85. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +0 -844
  86. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +0 -5642
  87. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +0 -4504
  88. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +0 -63
  89. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +0 -7
  90. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +0 -269
  91. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +0 -200
  92. PySimultan2/typings/System/Runtime/__init__.pyi +0 -141
  93. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +0 -39
  94. PySimultan2/typings/System/Security/Permissions/__init__.pyi +0 -163
  95. PySimultan2/typings/System/Security/Principal/__init__.pyi +0 -45
  96. PySimultan2/typings/System/Security/__init__.pyi +0 -347
  97. PySimultan2/typings/System/Text/Unicode/__init__.pyi +0 -62
  98. PySimultan2/typings/System/Text/__init__.pyi +0 -1590
  99. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +0 -76
  100. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +0 -1403
  101. PySimultan2/typings/System/Threading/__init__.pyi +0 -1788
  102. PySimultan2/typings/System/Xml/Schema/__init__.pyi +0 -1255
  103. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +0 -16
  104. PySimultan2/typings/System/Xml/XPath/__init__.pyi +0 -474
  105. PySimultan2/typings/System/Xml/__init__.pyi +0 -2410
  106. PySimultan2/typings/System/__init__.pyi +0 -17821
  107. pysimultan-0.6.0.7.dist-info/RECORD +0 -174
  108. {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/WHEEL +0 -0
  109. {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,2632 +0,0 @@
1
- import typing, clr, abc
2
- from System import Attribute, IEquatable_1, Span_1, Guid, Delegate, Exception, IDisposable, UIntPtr, Decimal, MulticastDelegate, IAsyncResult, AsyncCallback, SystemException, MarshalByRefObject, RuntimeTypeHandle, Array, Array_1, ReadOnlyMemory_1, ReadOnlySpan_1, Memory_1, ArraySegment_1, ValueTuple_2, IFormatProvider, MidpointRounding, Action_1
3
- from System.Collections.Generic import List_1, Dictionary_2, IEnumerable_1
4
- from System.Collections import IDictionary
5
- from System.Reflection import MethodBase, MethodInfo, Assembly, Module
6
- from System.Runtime.ConstrainedExecution import CriticalFinalizerObject
7
- from System.Runtime.InteropServices.ComTypes import ITypeInfo
8
- from System.Security import SecureString
9
- from System.Numerics import IBinaryFloatingPointIeee754_1, IMinMaxValue_1
10
- from System.Globalization import NumberStyles
11
- from Microsoft.Win32.SafeHandles import SafeHandleZeroOrMinusOneIsInvalid
12
-
13
- class AllowReversePInvokeCallsAttribute(Attribute):
14
- def __init__(self) -> None: ...
15
- @property
16
- def TypeId(self) -> typing.Any: ...
17
-
18
-
19
- class Architecture(typing.SupportsInt):
20
- @typing.overload
21
- def __init__(self, value : int) -> None: ...
22
- @typing.overload
23
- def __init__(self, value : int, force_if_true: bool) -> None: ...
24
- def __int__(self) -> int: ...
25
-
26
- # Values:
27
- X86 : Architecture # 0
28
- X64 : Architecture # 1
29
- Arm : Architecture # 2
30
- Arm64 : Architecture # 3
31
- Wasm : Architecture # 4
32
- S390x : Architecture # 5
33
- LoongArch64 : Architecture # 6
34
- Armv6 : Architecture # 7
35
- Ppc64le : Architecture # 8
36
-
37
-
38
- class ArrayWithOffset(IEquatable_1[ArrayWithOffset]):
39
- def __init__(self, array: typing.Any, offset: int) -> None: ...
40
- def GetArray(self) -> typing.Any: ...
41
- def GetHashCode(self) -> int: ...
42
- def GetOffset(self) -> int: ...
43
- def __eq__(self, a: ArrayWithOffset, b: ArrayWithOffset) -> bool: ...
44
- def __ne__(self, a: ArrayWithOffset, b: ArrayWithOffset) -> bool: ...
45
- # Skipped Equals due to it being static, abstract and generic.
46
-
47
- Equals : Equals_MethodGroup
48
- class Equals_MethodGroup:
49
- @typing.overload
50
- def __call__(self, obj: ArrayWithOffset) -> bool:...
51
- @typing.overload
52
- def __call__(self, obj: typing.Any) -> bool:...
53
-
54
-
55
-
56
- class BestFitMappingAttribute(Attribute):
57
- def __init__(self, BestFitMapping: bool) -> None: ...
58
- ThrowOnUnmappableChar : bool
59
- @property
60
- def BestFitMapping(self) -> bool: ...
61
- @property
62
- def TypeId(self) -> typing.Any: ...
63
-
64
-
65
- class BStrWrapper:
66
- @typing.overload
67
- def __init__(self, value: str) -> None: ...
68
- @typing.overload
69
- def __init__(self, value: typing.Any) -> None: ...
70
- @property
71
- def WrappedObject(self) -> str: ...
72
-
73
-
74
- class CallingConvention(typing.SupportsInt):
75
- @typing.overload
76
- def __init__(self, value : int) -> None: ...
77
- @typing.overload
78
- def __init__(self, value : int, force_if_true: bool) -> None: ...
79
- def __int__(self) -> int: ...
80
-
81
- # Values:
82
- Winapi : CallingConvention # 1
83
- Cdecl : CallingConvention # 2
84
- StdCall : CallingConvention # 3
85
- ThisCall : CallingConvention # 4
86
- FastCall : CallingConvention # 5
87
-
88
-
89
- class CharSet(typing.SupportsInt):
90
- @typing.overload
91
- def __init__(self, value : int) -> None: ...
92
- @typing.overload
93
- def __init__(self, value : int, force_if_true: bool) -> None: ...
94
- def __int__(self) -> int: ...
95
-
96
- # Values:
97
- None_ : CharSet # 1
98
- Ansi : CharSet # 2
99
- Unicode : CharSet # 3
100
- Auto : CharSet # 4
101
-
102
-
103
- class ClassInterfaceAttribute(Attribute):
104
- @typing.overload
105
- def __init__(self, classInterfaceType: ClassInterfaceType) -> None: ...
106
- @typing.overload
107
- def __init__(self, classInterfaceType: int) -> None: ...
108
- @property
109
- def TypeId(self) -> typing.Any: ...
110
- @property
111
- def Value(self) -> ClassInterfaceType: ...
112
-
113
-
114
- class ClassInterfaceType(typing.SupportsInt):
115
- @typing.overload
116
- def __init__(self, value : int) -> None: ...
117
- @typing.overload
118
- def __init__(self, value : int, force_if_true: bool) -> None: ...
119
- def __int__(self) -> int: ...
120
-
121
- # Values:
122
- None_ : ClassInterfaceType # 0
123
- AutoDispatch : ClassInterfaceType # 1
124
- AutoDual : ClassInterfaceType # 2
125
-
126
-
127
- class CLong(IEquatable_1[CLong]):
128
- # Constructor .ctor(value : IntPtr) was skipped since it collides with above method
129
- def __init__(self, value: int) -> None: ...
130
- @property
131
- def Value(self) -> int: ...
132
- def GetHashCode(self) -> int: ...
133
- def ToString(self) -> str: ...
134
- # Skipped Equals due to it being static, abstract and generic.
135
-
136
- Equals : Equals_MethodGroup
137
- class Equals_MethodGroup:
138
- @typing.overload
139
- def __call__(self, other: CLong) -> bool:...
140
- @typing.overload
141
- def __call__(self, o: typing.Any) -> bool:...
142
-
143
-
144
-
145
- class CoClassAttribute(Attribute):
146
- def __init__(self, coClass: typing.Type[typing.Any]) -> None: ...
147
- @property
148
- def CoClass(self) -> typing.Type[typing.Any]: ...
149
- @property
150
- def TypeId(self) -> typing.Any: ...
151
-
152
-
153
- class CollectionsMarshal(abc.ABC):
154
- # Skipped AsSpan due to it being static, abstract and generic.
155
-
156
- AsSpan : AsSpan_MethodGroup
157
- class AsSpan_MethodGroup:
158
- def __getitem__(self, t:typing.Type[AsSpan_1_T1]) -> AsSpan_1[AsSpan_1_T1]: ...
159
-
160
- AsSpan_1_T1 = typing.TypeVar('AsSpan_1_T1')
161
- class AsSpan_1(typing.Generic[AsSpan_1_T1]):
162
- AsSpan_1_T = CollectionsMarshal.AsSpan_MethodGroup.AsSpan_1_T1
163
- def __call__(self, list: List_1[AsSpan_1_T]) -> Span_1[AsSpan_1_T]:...
164
-
165
-
166
- # Skipped GetValueRefOrAddDefault due to it being static, abstract and generic.
167
-
168
- GetValueRefOrAddDefault : GetValueRefOrAddDefault_MethodGroup
169
- class GetValueRefOrAddDefault_MethodGroup:
170
- def __getitem__(self, t:typing.Tuple[typing.Type[GetValueRefOrAddDefault_2_T1], typing.Type[GetValueRefOrAddDefault_2_T2]]) -> GetValueRefOrAddDefault_2[GetValueRefOrAddDefault_2_T1, GetValueRefOrAddDefault_2_T2]: ...
171
-
172
- GetValueRefOrAddDefault_2_T1 = typing.TypeVar('GetValueRefOrAddDefault_2_T1')
173
- GetValueRefOrAddDefault_2_T2 = typing.TypeVar('GetValueRefOrAddDefault_2_T2')
174
- class GetValueRefOrAddDefault_2(typing.Generic[GetValueRefOrAddDefault_2_T1, GetValueRefOrAddDefault_2_T2]):
175
- GetValueRefOrAddDefault_2_TKey = CollectionsMarshal.GetValueRefOrAddDefault_MethodGroup.GetValueRefOrAddDefault_2_T1
176
- GetValueRefOrAddDefault_2_TValue = CollectionsMarshal.GetValueRefOrAddDefault_MethodGroup.GetValueRefOrAddDefault_2_T2
177
- def __call__(self, dictionary: Dictionary_2[GetValueRefOrAddDefault_2_TKey, GetValueRefOrAddDefault_2_TValue], key: GetValueRefOrAddDefault_2_TKey, exists: clr.Reference[bool]) -> clr.Reference[GetValueRefOrAddDefault_2_TValue]:...
178
-
179
-
180
- # Skipped GetValueRefOrNullRef due to it being static, abstract and generic.
181
-
182
- GetValueRefOrNullRef : GetValueRefOrNullRef_MethodGroup
183
- class GetValueRefOrNullRef_MethodGroup:
184
- def __getitem__(self, t:typing.Tuple[typing.Type[GetValueRefOrNullRef_2_T1], typing.Type[GetValueRefOrNullRef_2_T2]]) -> GetValueRefOrNullRef_2[GetValueRefOrNullRef_2_T1, GetValueRefOrNullRef_2_T2]: ...
185
-
186
- GetValueRefOrNullRef_2_T1 = typing.TypeVar('GetValueRefOrNullRef_2_T1')
187
- GetValueRefOrNullRef_2_T2 = typing.TypeVar('GetValueRefOrNullRef_2_T2')
188
- class GetValueRefOrNullRef_2(typing.Generic[GetValueRefOrNullRef_2_T1, GetValueRefOrNullRef_2_T2]):
189
- GetValueRefOrNullRef_2_TKey = CollectionsMarshal.GetValueRefOrNullRef_MethodGroup.GetValueRefOrNullRef_2_T1
190
- GetValueRefOrNullRef_2_TValue = CollectionsMarshal.GetValueRefOrNullRef_MethodGroup.GetValueRefOrNullRef_2_T2
191
- def __call__(self, dictionary: Dictionary_2[GetValueRefOrNullRef_2_TKey, GetValueRefOrNullRef_2_TValue], key: GetValueRefOrNullRef_2_TKey) -> clr.Reference[GetValueRefOrNullRef_2_TValue]:...
192
-
193
-
194
- # Skipped SetCount due to it being static, abstract and generic.
195
-
196
- SetCount : SetCount_MethodGroup
197
- class SetCount_MethodGroup:
198
- def __getitem__(self, t:typing.Type[SetCount_1_T1]) -> SetCount_1[SetCount_1_T1]: ...
199
-
200
- SetCount_1_T1 = typing.TypeVar('SetCount_1_T1')
201
- class SetCount_1(typing.Generic[SetCount_1_T1]):
202
- SetCount_1_T = CollectionsMarshal.SetCount_MethodGroup.SetCount_1_T1
203
- def __call__(self, list: List_1[SetCount_1_T], count: int) -> None:...
204
-
205
-
206
-
207
-
208
- class ComDefaultInterfaceAttribute(Attribute):
209
- def __init__(self, defaultInterface: typing.Type[typing.Any]) -> None: ...
210
- @property
211
- def TypeId(self) -> typing.Any: ...
212
- @property
213
- def Value(self) -> typing.Type[typing.Any]: ...
214
-
215
-
216
- class ComEventInterfaceAttribute(Attribute):
217
- def __init__(self, SourceInterface: typing.Type[typing.Any], EventProvider: typing.Type[typing.Any]) -> None: ...
218
- @property
219
- def EventProvider(self) -> typing.Type[typing.Any]: ...
220
- @property
221
- def SourceInterface(self) -> typing.Type[typing.Any]: ...
222
- @property
223
- def TypeId(self) -> typing.Any: ...
224
-
225
-
226
- class ComEventsHelper(abc.ABC):
227
- @staticmethod
228
- def Combine(rcw: typing.Any, iid: Guid, dispid: int, d: Delegate) -> None: ...
229
- @staticmethod
230
- def Remove(rcw: typing.Any, iid: Guid, dispid: int, d: Delegate) -> Delegate: ...
231
-
232
-
233
- class COMException(ExternalException):
234
- @typing.overload
235
- def __init__(self) -> None: ...
236
- @typing.overload
237
- def __init__(self, message: str) -> None: ...
238
- @typing.overload
239
- def __init__(self, message: str, errorCode: int) -> None: ...
240
- @typing.overload
241
- def __init__(self, message: str, inner: Exception) -> None: ...
242
- @property
243
- def Data(self) -> IDictionary: ...
244
- @property
245
- def ErrorCode(self) -> int: ...
246
- @property
247
- def HelpLink(self) -> str: ...
248
- @HelpLink.setter
249
- def HelpLink(self, value: str) -> str: ...
250
- @property
251
- def HResult(self) -> int: ...
252
- @HResult.setter
253
- def HResult(self, value: int) -> int: ...
254
- @property
255
- def InnerException(self) -> Exception: ...
256
- @property
257
- def Message(self) -> str: ...
258
- @property
259
- def Source(self) -> str: ...
260
- @Source.setter
261
- def Source(self, value: str) -> str: ...
262
- @property
263
- def StackTrace(self) -> str: ...
264
- @property
265
- def TargetSite(self) -> MethodBase: ...
266
- def ToString(self) -> str: ...
267
-
268
-
269
- class ComImportAttribute(Attribute):
270
- def __init__(self) -> None: ...
271
- @property
272
- def TypeId(self) -> typing.Any: ...
273
-
274
-
275
- class ComInterfaceType(typing.SupportsInt):
276
- @typing.overload
277
- def __init__(self, value : int) -> None: ...
278
- @typing.overload
279
- def __init__(self, value : int, force_if_true: bool) -> None: ...
280
- def __int__(self) -> int: ...
281
-
282
- # Values:
283
- InterfaceIsDual : ComInterfaceType # 0
284
- InterfaceIsIUnknown : ComInterfaceType # 1
285
- InterfaceIsIDispatch : ComInterfaceType # 2
286
- InterfaceIsIInspectable : ComInterfaceType # 3
287
-
288
-
289
- class ComMemberType(typing.SupportsInt):
290
- @typing.overload
291
- def __init__(self, value : int) -> None: ...
292
- @typing.overload
293
- def __init__(self, value : int, force_if_true: bool) -> None: ...
294
- def __int__(self) -> int: ...
295
-
296
- # Values:
297
- Method : ComMemberType # 0
298
- PropGet : ComMemberType # 1
299
- PropSet : ComMemberType # 2
300
-
301
-
302
- class ComSourceInterfacesAttribute(Attribute):
303
- @typing.overload
304
- def __init__(self, sourceInterface: typing.Type[typing.Any]) -> None: ...
305
- @typing.overload
306
- def __init__(self, sourceInterface1: typing.Type[typing.Any], sourceInterface2: typing.Type[typing.Any]) -> None: ...
307
- @typing.overload
308
- def __init__(self, sourceInterface1: typing.Type[typing.Any], sourceInterface2: typing.Type[typing.Any], sourceInterface3: typing.Type[typing.Any]) -> None: ...
309
- @typing.overload
310
- def __init__(self, sourceInterface1: typing.Type[typing.Any], sourceInterface2: typing.Type[typing.Any], sourceInterface3: typing.Type[typing.Any], sourceInterface4: typing.Type[typing.Any]) -> None: ...
311
- @typing.overload
312
- def __init__(self, sourceInterfaces: str) -> None: ...
313
- @property
314
- def TypeId(self) -> typing.Any: ...
315
- @property
316
- def Value(self) -> str: ...
317
-
318
-
319
- class ComVisibleAttribute(Attribute):
320
- def __init__(self, visibility: bool) -> None: ...
321
- @property
322
- def TypeId(self) -> typing.Any: ...
323
- @property
324
- def Value(self) -> bool: ...
325
-
326
-
327
- class ComWrappers(abc.ABC):
328
- @staticmethod
329
- def GetIUnknownImpl(fpQueryInterface: clr.Reference[int], fpAddRef: clr.Reference[int], fpRelease: clr.Reference[int]) -> None: ...
330
- def GetOrCreateComInterfaceForObject(self, instance: typing.Any, flags: CreateComInterfaceFlags) -> int: ...
331
- def GetOrCreateObjectForComInstance(self, externalComObject: int, flags: CreateObjectFlags) -> typing.Any: ...
332
- @staticmethod
333
- def RegisterForMarshalling(instance: ComWrappers) -> None: ...
334
- @staticmethod
335
- def RegisterForTrackerSupport(instance: ComWrappers) -> None: ...
336
- @staticmethod
337
- def TryGetComInstance(obj: typing.Any, unknown: clr.Reference[int]) -> bool: ...
338
- @staticmethod
339
- def TryGetObject(unknown: int, obj: clr.Reference[typing.Any]) -> bool: ...
340
- # Skipped GetOrRegisterObjectForComInstance due to it being static, abstract and generic.
341
-
342
- GetOrRegisterObjectForComInstance : GetOrRegisterObjectForComInstance_MethodGroup
343
- class GetOrRegisterObjectForComInstance_MethodGroup:
344
- @typing.overload
345
- def __call__(self, externalComObject: int, flags: CreateObjectFlags, wrapper: typing.Any) -> typing.Any:...
346
- @typing.overload
347
- def __call__(self, externalComObject: int, flags: CreateObjectFlags, wrapper: typing.Any, inner: int) -> typing.Any:...
348
-
349
-
350
- class ComInterfaceDispatch:
351
- Vtable : int
352
- # Skipped GetInstance due to it being static, abstract and generic.
353
-
354
- GetInstance : GetInstance_MethodGroup
355
- class GetInstance_MethodGroup:
356
- def __getitem__(self, t:typing.Type[GetInstance_1_T1]) -> GetInstance_1[GetInstance_1_T1]: ...
357
-
358
- GetInstance_1_T1 = typing.TypeVar('GetInstance_1_T1')
359
- class GetInstance_1(typing.Generic[GetInstance_1_T1]):
360
- GetInstance_1_T = ComWrappers.ComInterfaceDispatch.GetInstance_MethodGroup.GetInstance_1_T1
361
- def __call__(self, dispatchPtr: clr.Reference[ComWrappers.ComInterfaceDispatch]) -> GetInstance_1_T:...
362
-
363
-
364
-
365
-
366
- class ComInterfaceEntry:
367
- IID : Guid
368
- Vtable : int
369
-
370
-
371
-
372
- class CreateComInterfaceFlags(typing.SupportsInt):
373
- @typing.overload
374
- def __init__(self, value : int) -> None: ...
375
- @typing.overload
376
- def __init__(self, value : int, force_if_true: bool) -> None: ...
377
- def __int__(self) -> int: ...
378
-
379
- # Values:
380
- None_ : CreateComInterfaceFlags # 0
381
- CallerDefinedIUnknown : CreateComInterfaceFlags # 1
382
- TrackerSupport : CreateComInterfaceFlags # 2
383
-
384
-
385
- class CreateObjectFlags(typing.SupportsInt):
386
- @typing.overload
387
- def __init__(self, value : int) -> None: ...
388
- @typing.overload
389
- def __init__(self, value : int, force_if_true: bool) -> None: ...
390
- def __int__(self) -> int: ...
391
-
392
- # Values:
393
- None_ : CreateObjectFlags # 0
394
- TrackerObject : CreateObjectFlags # 1
395
- UniqueInstance : CreateObjectFlags # 2
396
- Aggregation : CreateObjectFlags # 4
397
- Unwrap : CreateObjectFlags # 8
398
-
399
-
400
- class CriticalHandle(CriticalFinalizerObject, IDisposable):
401
- @property
402
- def IsClosed(self) -> bool: ...
403
- @property
404
- def IsInvalid(self) -> bool: ...
405
- def Close(self) -> None: ...
406
- def Dispose(self) -> None: ...
407
- def SetHandleAsInvalid(self) -> None: ...
408
-
409
-
410
- class CULong(IEquatable_1[CULong]):
411
- @typing.overload
412
- def __init__(self, value: int) -> None: ...
413
- @typing.overload
414
- def __init__(self, value: UIntPtr) -> None: ...
415
- @property
416
- def Value(self) -> UIntPtr: ...
417
- def GetHashCode(self) -> int: ...
418
- def ToString(self) -> str: ...
419
- # Skipped Equals due to it being static, abstract and generic.
420
-
421
- Equals : Equals_MethodGroup
422
- class Equals_MethodGroup:
423
- @typing.overload
424
- def __call__(self, other: CULong) -> bool:...
425
- @typing.overload
426
- def __call__(self, o: typing.Any) -> bool:...
427
-
428
-
429
-
430
- class CurrencyWrapper:
431
- @typing.overload
432
- def __init__(self, obj: Decimal) -> None: ...
433
- @typing.overload
434
- def __init__(self, obj: typing.Any) -> None: ...
435
- @property
436
- def WrappedObject(self) -> Decimal: ...
437
-
438
-
439
- class CustomQueryInterfaceMode(typing.SupportsInt):
440
- @typing.overload
441
- def __init__(self, value : int) -> None: ...
442
- @typing.overload
443
- def __init__(self, value : int, force_if_true: bool) -> None: ...
444
- def __int__(self) -> int: ...
445
-
446
- # Values:
447
- Ignore : CustomQueryInterfaceMode # 0
448
- Allow : CustomQueryInterfaceMode # 1
449
-
450
-
451
- class CustomQueryInterfaceResult(typing.SupportsInt):
452
- @typing.overload
453
- def __init__(self, value : int) -> None: ...
454
- @typing.overload
455
- def __init__(self, value : int, force_if_true: bool) -> None: ...
456
- def __int__(self) -> int: ...
457
-
458
- # Values:
459
- Handled : CustomQueryInterfaceResult # 0
460
- NotHandled : CustomQueryInterfaceResult # 1
461
- Failed : CustomQueryInterfaceResult # 2
462
-
463
-
464
- class DefaultCharSetAttribute(Attribute):
465
- def __init__(self, charSet: CharSet) -> None: ...
466
- @property
467
- def CharSet(self) -> CharSet: ...
468
- @property
469
- def TypeId(self) -> typing.Any: ...
470
-
471
-
472
- class DefaultDllImportSearchPathsAttribute(Attribute):
473
- def __init__(self, paths: DllImportSearchPath) -> None: ...
474
- @property
475
- def Paths(self) -> DllImportSearchPath: ...
476
- @property
477
- def TypeId(self) -> typing.Any: ...
478
-
479
-
480
- class DefaultParameterValueAttribute(Attribute):
481
- def __init__(self, value: typing.Any) -> None: ...
482
- @property
483
- def TypeId(self) -> typing.Any: ...
484
- @property
485
- def Value(self) -> typing.Any: ...
486
-
487
-
488
- class DispatchWrapper:
489
- def __init__(self, obj: typing.Any) -> None: ...
490
- @property
491
- def WrappedObject(self) -> typing.Any: ...
492
-
493
-
494
- class DispIdAttribute(Attribute):
495
- def __init__(self, dispId: int) -> None: ...
496
- @property
497
- def TypeId(self) -> typing.Any: ...
498
- @property
499
- def Value(self) -> int: ...
500
-
501
-
502
- class DllImportAttribute(Attribute):
503
- def __init__(self, dllName: str) -> None: ...
504
- BestFitMapping : bool
505
- CallingConvention : CallingConvention
506
- CharSet : CharSet
507
- EntryPoint : str
508
- ExactSpelling : bool
509
- PreserveSig : bool
510
- SetLastError : bool
511
- ThrowOnUnmappableChar : bool
512
- @property
513
- def TypeId(self) -> typing.Any: ...
514
- @property
515
- def Value(self) -> str: ...
516
-
517
-
518
- class DllImportResolver(MulticastDelegate):
519
- def __init__(self, object: typing.Any, method: int) -> None: ...
520
- @property
521
- def Method(self) -> MethodInfo: ...
522
- @property
523
- def Target(self) -> typing.Any: ...
524
- def BeginInvoke(self, libraryName: str, assembly: Assembly, searchPath: typing.Optional[DllImportSearchPath], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
525
- def EndInvoke(self, result: IAsyncResult) -> int: ...
526
- def Invoke(self, libraryName: str, assembly: Assembly, searchPath: typing.Optional[DllImportSearchPath]) -> int: ...
527
-
528
-
529
- class DllImportSearchPath(typing.SupportsInt):
530
- @typing.overload
531
- def __init__(self, value : int) -> None: ...
532
- @typing.overload
533
- def __init__(self, value : int, force_if_true: bool) -> None: ...
534
- def __int__(self) -> int: ...
535
-
536
- # Values:
537
- LegacyBehavior : DllImportSearchPath # 0
538
- AssemblyDirectory : DllImportSearchPath # 2
539
- UseDllDirectoryForDependencies : DllImportSearchPath # 256
540
- ApplicationDirectory : DllImportSearchPath # 512
541
- UserDirectories : DllImportSearchPath # 1024
542
- System32 : DllImportSearchPath # 2048
543
- SafeDirectories : DllImportSearchPath # 4096
544
-
545
-
546
- class DynamicInterfaceCastableImplementationAttribute(Attribute):
547
- def __init__(self) -> None: ...
548
- @property
549
- def TypeId(self) -> typing.Any: ...
550
-
551
-
552
- class ErrorWrapper:
553
- @typing.overload
554
- def __init__(self, e: Exception) -> None: ...
555
- @typing.overload
556
- def __init__(self, errorCode: int) -> None: ...
557
- @typing.overload
558
- def __init__(self, errorCode: typing.Any) -> None: ...
559
- @property
560
- def ErrorCode(self) -> int: ...
561
-
562
-
563
- class ExternalException(SystemException):
564
- @typing.overload
565
- def __init__(self) -> None: ...
566
- @typing.overload
567
- def __init__(self, message: str) -> None: ...
568
- @typing.overload
569
- def __init__(self, message: str, errorCode: int) -> None: ...
570
- @typing.overload
571
- def __init__(self, message: str, inner: Exception) -> None: ...
572
- @property
573
- def Data(self) -> IDictionary: ...
574
- @property
575
- def ErrorCode(self) -> int: ...
576
- @property
577
- def HelpLink(self) -> str: ...
578
- @HelpLink.setter
579
- def HelpLink(self, value: str) -> str: ...
580
- @property
581
- def HResult(self) -> int: ...
582
- @HResult.setter
583
- def HResult(self, value: int) -> int: ...
584
- @property
585
- def InnerException(self) -> Exception: ...
586
- @property
587
- def Message(self) -> str: ...
588
- @property
589
- def Source(self) -> str: ...
590
- @Source.setter
591
- def Source(self, value: str) -> str: ...
592
- @property
593
- def StackTrace(self) -> str: ...
594
- @property
595
- def TargetSite(self) -> MethodBase: ...
596
- def ToString(self) -> str: ...
597
-
598
-
599
- class FieldOffsetAttribute(Attribute):
600
- def __init__(self, offset: int) -> None: ...
601
- @property
602
- def TypeId(self) -> typing.Any: ...
603
- @property
604
- def Value(self) -> int: ...
605
-
606
-
607
- class GCHandle(IEquatable_1[GCHandle]):
608
- @property
609
- def IsAllocated(self) -> bool: ...
610
- @property
611
- def Target(self) -> typing.Any: ...
612
- @Target.setter
613
- def Target(self, value: typing.Any) -> typing.Any: ...
614
- def AddrOfPinnedObject(self) -> int: ...
615
- def Free(self) -> None: ...
616
- @staticmethod
617
- def FromIntPtr(value: int) -> GCHandle: ...
618
- def GetHashCode(self) -> int: ...
619
- def __eq__(self, a: GCHandle, b: GCHandle) -> bool: ...
620
- # Operator not supported op_Explicit(value: IntPtr)
621
- # Operator not supported op_Explicit(value: GCHandle)
622
- def __ne__(self, a: GCHandle, b: GCHandle) -> bool: ...
623
- @staticmethod
624
- def ToIntPtr(value: GCHandle) -> int: ...
625
- # Skipped Alloc due to it being static, abstract and generic.
626
-
627
- Alloc : Alloc_MethodGroup
628
- class Alloc_MethodGroup:
629
- @typing.overload
630
- def __call__(self, value: typing.Any) -> GCHandle:...
631
- @typing.overload
632
- def __call__(self, value: typing.Any, type: GCHandleType) -> GCHandle:...
633
-
634
- # Skipped Equals due to it being static, abstract and generic.
635
-
636
- Equals : Equals_MethodGroup
637
- class Equals_MethodGroup:
638
- @typing.overload
639
- def __call__(self, other: GCHandle) -> bool:...
640
- @typing.overload
641
- def __call__(self, o: typing.Any) -> bool:...
642
-
643
-
644
-
645
- class GCHandleType(typing.SupportsInt):
646
- @typing.overload
647
- def __init__(self, value : int) -> None: ...
648
- @typing.overload
649
- def __init__(self, value : int, force_if_true: bool) -> None: ...
650
- def __int__(self) -> int: ...
651
-
652
- # Values:
653
- Weak : GCHandleType # 0
654
- WeakTrackResurrection : GCHandleType # 1
655
- Normal : GCHandleType # 2
656
- Pinned : GCHandleType # 3
657
-
658
-
659
- class GuidAttribute(Attribute):
660
- def __init__(self, guid: str) -> None: ...
661
- @property
662
- def TypeId(self) -> typing.Any: ...
663
- @property
664
- def Value(self) -> str: ...
665
-
666
-
667
- class HandleRef:
668
- def __init__(self, wrapper: typing.Any, handle: int) -> None: ...
669
- @property
670
- def Handle(self) -> int: ...
671
- @property
672
- def Wrapper(self) -> typing.Any: ...
673
- # Operator not supported op_Explicit(value: HandleRef)
674
- @staticmethod
675
- def ToIntPtr(value: HandleRef) -> int: ...
676
-
677
-
678
- class ICustomAdapter(typing.Protocol):
679
- @abc.abstractmethod
680
- def GetUnderlyingObject(self) -> typing.Any: ...
681
-
682
-
683
- class ICustomFactory(typing.Protocol):
684
- @abc.abstractmethod
685
- def CreateInstance(self, serverType: typing.Type[typing.Any]) -> MarshalByRefObject: ...
686
-
687
-
688
- class ICustomMarshaler(typing.Protocol):
689
- @abc.abstractmethod
690
- def CleanUpManagedData(self, ManagedObj: typing.Any) -> None: ...
691
- @abc.abstractmethod
692
- def CleanUpNativeData(self, pNativeData: int) -> None: ...
693
- @abc.abstractmethod
694
- def GetNativeDataSize(self) -> int: ...
695
- @abc.abstractmethod
696
- def MarshalManagedToNative(self, ManagedObj: typing.Any) -> int: ...
697
- @abc.abstractmethod
698
- def MarshalNativeToManaged(self, pNativeData: int) -> typing.Any: ...
699
-
700
-
701
- class ICustomQueryInterface(typing.Protocol):
702
- @abc.abstractmethod
703
- def GetInterface(self, iid: clr.Reference[Guid], ppv: clr.Reference[int]) -> CustomQueryInterfaceResult: ...
704
-
705
-
706
- class IDynamicInterfaceCastable(typing.Protocol):
707
- @abc.abstractmethod
708
- def GetInterfaceImplementation(self, interfaceType: RuntimeTypeHandle) -> RuntimeTypeHandle: ...
709
- @abc.abstractmethod
710
- def IsInterfaceImplemented(self, interfaceType: RuntimeTypeHandle, throwIfNotImplemented: bool) -> bool: ...
711
-
712
-
713
- class InAttribute(Attribute):
714
- def __init__(self) -> None: ...
715
- @property
716
- def TypeId(self) -> typing.Any: ...
717
-
718
-
719
- class InterfaceTypeAttribute(Attribute):
720
- @typing.overload
721
- def __init__(self, interfaceType: ComInterfaceType) -> None: ...
722
- @typing.overload
723
- def __init__(self, interfaceType: int) -> None: ...
724
- @property
725
- def TypeId(self) -> typing.Any: ...
726
- @property
727
- def Value(self) -> ComInterfaceType: ...
728
-
729
-
730
- class InvalidComObjectException(SystemException):
731
- @typing.overload
732
- def __init__(self) -> None: ...
733
- @typing.overload
734
- def __init__(self, message: str) -> None: ...
735
- @typing.overload
736
- def __init__(self, message: str, inner: Exception) -> None: ...
737
- @property
738
- def Data(self) -> IDictionary: ...
739
- @property
740
- def HelpLink(self) -> str: ...
741
- @HelpLink.setter
742
- def HelpLink(self, value: str) -> str: ...
743
- @property
744
- def HResult(self) -> int: ...
745
- @HResult.setter
746
- def HResult(self, value: int) -> int: ...
747
- @property
748
- def InnerException(self) -> Exception: ...
749
- @property
750
- def Message(self) -> str: ...
751
- @property
752
- def Source(self) -> str: ...
753
- @Source.setter
754
- def Source(self, value: str) -> str: ...
755
- @property
756
- def StackTrace(self) -> str: ...
757
- @property
758
- def TargetSite(self) -> MethodBase: ...
759
-
760
-
761
- class InvalidOleVariantTypeException(SystemException):
762
- @typing.overload
763
- def __init__(self) -> None: ...
764
- @typing.overload
765
- def __init__(self, message: str) -> None: ...
766
- @typing.overload
767
- def __init__(self, message: str, inner: Exception) -> None: ...
768
- @property
769
- def Data(self) -> IDictionary: ...
770
- @property
771
- def HelpLink(self) -> str: ...
772
- @HelpLink.setter
773
- def HelpLink(self, value: str) -> str: ...
774
- @property
775
- def HResult(self) -> int: ...
776
- @HResult.setter
777
- def HResult(self, value: int) -> int: ...
778
- @property
779
- def InnerException(self) -> Exception: ...
780
- @property
781
- def Message(self) -> str: ...
782
- @property
783
- def Source(self) -> str: ...
784
- @Source.setter
785
- def Source(self, value: str) -> str: ...
786
- @property
787
- def StackTrace(self) -> str: ...
788
- @property
789
- def TargetSite(self) -> MethodBase: ...
790
-
791
-
792
- class LayoutKind(typing.SupportsInt):
793
- @typing.overload
794
- def __init__(self, value : int) -> None: ...
795
- @typing.overload
796
- def __init__(self, value : int, force_if_true: bool) -> None: ...
797
- def __int__(self) -> int: ...
798
-
799
- # Values:
800
- Sequential : LayoutKind # 0
801
- Explicit : LayoutKind # 2
802
- Auto : LayoutKind # 3
803
-
804
-
805
- class LCIDConversionAttribute(Attribute):
806
- def __init__(self, lcid: int) -> None: ...
807
- @property
808
- def TypeId(self) -> typing.Any: ...
809
- @property
810
- def Value(self) -> int: ...
811
-
812
-
813
- class LibraryImportAttribute(Attribute):
814
- def __init__(self, libraryName: str) -> None: ...
815
- @property
816
- def EntryPoint(self) -> str: ...
817
- @EntryPoint.setter
818
- def EntryPoint(self, value: str) -> str: ...
819
- @property
820
- def LibraryName(self) -> str: ...
821
- @property
822
- def SetLastError(self) -> bool: ...
823
- @SetLastError.setter
824
- def SetLastError(self, value: bool) -> bool: ...
825
- @property
826
- def StringMarshalling(self) -> StringMarshalling: ...
827
- @StringMarshalling.setter
828
- def StringMarshalling(self, value: StringMarshalling) -> StringMarshalling: ...
829
- @property
830
- def StringMarshallingCustomType(self) -> typing.Type[typing.Any]: ...
831
- @StringMarshallingCustomType.setter
832
- def StringMarshallingCustomType(self, value: typing.Type[typing.Any]) -> typing.Type[typing.Any]: ...
833
- @property
834
- def TypeId(self) -> typing.Any: ...
835
-
836
-
837
- class Marshal(abc.ABC):
838
- SystemDefaultCharSize : int
839
- SystemMaxDBCSCharSize : int
840
- @staticmethod
841
- def AddRef(pUnk: int) -> int: ...
842
- @staticmethod
843
- def AllocCoTaskMem(cb: int) -> int: ...
844
- @staticmethod
845
- def AreComObjectsAvailableForCleanup() -> bool: ...
846
- @staticmethod
847
- def BindToMoniker(monikerName: str) -> typing.Any: ...
848
- @staticmethod
849
- def ChangeWrapperHandleStrength(otp: typing.Any, fIsWeak: bool) -> None: ...
850
- @staticmethod
851
- def CleanupUnusedObjectsInCurrentContext() -> None: ...
852
- @staticmethod
853
- def FinalReleaseComObject(o: typing.Any) -> int: ...
854
- @staticmethod
855
- def FreeBSTR(ptr: int) -> None: ...
856
- @staticmethod
857
- def FreeCoTaskMem(ptr: int) -> None: ...
858
- @staticmethod
859
- def FreeHGlobal(hglobal: int) -> None: ...
860
- @staticmethod
861
- def GenerateGuidForType(type: typing.Type[typing.Any]) -> Guid: ...
862
- @staticmethod
863
- def GenerateProgIdForType(type: typing.Type[typing.Any]) -> str: ...
864
- @staticmethod
865
- def GetComObjectData(obj: typing.Any, key: typing.Any) -> typing.Any: ...
866
- @staticmethod
867
- def GetEndComSlot(t: typing.Type[typing.Any]) -> int: ...
868
- @staticmethod
869
- def GetExceptionCode() -> int: ...
870
- @staticmethod
871
- def GetExceptionPointers() -> int: ...
872
- @staticmethod
873
- def GetHINSTANCE(m: Module) -> int: ...
874
- @staticmethod
875
- def GetHRForException(e: Exception) -> int: ...
876
- @staticmethod
877
- def GetHRForLastWin32Error() -> int: ...
878
- @staticmethod
879
- def GetIDispatchForObject(o: typing.Any) -> int: ...
880
- @staticmethod
881
- def GetIUnknownForObject(o: typing.Any) -> int: ...
882
- @staticmethod
883
- def GetLastPInvokeError() -> int: ...
884
- @staticmethod
885
- def GetLastPInvokeErrorMessage() -> str: ...
886
- @staticmethod
887
- def GetLastSystemError() -> int: ...
888
- @staticmethod
889
- def GetLastWin32Error() -> int: ...
890
- @staticmethod
891
- def GetObjectForIUnknown(pUnk: int) -> typing.Any: ...
892
- @staticmethod
893
- def GetPInvokeErrorMessage(error: int) -> str: ...
894
- @staticmethod
895
- def GetStartComSlot(t: typing.Type[typing.Any]) -> int: ...
896
- @staticmethod
897
- def GetTypedObjectForIUnknown(pUnk: int, t: typing.Type[typing.Any]) -> typing.Any: ...
898
- @staticmethod
899
- def GetTypeFromCLSID(clsid: Guid) -> typing.Type[typing.Any]: ...
900
- @staticmethod
901
- def GetTypeInfoName(typeInfo: ITypeInfo) -> str: ...
902
- @staticmethod
903
- def GetUniqueObjectForIUnknown(unknown: int) -> typing.Any: ...
904
- @staticmethod
905
- def InitHandle(safeHandle: SafeHandle, handle: int) -> None: ...
906
- @staticmethod
907
- def IsComObject(o: typing.Any) -> bool: ...
908
- @staticmethod
909
- def IsTypeVisibleFromCom(t: typing.Type[typing.Any]) -> bool: ...
910
- @staticmethod
911
- def Prelink(m: MethodInfo) -> None: ...
912
- @staticmethod
913
- def PrelinkAll(c: typing.Type[typing.Any]) -> None: ...
914
- @staticmethod
915
- def PtrToStringBSTR(ptr: int) -> str: ...
916
- @staticmethod
917
- def QueryInterface(pUnk: int, iid: clr.Reference[Guid], ppv: clr.Reference[int]) -> int: ...
918
- @staticmethod
919
- def ReAllocCoTaskMem(pv: int, cb: int) -> int: ...
920
- @staticmethod
921
- def ReAllocHGlobal(pv: int, cb: int) -> int: ...
922
- @staticmethod
923
- def Release(pUnk: int) -> int: ...
924
- @staticmethod
925
- def ReleaseComObject(o: typing.Any) -> int: ...
926
- @staticmethod
927
- def SecureStringToBSTR(s: SecureString) -> int: ...
928
- @staticmethod
929
- def SecureStringToCoTaskMemAnsi(s: SecureString) -> int: ...
930
- @staticmethod
931
- def SecureStringToCoTaskMemUnicode(s: SecureString) -> int: ...
932
- @staticmethod
933
- def SecureStringToGlobalAllocAnsi(s: SecureString) -> int: ...
934
- @staticmethod
935
- def SecureStringToGlobalAllocUnicode(s: SecureString) -> int: ...
936
- @staticmethod
937
- def SetComObjectData(obj: typing.Any, key: typing.Any, data: typing.Any) -> bool: ...
938
- @staticmethod
939
- def SetLastPInvokeError(error: int) -> None: ...
940
- @staticmethod
941
- def SetLastSystemError(error: int) -> None: ...
942
- @staticmethod
943
- def StringToBSTR(s: str) -> int: ...
944
- @staticmethod
945
- def StringToCoTaskMemAnsi(s: str) -> int: ...
946
- @staticmethod
947
- def StringToCoTaskMemAuto(s: str) -> int: ...
948
- @staticmethod
949
- def StringToCoTaskMemUni(s: str) -> int: ...
950
- @staticmethod
951
- def StringToCoTaskMemUTF8(s: str) -> int: ...
952
- @staticmethod
953
- def StringToHGlobalAnsi(s: str) -> int: ...
954
- @staticmethod
955
- def StringToHGlobalAuto(s: str) -> int: ...
956
- @staticmethod
957
- def StringToHGlobalUni(s: str) -> int: ...
958
- @staticmethod
959
- def ZeroFreeBSTR(s: int) -> None: ...
960
- @staticmethod
961
- def ZeroFreeCoTaskMemAnsi(s: int) -> None: ...
962
- @staticmethod
963
- def ZeroFreeCoTaskMemUnicode(s: int) -> None: ...
964
- @staticmethod
965
- def ZeroFreeCoTaskMemUTF8(s: int) -> None: ...
966
- @staticmethod
967
- def ZeroFreeGlobalAllocAnsi(s: int) -> None: ...
968
- @staticmethod
969
- def ZeroFreeGlobalAllocUnicode(s: int) -> None: ...
970
- # Skipped AllocHGlobal due to it being static, abstract and generic.
971
-
972
- AllocHGlobal : AllocHGlobal_MethodGroup
973
- class AllocHGlobal_MethodGroup:
974
- def __call__(self, cb: int) -> int:...
975
- # Method AllocHGlobal(cb : IntPtr) was skipped since it collides with above method
976
-
977
- # Skipped Copy due to it being static, abstract and generic.
978
-
979
- Copy : Copy_MethodGroup
980
- class Copy_MethodGroup:
981
- @typing.overload
982
- def __call__(self, source: int, destination: Array_1[float], startIndex: int, length: int) -> None:...
983
- # Method Copy(source : IntPtr, destination : Double[], startIndex : Int32, length : Int32) was skipped since it collides with above method
984
- # Method Copy(source : IntPtr, destination : Int32[], startIndex : Int32, length : Int32) was skipped since it collides with above method
985
- @typing.overload
986
- def __call__(self, source: int, destination: Array_1[str], startIndex: int, length: int) -> None:...
987
- # Method Copy(source : IntPtr, destination : Int16[], startIndex : Int32, length : Int32) was skipped since it collides with above method
988
- # Method Copy(source : IntPtr, destination : Int64[], startIndex : Int32, length : Int32) was skipped since it collides with above method
989
- # Method Copy(source : IntPtr, destination : Byte[], startIndex : Int32, length : Int32) was skipped since it collides with above method
990
- # Method Copy(source : IntPtr, destination : IntPtr[], startIndex : Int32, length : Int32) was skipped since it collides with above method
991
- @typing.overload
992
- def __call__(self, source: Array_1[float], startIndex: int, destination: int, length: int) -> None:...
993
- # Method Copy(source : Double[], startIndex : Int32, destination : IntPtr, length : Int32) was skipped since it collides with above method
994
- # Method Copy(source : Int32[], startIndex : Int32, destination : IntPtr, length : Int32) was skipped since it collides with above method
995
- @typing.overload
996
- def __call__(self, source: Array_1[str], startIndex: int, destination: int, length: int) -> None:...
997
- # Method Copy(source : Int16[], startIndex : Int32, destination : IntPtr, length : Int32) was skipped since it collides with above method
998
- # Method Copy(source : Int64[], startIndex : Int32, destination : IntPtr, length : Int32) was skipped since it collides with above method
999
- # Method Copy(source : Byte[], startIndex : Int32, destination : IntPtr, length : Int32) was skipped since it collides with above method
1000
- # Method Copy(source : IntPtr[], startIndex : Int32, destination : IntPtr, length : Int32) was skipped since it collides with above method
1001
-
1002
- # Skipped CreateAggregatedObject due to it being static, abstract and generic.
1003
-
1004
- CreateAggregatedObject : CreateAggregatedObject_MethodGroup
1005
- class CreateAggregatedObject_MethodGroup:
1006
- def __getitem__(self, t:typing.Type[CreateAggregatedObject_1_T1]) -> CreateAggregatedObject_1[CreateAggregatedObject_1_T1]: ...
1007
-
1008
- CreateAggregatedObject_1_T1 = typing.TypeVar('CreateAggregatedObject_1_T1')
1009
- class CreateAggregatedObject_1(typing.Generic[CreateAggregatedObject_1_T1]):
1010
- CreateAggregatedObject_1_T = Marshal.CreateAggregatedObject_MethodGroup.CreateAggregatedObject_1_T1
1011
- def __call__(self, pOuter: int, o: CreateAggregatedObject_1_T) -> int:...
1012
-
1013
- def __call__(self, pOuter: int, o: typing.Any) -> int:...
1014
-
1015
- # Skipped CreateWrapperOfType due to it being static, abstract and generic.
1016
-
1017
- CreateWrapperOfType : CreateWrapperOfType_MethodGroup
1018
- class CreateWrapperOfType_MethodGroup:
1019
- def __getitem__(self, t:typing.Tuple[typing.Type[CreateWrapperOfType_2_T1], typing.Type[CreateWrapperOfType_2_T2]]) -> CreateWrapperOfType_2[CreateWrapperOfType_2_T1, CreateWrapperOfType_2_T2]: ...
1020
-
1021
- CreateWrapperOfType_2_T1 = typing.TypeVar('CreateWrapperOfType_2_T1')
1022
- CreateWrapperOfType_2_T2 = typing.TypeVar('CreateWrapperOfType_2_T2')
1023
- class CreateWrapperOfType_2(typing.Generic[CreateWrapperOfType_2_T1, CreateWrapperOfType_2_T2]):
1024
- CreateWrapperOfType_2_T = Marshal.CreateWrapperOfType_MethodGroup.CreateWrapperOfType_2_T1
1025
- CreateWrapperOfType_2_TWrapper = Marshal.CreateWrapperOfType_MethodGroup.CreateWrapperOfType_2_T2
1026
- def __call__(self, o: CreateWrapperOfType_2_T) -> CreateWrapperOfType_2_TWrapper:...
1027
-
1028
- def __call__(self, o: typing.Any, t: typing.Type[typing.Any]) -> typing.Any:...
1029
-
1030
- # Skipped DestroyStructure due to it being static, abstract and generic.
1031
-
1032
- DestroyStructure : DestroyStructure_MethodGroup
1033
- class DestroyStructure_MethodGroup:
1034
- def __getitem__(self, t:typing.Type[DestroyStructure_1_T1]) -> DestroyStructure_1[DestroyStructure_1_T1]: ...
1035
-
1036
- DestroyStructure_1_T1 = typing.TypeVar('DestroyStructure_1_T1')
1037
- class DestroyStructure_1(typing.Generic[DestroyStructure_1_T1]):
1038
- DestroyStructure_1_T = Marshal.DestroyStructure_MethodGroup.DestroyStructure_1_T1
1039
- def __call__(self, ptr: int) -> None:...
1040
-
1041
- def __call__(self, ptr: int, structuretype: typing.Type[typing.Any]) -> None:...
1042
-
1043
- # Skipped GetComInterfaceForObject due to it being static, abstract and generic.
1044
-
1045
- GetComInterfaceForObject : GetComInterfaceForObject_MethodGroup
1046
- class GetComInterfaceForObject_MethodGroup:
1047
- def __getitem__(self, t:typing.Tuple[typing.Type[GetComInterfaceForObject_2_T1], typing.Type[GetComInterfaceForObject_2_T2]]) -> GetComInterfaceForObject_2[GetComInterfaceForObject_2_T1, GetComInterfaceForObject_2_T2]: ...
1048
-
1049
- GetComInterfaceForObject_2_T1 = typing.TypeVar('GetComInterfaceForObject_2_T1')
1050
- GetComInterfaceForObject_2_T2 = typing.TypeVar('GetComInterfaceForObject_2_T2')
1051
- class GetComInterfaceForObject_2(typing.Generic[GetComInterfaceForObject_2_T1, GetComInterfaceForObject_2_T2]):
1052
- GetComInterfaceForObject_2_T = Marshal.GetComInterfaceForObject_MethodGroup.GetComInterfaceForObject_2_T1
1053
- GetComInterfaceForObject_2_TInterface = Marshal.GetComInterfaceForObject_MethodGroup.GetComInterfaceForObject_2_T2
1054
- def __call__(self, o: GetComInterfaceForObject_2_T) -> int:...
1055
-
1056
- @typing.overload
1057
- def __call__(self, o: typing.Any, T: typing.Type[typing.Any]) -> int:...
1058
- @typing.overload
1059
- def __call__(self, o: typing.Any, T: typing.Type[typing.Any], mode: CustomQueryInterfaceMode) -> int:...
1060
-
1061
- # Skipped GetDelegateForFunctionPointer due to it being static, abstract and generic.
1062
-
1063
- GetDelegateForFunctionPointer : GetDelegateForFunctionPointer_MethodGroup
1064
- class GetDelegateForFunctionPointer_MethodGroup:
1065
- def __getitem__(self, t:typing.Type[GetDelegateForFunctionPointer_1_T1]) -> GetDelegateForFunctionPointer_1[GetDelegateForFunctionPointer_1_T1]: ...
1066
-
1067
- GetDelegateForFunctionPointer_1_T1 = typing.TypeVar('GetDelegateForFunctionPointer_1_T1')
1068
- class GetDelegateForFunctionPointer_1(typing.Generic[GetDelegateForFunctionPointer_1_T1]):
1069
- GetDelegateForFunctionPointer_1_TDelegate = Marshal.GetDelegateForFunctionPointer_MethodGroup.GetDelegateForFunctionPointer_1_T1
1070
- def __call__(self, ptr: int) -> GetDelegateForFunctionPointer_1_TDelegate:...
1071
-
1072
- def __call__(self, ptr: int, t: typing.Type[typing.Any]) -> Delegate:...
1073
-
1074
- # Skipped GetExceptionForHR due to it being static, abstract and generic.
1075
-
1076
- GetExceptionForHR : GetExceptionForHR_MethodGroup
1077
- class GetExceptionForHR_MethodGroup:
1078
- @typing.overload
1079
- def __call__(self, errorCode: int) -> Exception:...
1080
- @typing.overload
1081
- def __call__(self, errorCode: int, errorInfo: int) -> Exception:...
1082
-
1083
- # Skipped GetFunctionPointerForDelegate due to it being static, abstract and generic.
1084
-
1085
- GetFunctionPointerForDelegate : GetFunctionPointerForDelegate_MethodGroup
1086
- class GetFunctionPointerForDelegate_MethodGroup:
1087
- def __getitem__(self, t:typing.Type[GetFunctionPointerForDelegate_1_T1]) -> GetFunctionPointerForDelegate_1[GetFunctionPointerForDelegate_1_T1]: ...
1088
-
1089
- GetFunctionPointerForDelegate_1_T1 = typing.TypeVar('GetFunctionPointerForDelegate_1_T1')
1090
- class GetFunctionPointerForDelegate_1(typing.Generic[GetFunctionPointerForDelegate_1_T1]):
1091
- GetFunctionPointerForDelegate_1_TDelegate = Marshal.GetFunctionPointerForDelegate_MethodGroup.GetFunctionPointerForDelegate_1_T1
1092
- def __call__(self, d: GetFunctionPointerForDelegate_1_TDelegate) -> int:...
1093
-
1094
- def __call__(self, d: Delegate) -> int:...
1095
-
1096
- # Skipped GetNativeVariantForObject due to it being static, abstract and generic.
1097
-
1098
- GetNativeVariantForObject : GetNativeVariantForObject_MethodGroup
1099
- class GetNativeVariantForObject_MethodGroup:
1100
- def __getitem__(self, t:typing.Type[GetNativeVariantForObject_1_T1]) -> GetNativeVariantForObject_1[GetNativeVariantForObject_1_T1]: ...
1101
-
1102
- GetNativeVariantForObject_1_T1 = typing.TypeVar('GetNativeVariantForObject_1_T1')
1103
- class GetNativeVariantForObject_1(typing.Generic[GetNativeVariantForObject_1_T1]):
1104
- GetNativeVariantForObject_1_T = Marshal.GetNativeVariantForObject_MethodGroup.GetNativeVariantForObject_1_T1
1105
- def __call__(self, obj: GetNativeVariantForObject_1_T, pDstNativeVariant: int) -> None:...
1106
-
1107
- def __call__(self, obj: typing.Any, pDstNativeVariant: int) -> None:...
1108
-
1109
- # Skipped GetObjectForNativeVariant due to it being static, abstract and generic.
1110
-
1111
- GetObjectForNativeVariant : GetObjectForNativeVariant_MethodGroup
1112
- class GetObjectForNativeVariant_MethodGroup:
1113
- def __getitem__(self, t:typing.Type[GetObjectForNativeVariant_1_T1]) -> GetObjectForNativeVariant_1[GetObjectForNativeVariant_1_T1]: ...
1114
-
1115
- GetObjectForNativeVariant_1_T1 = typing.TypeVar('GetObjectForNativeVariant_1_T1')
1116
- class GetObjectForNativeVariant_1(typing.Generic[GetObjectForNativeVariant_1_T1]):
1117
- GetObjectForNativeVariant_1_T = Marshal.GetObjectForNativeVariant_MethodGroup.GetObjectForNativeVariant_1_T1
1118
- def __call__(self, pSrcNativeVariant: int) -> GetObjectForNativeVariant_1_T:...
1119
-
1120
- def __call__(self, pSrcNativeVariant: int) -> typing.Any:...
1121
-
1122
- # Skipped GetObjectsForNativeVariants due to it being static, abstract and generic.
1123
-
1124
- GetObjectsForNativeVariants : GetObjectsForNativeVariants_MethodGroup
1125
- class GetObjectsForNativeVariants_MethodGroup:
1126
- def __getitem__(self, t:typing.Type[GetObjectsForNativeVariants_1_T1]) -> GetObjectsForNativeVariants_1[GetObjectsForNativeVariants_1_T1]: ...
1127
-
1128
- GetObjectsForNativeVariants_1_T1 = typing.TypeVar('GetObjectsForNativeVariants_1_T1')
1129
- class GetObjectsForNativeVariants_1(typing.Generic[GetObjectsForNativeVariants_1_T1]):
1130
- GetObjectsForNativeVariants_1_T = Marshal.GetObjectsForNativeVariants_MethodGroup.GetObjectsForNativeVariants_1_T1
1131
- def __call__(self, aSrcNativeVariant: int, cVars: int) -> Array_1[GetObjectsForNativeVariants_1_T]:...
1132
-
1133
- def __call__(self, aSrcNativeVariant: int, cVars: int) -> Array_1[typing.Any]:...
1134
-
1135
- # Skipped OffsetOf due to it being static, abstract and generic.
1136
-
1137
- OffsetOf : OffsetOf_MethodGroup
1138
- class OffsetOf_MethodGroup:
1139
- def __getitem__(self, t:typing.Type[OffsetOf_1_T1]) -> OffsetOf_1[OffsetOf_1_T1]: ...
1140
-
1141
- OffsetOf_1_T1 = typing.TypeVar('OffsetOf_1_T1')
1142
- class OffsetOf_1(typing.Generic[OffsetOf_1_T1]):
1143
- OffsetOf_1_T = Marshal.OffsetOf_MethodGroup.OffsetOf_1_T1
1144
- def __call__(self, fieldName: str) -> int:...
1145
-
1146
- def __call__(self, t: typing.Type[typing.Any], fieldName: str) -> int:...
1147
-
1148
- # Skipped PtrToStringAnsi due to it being static, abstract and generic.
1149
-
1150
- PtrToStringAnsi : PtrToStringAnsi_MethodGroup
1151
- class PtrToStringAnsi_MethodGroup:
1152
- @typing.overload
1153
- def __call__(self, ptr: int) -> str:...
1154
- @typing.overload
1155
- def __call__(self, ptr: int, len: int) -> str:...
1156
-
1157
- # Skipped PtrToStringAuto due to it being static, abstract and generic.
1158
-
1159
- PtrToStringAuto : PtrToStringAuto_MethodGroup
1160
- class PtrToStringAuto_MethodGroup:
1161
- @typing.overload
1162
- def __call__(self, ptr: int) -> str:...
1163
- @typing.overload
1164
- def __call__(self, ptr: int, len: int) -> str:...
1165
-
1166
- # Skipped PtrToStringUni due to it being static, abstract and generic.
1167
-
1168
- PtrToStringUni : PtrToStringUni_MethodGroup
1169
- class PtrToStringUni_MethodGroup:
1170
- @typing.overload
1171
- def __call__(self, ptr: int) -> str:...
1172
- @typing.overload
1173
- def __call__(self, ptr: int, len: int) -> str:...
1174
-
1175
- # Skipped PtrToStringUTF8 due to it being static, abstract and generic.
1176
-
1177
- PtrToStringUTF8 : PtrToStringUTF8_MethodGroup
1178
- class PtrToStringUTF8_MethodGroup:
1179
- @typing.overload
1180
- def __call__(self, ptr: int) -> str:...
1181
- @typing.overload
1182
- def __call__(self, ptr: int, byteLen: int) -> str:...
1183
-
1184
- # Skipped PtrToStructure due to it being static, abstract and generic.
1185
-
1186
- PtrToStructure : PtrToStructure_MethodGroup
1187
- class PtrToStructure_MethodGroup:
1188
- def __getitem__(self, t:typing.Type[PtrToStructure_1_T1]) -> PtrToStructure_1[PtrToStructure_1_T1]: ...
1189
-
1190
- PtrToStructure_1_T1 = typing.TypeVar('PtrToStructure_1_T1')
1191
- class PtrToStructure_1(typing.Generic[PtrToStructure_1_T1]):
1192
- PtrToStructure_1_T = Marshal.PtrToStructure_MethodGroup.PtrToStructure_1_T1
1193
- @typing.overload
1194
- def __call__(self, ptr: int) -> PtrToStructure_1_T:...
1195
- @typing.overload
1196
- def __call__(self, ptr: int, structure: PtrToStructure_1_T) -> None:...
1197
-
1198
- @typing.overload
1199
- def __call__(self, ptr: int, structureType: typing.Type[typing.Any]) -> typing.Any:...
1200
- @typing.overload
1201
- def __call__(self, ptr: int, structure: typing.Any) -> None:...
1202
-
1203
- # Skipped ReadByte due to it being static, abstract and generic.
1204
-
1205
- ReadByte : ReadByte_MethodGroup
1206
- class ReadByte_MethodGroup:
1207
- @typing.overload
1208
- def __call__(self, ptr: int) -> int:...
1209
- @typing.overload
1210
- def __call__(self, ptr: int, ofs: int) -> int:...
1211
- @typing.overload
1212
- def __call__(self, ptr: typing.Any, ofs: int) -> int:...
1213
-
1214
- # Skipped ReadInt16 due to it being static, abstract and generic.
1215
-
1216
- ReadInt16 : ReadInt16_MethodGroup
1217
- class ReadInt16_MethodGroup:
1218
- @typing.overload
1219
- def __call__(self, ptr: int) -> int:...
1220
- @typing.overload
1221
- def __call__(self, ptr: int, ofs: int) -> int:...
1222
- @typing.overload
1223
- def __call__(self, ptr: typing.Any, ofs: int) -> int:...
1224
-
1225
- # Skipped ReadInt32 due to it being static, abstract and generic.
1226
-
1227
- ReadInt32 : ReadInt32_MethodGroup
1228
- class ReadInt32_MethodGroup:
1229
- @typing.overload
1230
- def __call__(self, ptr: int) -> int:...
1231
- @typing.overload
1232
- def __call__(self, ptr: int, ofs: int) -> int:...
1233
- @typing.overload
1234
- def __call__(self, ptr: typing.Any, ofs: int) -> int:...
1235
-
1236
- # Skipped ReadInt64 due to it being static, abstract and generic.
1237
-
1238
- ReadInt64 : ReadInt64_MethodGroup
1239
- class ReadInt64_MethodGroup:
1240
- @typing.overload
1241
- def __call__(self, ptr: int) -> int:...
1242
- @typing.overload
1243
- def __call__(self, ptr: int, ofs: int) -> int:...
1244
- @typing.overload
1245
- def __call__(self, ptr: typing.Any, ofs: int) -> int:...
1246
-
1247
- # Skipped ReadIntPtr due to it being static, abstract and generic.
1248
-
1249
- ReadIntPtr : ReadIntPtr_MethodGroup
1250
- class ReadIntPtr_MethodGroup:
1251
- @typing.overload
1252
- def __call__(self, ptr: int) -> int:...
1253
- @typing.overload
1254
- def __call__(self, ptr: int, ofs: int) -> int:...
1255
- @typing.overload
1256
- def __call__(self, ptr: typing.Any, ofs: int) -> int:...
1257
-
1258
- # Skipped SizeOf due to it being static, abstract and generic.
1259
-
1260
- SizeOf : SizeOf_MethodGroup
1261
- class SizeOf_MethodGroup:
1262
- def __getitem__(self, t:typing.Type[SizeOf_1_T1]) -> SizeOf_1[SizeOf_1_T1]: ...
1263
-
1264
- SizeOf_1_T1 = typing.TypeVar('SizeOf_1_T1')
1265
- class SizeOf_1(typing.Generic[SizeOf_1_T1]):
1266
- SizeOf_1_T = Marshal.SizeOf_MethodGroup.SizeOf_1_T1
1267
- @typing.overload
1268
- def __call__(self) -> int:...
1269
- @typing.overload
1270
- def __call__(self, structure: SizeOf_1_T) -> int:...
1271
-
1272
- @typing.overload
1273
- def __call__(self, t: typing.Type[typing.Any]) -> int:...
1274
- @typing.overload
1275
- def __call__(self, structure: typing.Any) -> int:...
1276
-
1277
- # Skipped StructureToPtr due to it being static, abstract and generic.
1278
-
1279
- StructureToPtr : StructureToPtr_MethodGroup
1280
- class StructureToPtr_MethodGroup:
1281
- def __getitem__(self, t:typing.Type[StructureToPtr_1_T1]) -> StructureToPtr_1[StructureToPtr_1_T1]: ...
1282
-
1283
- StructureToPtr_1_T1 = typing.TypeVar('StructureToPtr_1_T1')
1284
- class StructureToPtr_1(typing.Generic[StructureToPtr_1_T1]):
1285
- StructureToPtr_1_T = Marshal.StructureToPtr_MethodGroup.StructureToPtr_1_T1
1286
- def __call__(self, structure: StructureToPtr_1_T, ptr: int, fDeleteOld: bool) -> None:...
1287
-
1288
- def __call__(self, structure: typing.Any, ptr: int, fDeleteOld: bool) -> None:...
1289
-
1290
- # Skipped ThrowExceptionForHR due to it being static, abstract and generic.
1291
-
1292
- ThrowExceptionForHR : ThrowExceptionForHR_MethodGroup
1293
- class ThrowExceptionForHR_MethodGroup:
1294
- @typing.overload
1295
- def __call__(self, errorCode: int) -> None:...
1296
- @typing.overload
1297
- def __call__(self, errorCode: int, errorInfo: int) -> None:...
1298
-
1299
- # Skipped UnsafeAddrOfPinnedArrayElement due to it being static, abstract and generic.
1300
-
1301
- UnsafeAddrOfPinnedArrayElement : UnsafeAddrOfPinnedArrayElement_MethodGroup
1302
- class UnsafeAddrOfPinnedArrayElement_MethodGroup:
1303
- def __getitem__(self, t:typing.Type[UnsafeAddrOfPinnedArrayElement_1_T1]) -> UnsafeAddrOfPinnedArrayElement_1[UnsafeAddrOfPinnedArrayElement_1_T1]: ...
1304
-
1305
- UnsafeAddrOfPinnedArrayElement_1_T1 = typing.TypeVar('UnsafeAddrOfPinnedArrayElement_1_T1')
1306
- class UnsafeAddrOfPinnedArrayElement_1(typing.Generic[UnsafeAddrOfPinnedArrayElement_1_T1]):
1307
- UnsafeAddrOfPinnedArrayElement_1_T = Marshal.UnsafeAddrOfPinnedArrayElement_MethodGroup.UnsafeAddrOfPinnedArrayElement_1_T1
1308
- def __call__(self, arr: Array_1[UnsafeAddrOfPinnedArrayElement_1_T], index: int) -> int:...
1309
-
1310
- def __call__(self, arr: Array, index: int) -> int:...
1311
-
1312
- # Skipped WriteByte due to it being static, abstract and generic.
1313
-
1314
- WriteByte : WriteByte_MethodGroup
1315
- class WriteByte_MethodGroup:
1316
- @typing.overload
1317
- def __call__(self, ptr: int, val: int) -> None:...
1318
- @typing.overload
1319
- def __call__(self, ptr: int, ofs: int, val: int) -> None:...
1320
- @typing.overload
1321
- def __call__(self, ptr: typing.Any, ofs: int, val: int) -> None:...
1322
-
1323
- # Skipped WriteInt16 due to it being static, abstract and generic.
1324
-
1325
- WriteInt16 : WriteInt16_MethodGroup
1326
- class WriteInt16_MethodGroup:
1327
- @typing.overload
1328
- def __call__(self, ptr: int, val: int) -> None:...
1329
- @typing.overload
1330
- def __call__(self, ptr: int, val: str) -> None:...
1331
- @typing.overload
1332
- def __call__(self, ptr: int, ofs: int, val: int) -> None:...
1333
- @typing.overload
1334
- def __call__(self, ptr: int, ofs: int, val: str) -> None:...
1335
- @typing.overload
1336
- def __call__(self, ptr: typing.Any, ofs: int, val: int) -> None:...
1337
- @typing.overload
1338
- def __call__(self, ptr: typing.Any, ofs: int, val: str) -> None:...
1339
-
1340
- # Skipped WriteInt32 due to it being static, abstract and generic.
1341
-
1342
- WriteInt32 : WriteInt32_MethodGroup
1343
- class WriteInt32_MethodGroup:
1344
- @typing.overload
1345
- def __call__(self, ptr: int, val: int) -> None:...
1346
- @typing.overload
1347
- def __call__(self, ptr: int, ofs: int, val: int) -> None:...
1348
- @typing.overload
1349
- def __call__(self, ptr: typing.Any, ofs: int, val: int) -> None:...
1350
-
1351
- # Skipped WriteInt64 due to it being static, abstract and generic.
1352
-
1353
- WriteInt64 : WriteInt64_MethodGroup
1354
- class WriteInt64_MethodGroup:
1355
- @typing.overload
1356
- def __call__(self, ptr: int, val: int) -> None:...
1357
- @typing.overload
1358
- def __call__(self, ptr: int, ofs: int, val: int) -> None:...
1359
- @typing.overload
1360
- def __call__(self, ptr: typing.Any, ofs: int, val: int) -> None:...
1361
-
1362
- # Skipped WriteIntPtr due to it being static, abstract and generic.
1363
-
1364
- WriteIntPtr : WriteIntPtr_MethodGroup
1365
- class WriteIntPtr_MethodGroup:
1366
- @typing.overload
1367
- def __call__(self, ptr: int, val: int) -> None:...
1368
- @typing.overload
1369
- def __call__(self, ptr: int, ofs: int, val: int) -> None:...
1370
- @typing.overload
1371
- def __call__(self, ptr: typing.Any, ofs: int, val: int) -> None:...
1372
-
1373
-
1374
-
1375
- class MarshalAsAttribute(Attribute):
1376
- @typing.overload
1377
- def __init__(self, unmanagedType: UnmanagedType) -> None: ...
1378
- @typing.overload
1379
- def __init__(self, unmanagedType: int) -> None: ...
1380
- ArraySubType : UnmanagedType
1381
- IidParameterIndex : int
1382
- MarshalCookie : str
1383
- MarshalType : str
1384
- MarshalTypeRef : typing.Type[typing.Any]
1385
- SafeArraySubType : VarEnum
1386
- SafeArrayUserDefinedSubType : typing.Type[typing.Any]
1387
- SizeConst : int
1388
- SizeParamIndex : int
1389
- @property
1390
- def TypeId(self) -> typing.Any: ...
1391
- @property
1392
- def Value(self) -> UnmanagedType: ...
1393
-
1394
-
1395
- class MarshalDirectiveException(SystemException):
1396
- @typing.overload
1397
- def __init__(self) -> None: ...
1398
- @typing.overload
1399
- def __init__(self, message: str) -> None: ...
1400
- @typing.overload
1401
- def __init__(self, message: str, inner: Exception) -> None: ...
1402
- @property
1403
- def Data(self) -> IDictionary: ...
1404
- @property
1405
- def HelpLink(self) -> str: ...
1406
- @HelpLink.setter
1407
- def HelpLink(self, value: str) -> str: ...
1408
- @property
1409
- def HResult(self) -> int: ...
1410
- @HResult.setter
1411
- def HResult(self, value: int) -> int: ...
1412
- @property
1413
- def InnerException(self) -> Exception: ...
1414
- @property
1415
- def Message(self) -> str: ...
1416
- @property
1417
- def Source(self) -> str: ...
1418
- @Source.setter
1419
- def Source(self, value: str) -> str: ...
1420
- @property
1421
- def StackTrace(self) -> str: ...
1422
- @property
1423
- def TargetSite(self) -> MethodBase: ...
1424
-
1425
-
1426
- class MemoryMarshal(abc.ABC):
1427
- @staticmethod
1428
- def TryGetString(memory: ReadOnlyMemory_1[str], text: clr.Reference[str], start: clr.Reference[int], length: clr.Reference[int]) -> bool: ...
1429
- # Skipped AsBytes due to it being static, abstract and generic.
1430
-
1431
- AsBytes : AsBytes_MethodGroup
1432
- class AsBytes_MethodGroup:
1433
- def __getitem__(self, t:typing.Type[AsBytes_1_T1]) -> AsBytes_1[AsBytes_1_T1]: ...
1434
-
1435
- AsBytes_1_T1 = typing.TypeVar('AsBytes_1_T1')
1436
- class AsBytes_1(typing.Generic[AsBytes_1_T1]):
1437
- AsBytes_1_T = MemoryMarshal.AsBytes_MethodGroup.AsBytes_1_T1
1438
- @typing.overload
1439
- def __call__(self, span: Span_1[AsBytes_1_T]) -> Span_1[int]:...
1440
- @typing.overload
1441
- def __call__(self, span: ReadOnlySpan_1[AsBytes_1_T]) -> ReadOnlySpan_1[int]:...
1442
-
1443
-
1444
- # Skipped AsMemory due to it being static, abstract and generic.
1445
-
1446
- AsMemory : AsMemory_MethodGroup
1447
- class AsMemory_MethodGroup:
1448
- def __getitem__(self, t:typing.Type[AsMemory_1_T1]) -> AsMemory_1[AsMemory_1_T1]: ...
1449
-
1450
- AsMemory_1_T1 = typing.TypeVar('AsMemory_1_T1')
1451
- class AsMemory_1(typing.Generic[AsMemory_1_T1]):
1452
- AsMemory_1_T = MemoryMarshal.AsMemory_MethodGroup.AsMemory_1_T1
1453
- def __call__(self, memory: ReadOnlyMemory_1[AsMemory_1_T]) -> Memory_1[AsMemory_1_T]:...
1454
-
1455
-
1456
- # Skipped AsRef due to it being static, abstract and generic.
1457
-
1458
- AsRef : AsRef_MethodGroup
1459
- class AsRef_MethodGroup:
1460
- def __getitem__(self, t:typing.Type[AsRef_1_T1]) -> AsRef_1[AsRef_1_T1]: ...
1461
-
1462
- AsRef_1_T1 = typing.TypeVar('AsRef_1_T1')
1463
- class AsRef_1(typing.Generic[AsRef_1_T1]):
1464
- AsRef_1_T = MemoryMarshal.AsRef_MethodGroup.AsRef_1_T1
1465
- @typing.overload
1466
- def __call__(self, span: Span_1[int]) -> clr.Reference[AsRef_1_T]:...
1467
- @typing.overload
1468
- def __call__(self, span: ReadOnlySpan_1[int]) -> clr.Reference[AsRef_1_T]:...
1469
-
1470
-
1471
- # Skipped Cast due to it being static, abstract and generic.
1472
-
1473
- Cast : Cast_MethodGroup
1474
- class Cast_MethodGroup:
1475
- def __getitem__(self, t:typing.Tuple[typing.Type[Cast_2_T1], typing.Type[Cast_2_T2]]) -> Cast_2[Cast_2_T1, Cast_2_T2]: ...
1476
-
1477
- Cast_2_T1 = typing.TypeVar('Cast_2_T1')
1478
- Cast_2_T2 = typing.TypeVar('Cast_2_T2')
1479
- class Cast_2(typing.Generic[Cast_2_T1, Cast_2_T2]):
1480
- Cast_2_TFrom = MemoryMarshal.Cast_MethodGroup.Cast_2_T1
1481
- Cast_2_TTo = MemoryMarshal.Cast_MethodGroup.Cast_2_T2
1482
- @typing.overload
1483
- def __call__(self, span: Span_1[Cast_2_TFrom]) -> Span_1[Cast_2_TTo]:...
1484
- @typing.overload
1485
- def __call__(self, span: ReadOnlySpan_1[Cast_2_TFrom]) -> ReadOnlySpan_1[Cast_2_TTo]:...
1486
-
1487
-
1488
- # Skipped CreateFromPinnedArray due to it being static, abstract and generic.
1489
-
1490
- CreateFromPinnedArray : CreateFromPinnedArray_MethodGroup
1491
- class CreateFromPinnedArray_MethodGroup:
1492
- def __getitem__(self, t:typing.Type[CreateFromPinnedArray_1_T1]) -> CreateFromPinnedArray_1[CreateFromPinnedArray_1_T1]: ...
1493
-
1494
- CreateFromPinnedArray_1_T1 = typing.TypeVar('CreateFromPinnedArray_1_T1')
1495
- class CreateFromPinnedArray_1(typing.Generic[CreateFromPinnedArray_1_T1]):
1496
- CreateFromPinnedArray_1_T = MemoryMarshal.CreateFromPinnedArray_MethodGroup.CreateFromPinnedArray_1_T1
1497
- def __call__(self, array: Array_1[CreateFromPinnedArray_1_T], start: int, length: int) -> Memory_1[CreateFromPinnedArray_1_T]:...
1498
-
1499
-
1500
- # Skipped CreateReadOnlySpan due to it being static, abstract and generic.
1501
-
1502
- CreateReadOnlySpan : CreateReadOnlySpan_MethodGroup
1503
- class CreateReadOnlySpan_MethodGroup:
1504
- def __getitem__(self, t:typing.Type[CreateReadOnlySpan_1_T1]) -> CreateReadOnlySpan_1[CreateReadOnlySpan_1_T1]: ...
1505
-
1506
- CreateReadOnlySpan_1_T1 = typing.TypeVar('CreateReadOnlySpan_1_T1')
1507
- class CreateReadOnlySpan_1(typing.Generic[CreateReadOnlySpan_1_T1]):
1508
- CreateReadOnlySpan_1_T = MemoryMarshal.CreateReadOnlySpan_MethodGroup.CreateReadOnlySpan_1_T1
1509
- def __call__(self, reference: clr.Reference[CreateReadOnlySpan_1_T], length: int) -> ReadOnlySpan_1[CreateReadOnlySpan_1_T]:...
1510
-
1511
-
1512
- # Skipped CreateReadOnlySpanFromNullTerminated due to it being static, abstract and generic.
1513
-
1514
- CreateReadOnlySpanFromNullTerminated : CreateReadOnlySpanFromNullTerminated_MethodGroup
1515
- class CreateReadOnlySpanFromNullTerminated_MethodGroup:
1516
- @typing.overload
1517
- def __call__(self, value: clr.Reference[str]) -> ReadOnlySpan_1[str]:...
1518
- @typing.overload
1519
- def __call__(self, value: clr.Reference[int]) -> ReadOnlySpan_1[int]:...
1520
-
1521
- # Skipped CreateSpan due to it being static, abstract and generic.
1522
-
1523
- CreateSpan : CreateSpan_MethodGroup
1524
- class CreateSpan_MethodGroup:
1525
- def __getitem__(self, t:typing.Type[CreateSpan_1_T1]) -> CreateSpan_1[CreateSpan_1_T1]: ...
1526
-
1527
- CreateSpan_1_T1 = typing.TypeVar('CreateSpan_1_T1')
1528
- class CreateSpan_1(typing.Generic[CreateSpan_1_T1]):
1529
- CreateSpan_1_T = MemoryMarshal.CreateSpan_MethodGroup.CreateSpan_1_T1
1530
- def __call__(self, reference: clr.Reference[CreateSpan_1_T], length: int) -> Span_1[CreateSpan_1_T]:...
1531
-
1532
-
1533
- # Skipped GetArrayDataReference due to it being static, abstract and generic.
1534
-
1535
- GetArrayDataReference : GetArrayDataReference_MethodGroup
1536
- class GetArrayDataReference_MethodGroup:
1537
- def __getitem__(self, t:typing.Type[GetArrayDataReference_1_T1]) -> GetArrayDataReference_1[GetArrayDataReference_1_T1]: ...
1538
-
1539
- GetArrayDataReference_1_T1 = typing.TypeVar('GetArrayDataReference_1_T1')
1540
- class GetArrayDataReference_1(typing.Generic[GetArrayDataReference_1_T1]):
1541
- GetArrayDataReference_1_T = MemoryMarshal.GetArrayDataReference_MethodGroup.GetArrayDataReference_1_T1
1542
- def __call__(self, array: Array_1[GetArrayDataReference_1_T]) -> clr.Reference[GetArrayDataReference_1_T]:...
1543
-
1544
- def __call__(self, array: Array) -> clr.Reference[int]:...
1545
-
1546
- # Skipped GetReference due to it being static, abstract and generic.
1547
-
1548
- GetReference : GetReference_MethodGroup
1549
- class GetReference_MethodGroup:
1550
- def __getitem__(self, t:typing.Type[GetReference_1_T1]) -> GetReference_1[GetReference_1_T1]: ...
1551
-
1552
- GetReference_1_T1 = typing.TypeVar('GetReference_1_T1')
1553
- class GetReference_1(typing.Generic[GetReference_1_T1]):
1554
- GetReference_1_T = MemoryMarshal.GetReference_MethodGroup.GetReference_1_T1
1555
- @typing.overload
1556
- def __call__(self, span: Span_1[GetReference_1_T]) -> clr.Reference[GetReference_1_T]:...
1557
- @typing.overload
1558
- def __call__(self, span: ReadOnlySpan_1[GetReference_1_T]) -> clr.Reference[GetReference_1_T]:...
1559
-
1560
-
1561
- # Skipped Read due to it being static, abstract and generic.
1562
-
1563
- Read : Read_MethodGroup
1564
- class Read_MethodGroup:
1565
- def __getitem__(self, t:typing.Type[Read_1_T1]) -> Read_1[Read_1_T1]: ...
1566
-
1567
- Read_1_T1 = typing.TypeVar('Read_1_T1')
1568
- class Read_1(typing.Generic[Read_1_T1]):
1569
- Read_1_T = MemoryMarshal.Read_MethodGroup.Read_1_T1
1570
- def __call__(self, source: ReadOnlySpan_1[int]) -> Read_1_T:...
1571
-
1572
-
1573
- # Skipped ToEnumerable due to it being static, abstract and generic.
1574
-
1575
- ToEnumerable : ToEnumerable_MethodGroup
1576
- class ToEnumerable_MethodGroup:
1577
- def __getitem__(self, t:typing.Type[ToEnumerable_1_T1]) -> ToEnumerable_1[ToEnumerable_1_T1]: ...
1578
-
1579
- ToEnumerable_1_T1 = typing.TypeVar('ToEnumerable_1_T1')
1580
- class ToEnumerable_1(typing.Generic[ToEnumerable_1_T1]):
1581
- ToEnumerable_1_T = MemoryMarshal.ToEnumerable_MethodGroup.ToEnumerable_1_T1
1582
- def __call__(self, memory: ReadOnlyMemory_1[ToEnumerable_1_T]) -> IEnumerable_1[ToEnumerable_1_T]:...
1583
-
1584
-
1585
- # Skipped TryGetArray due to it being static, abstract and generic.
1586
-
1587
- TryGetArray : TryGetArray_MethodGroup
1588
- class TryGetArray_MethodGroup:
1589
- def __getitem__(self, t:typing.Type[TryGetArray_1_T1]) -> TryGetArray_1[TryGetArray_1_T1]: ...
1590
-
1591
- TryGetArray_1_T1 = typing.TypeVar('TryGetArray_1_T1')
1592
- class TryGetArray_1(typing.Generic[TryGetArray_1_T1]):
1593
- TryGetArray_1_T = MemoryMarshal.TryGetArray_MethodGroup.TryGetArray_1_T1
1594
- def __call__(self, memory: ReadOnlyMemory_1[TryGetArray_1_T], segment: clr.Reference[ArraySegment_1[TryGetArray_1_T]]) -> bool:...
1595
-
1596
-
1597
- # Skipped TryGetMemoryManager due to it being static, abstract and generic.
1598
-
1599
- TryGetMemoryManager : TryGetMemoryManager_MethodGroup
1600
- class TryGetMemoryManager_MethodGroup:
1601
- def __getitem__(self, t:typing.Tuple[typing.Type[TryGetMemoryManager_2_T1], typing.Type[TryGetMemoryManager_2_T2]]) -> TryGetMemoryManager_2[TryGetMemoryManager_2_T1, TryGetMemoryManager_2_T2]: ...
1602
-
1603
- TryGetMemoryManager_2_T1 = typing.TypeVar('TryGetMemoryManager_2_T1')
1604
- TryGetMemoryManager_2_T2 = typing.TypeVar('TryGetMemoryManager_2_T2')
1605
- class TryGetMemoryManager_2(typing.Generic[TryGetMemoryManager_2_T1, TryGetMemoryManager_2_T2]):
1606
- TryGetMemoryManager_2_T = MemoryMarshal.TryGetMemoryManager_MethodGroup.TryGetMemoryManager_2_T1
1607
- TryGetMemoryManager_2_TManager = MemoryMarshal.TryGetMemoryManager_MethodGroup.TryGetMemoryManager_2_T2
1608
- @typing.overload
1609
- def __call__(self, memory: ReadOnlyMemory_1[TryGetMemoryManager_2_T], manager: clr.Reference[TryGetMemoryManager_2_TManager]) -> bool:...
1610
- @typing.overload
1611
- def __call__(self, memory: ReadOnlyMemory_1[TryGetMemoryManager_2_T], manager: clr.Reference[TryGetMemoryManager_2_TManager], start: clr.Reference[int], length: clr.Reference[int]) -> bool:...
1612
-
1613
-
1614
- # Skipped TryRead due to it being static, abstract and generic.
1615
-
1616
- TryRead : TryRead_MethodGroup
1617
- class TryRead_MethodGroup:
1618
- def __getitem__(self, t:typing.Type[TryRead_1_T1]) -> TryRead_1[TryRead_1_T1]: ...
1619
-
1620
- TryRead_1_T1 = typing.TypeVar('TryRead_1_T1')
1621
- class TryRead_1(typing.Generic[TryRead_1_T1]):
1622
- TryRead_1_T = MemoryMarshal.TryRead_MethodGroup.TryRead_1_T1
1623
- def __call__(self, source: ReadOnlySpan_1[int], value: clr.Reference[TryRead_1_T]) -> bool:...
1624
-
1625
-
1626
- # Skipped TryWrite due to it being static, abstract and generic.
1627
-
1628
- TryWrite : TryWrite_MethodGroup
1629
- class TryWrite_MethodGroup:
1630
- def __getitem__(self, t:typing.Type[TryWrite_1_T1]) -> TryWrite_1[TryWrite_1_T1]: ...
1631
-
1632
- TryWrite_1_T1 = typing.TypeVar('TryWrite_1_T1')
1633
- class TryWrite_1(typing.Generic[TryWrite_1_T1]):
1634
- TryWrite_1_T = MemoryMarshal.TryWrite_MethodGroup.TryWrite_1_T1
1635
- def __call__(self, destination: Span_1[int], value: clr.Reference[TryWrite_1_T]) -> bool:...
1636
-
1637
-
1638
- # Skipped Write due to it being static, abstract and generic.
1639
-
1640
- Write : Write_MethodGroup
1641
- class Write_MethodGroup:
1642
- def __getitem__(self, t:typing.Type[Write_1_T1]) -> Write_1[Write_1_T1]: ...
1643
-
1644
- Write_1_T1 = typing.TypeVar('Write_1_T1')
1645
- class Write_1(typing.Generic[Write_1_T1]):
1646
- Write_1_T = MemoryMarshal.Write_MethodGroup.Write_1_T1
1647
- def __call__(self, destination: Span_1[int], value: clr.Reference[Write_1_T]) -> None:...
1648
-
1649
-
1650
-
1651
-
1652
- class NativeLibrary(abc.ABC):
1653
- @staticmethod
1654
- def Free(handle: int) -> None: ...
1655
- @staticmethod
1656
- def GetExport(handle: int, name: str) -> int: ...
1657
- @staticmethod
1658
- def GetMainProgramHandle() -> int: ...
1659
- @staticmethod
1660
- def SetDllImportResolver(assembly: Assembly, resolver: DllImportResolver) -> None: ...
1661
- @staticmethod
1662
- def TryGetExport(handle: int, name: str, address: clr.Reference[int]) -> bool: ...
1663
- # Skipped Load due to it being static, abstract and generic.
1664
-
1665
- Load : Load_MethodGroup
1666
- class Load_MethodGroup:
1667
- @typing.overload
1668
- def __call__(self, libraryPath: str) -> int:...
1669
- @typing.overload
1670
- def __call__(self, libraryName: str, assembly: Assembly, searchPath: typing.Optional[DllImportSearchPath]) -> int:...
1671
-
1672
- # Skipped TryLoad due to it being static, abstract and generic.
1673
-
1674
- TryLoad : TryLoad_MethodGroup
1675
- class TryLoad_MethodGroup:
1676
- @typing.overload
1677
- def __call__(self, libraryPath: str, handle: clr.Reference[int]) -> bool:...
1678
- @typing.overload
1679
- def __call__(self, libraryName: str, assembly: Assembly, searchPath: typing.Optional[DllImportSearchPath], handle: clr.Reference[int]) -> bool:...
1680
-
1681
-
1682
-
1683
- class NativeMemory(abc.ABC):
1684
- @staticmethod
1685
- def AlignedAlloc(byteCount: UIntPtr, alignment: UIntPtr) -> clr.Reference[None]: ...
1686
- @staticmethod
1687
- def AlignedFree(ptr: clr.Reference[None]) -> None: ...
1688
- @staticmethod
1689
- def AlignedRealloc(ptr: clr.Reference[None], byteCount: UIntPtr, alignment: UIntPtr) -> clr.Reference[None]: ...
1690
- @staticmethod
1691
- def Clear(ptr: clr.Reference[None], byteCount: UIntPtr) -> None: ...
1692
- @staticmethod
1693
- def Copy(source: clr.Reference[None], destination: clr.Reference[None], byteCount: UIntPtr) -> None: ...
1694
- @staticmethod
1695
- def Fill(ptr: clr.Reference[None], byteCount: UIntPtr, value: int) -> None: ...
1696
- @staticmethod
1697
- def Free(ptr: clr.Reference[None]) -> None: ...
1698
- @staticmethod
1699
- def Realloc(ptr: clr.Reference[None], byteCount: UIntPtr) -> clr.Reference[None]: ...
1700
- # Skipped Alloc due to it being static, abstract and generic.
1701
-
1702
- Alloc : Alloc_MethodGroup
1703
- class Alloc_MethodGroup:
1704
- @typing.overload
1705
- def __call__(self, byteCount: UIntPtr) -> clr.Reference[None]:...
1706
- @typing.overload
1707
- def __call__(self, elementCount: UIntPtr, elementSize: UIntPtr) -> clr.Reference[None]:...
1708
-
1709
- # Skipped AllocZeroed due to it being static, abstract and generic.
1710
-
1711
- AllocZeroed : AllocZeroed_MethodGroup
1712
- class AllocZeroed_MethodGroup:
1713
- @typing.overload
1714
- def __call__(self, byteCount: UIntPtr) -> clr.Reference[None]:...
1715
- @typing.overload
1716
- def __call__(self, elementCount: UIntPtr, elementSize: UIntPtr) -> clr.Reference[None]:...
1717
-
1718
-
1719
-
1720
- class NFloat(IBinaryFloatingPointIeee754_1[NFloat], IMinMaxValue_1[NFloat]):
1721
- # Constructor .ctor(value : Double) was skipped since it collides with above method
1722
- def __init__(self, value: float) -> None: ...
1723
- @classmethod
1724
- @property
1725
- def E(cls) -> NFloat: ...
1726
- @classmethod
1727
- @property
1728
- def Epsilon(cls) -> NFloat: ...
1729
- @classmethod
1730
- @property
1731
- def MaxValue(cls) -> NFloat: ...
1732
- @classmethod
1733
- @property
1734
- def MinValue(cls) -> NFloat: ...
1735
- @classmethod
1736
- @property
1737
- def NaN(cls) -> NFloat: ...
1738
- @classmethod
1739
- @property
1740
- def NegativeInfinity(cls) -> NFloat: ...
1741
- @classmethod
1742
- @property
1743
- def NegativeZero(cls) -> NFloat: ...
1744
- @classmethod
1745
- @property
1746
- def Pi(cls) -> NFloat: ...
1747
- @classmethod
1748
- @property
1749
- def PositiveInfinity(cls) -> NFloat: ...
1750
- @classmethod
1751
- @property
1752
- def Size(cls) -> int: ...
1753
- @classmethod
1754
- @property
1755
- def Tau(cls) -> NFloat: ...
1756
- @property
1757
- def Value(self) -> float: ...
1758
- @staticmethod
1759
- def Abs(value: NFloat) -> NFloat: ...
1760
- @staticmethod
1761
- def Acos(x: NFloat) -> NFloat: ...
1762
- @staticmethod
1763
- def Acosh(x: NFloat) -> NFloat: ...
1764
- @staticmethod
1765
- def AcosPi(x: NFloat) -> NFloat: ...
1766
- @staticmethod
1767
- def Asin(x: NFloat) -> NFloat: ...
1768
- @staticmethod
1769
- def Asinh(x: NFloat) -> NFloat: ...
1770
- @staticmethod
1771
- def AsinPi(x: NFloat) -> NFloat: ...
1772
- @staticmethod
1773
- def Atan(x: NFloat) -> NFloat: ...
1774
- @staticmethod
1775
- def Atan2(y: NFloat, x: NFloat) -> NFloat: ...
1776
- @staticmethod
1777
- def Atan2Pi(y: NFloat, x: NFloat) -> NFloat: ...
1778
- @staticmethod
1779
- def Atanh(x: NFloat) -> NFloat: ...
1780
- @staticmethod
1781
- def AtanPi(x: NFloat) -> NFloat: ...
1782
- @staticmethod
1783
- def BitDecrement(x: NFloat) -> NFloat: ...
1784
- @staticmethod
1785
- def BitIncrement(x: NFloat) -> NFloat: ...
1786
- @staticmethod
1787
- def Cbrt(x: NFloat) -> NFloat: ...
1788
- @staticmethod
1789
- def Ceiling(x: NFloat) -> NFloat: ...
1790
- @staticmethod
1791
- def Clamp(value: NFloat, min: NFloat, max: NFloat) -> NFloat: ...
1792
- @staticmethod
1793
- def CopySign(value: NFloat, sign: NFloat) -> NFloat: ...
1794
- @staticmethod
1795
- def Cos(x: NFloat) -> NFloat: ...
1796
- @staticmethod
1797
- def Cosh(x: NFloat) -> NFloat: ...
1798
- @staticmethod
1799
- def CosPi(x: NFloat) -> NFloat: ...
1800
- @staticmethod
1801
- def DegreesToRadians(degrees: NFloat) -> NFloat: ...
1802
- @staticmethod
1803
- def Exp(x: NFloat) -> NFloat: ...
1804
- @staticmethod
1805
- def Exp10(x: NFloat) -> NFloat: ...
1806
- @staticmethod
1807
- def Exp10M1(x: NFloat) -> NFloat: ...
1808
- @staticmethod
1809
- def Exp2(x: NFloat) -> NFloat: ...
1810
- @staticmethod
1811
- def Exp2M1(x: NFloat) -> NFloat: ...
1812
- @staticmethod
1813
- def ExpM1(x: NFloat) -> NFloat: ...
1814
- @staticmethod
1815
- def Floor(x: NFloat) -> NFloat: ...
1816
- @staticmethod
1817
- def FusedMultiplyAdd(left: NFloat, right: NFloat, addend: NFloat) -> NFloat: ...
1818
- def GetHashCode(self) -> int: ...
1819
- @staticmethod
1820
- def Hypot(x: NFloat, y: NFloat) -> NFloat: ...
1821
- @staticmethod
1822
- def Ieee754Remainder(left: NFloat, right: NFloat) -> NFloat: ...
1823
- @staticmethod
1824
- def ILogB(x: NFloat) -> int: ...
1825
- @staticmethod
1826
- def IsEvenInteger(value: NFloat) -> bool: ...
1827
- @staticmethod
1828
- def IsFinite(value: NFloat) -> bool: ...
1829
- @staticmethod
1830
- def IsInfinity(value: NFloat) -> bool: ...
1831
- @staticmethod
1832
- def IsInteger(value: NFloat) -> bool: ...
1833
- @staticmethod
1834
- def IsNaN(value: NFloat) -> bool: ...
1835
- @staticmethod
1836
- def IsNegative(value: NFloat) -> bool: ...
1837
- @staticmethod
1838
- def IsNegativeInfinity(value: NFloat) -> bool: ...
1839
- @staticmethod
1840
- def IsNormal(value: NFloat) -> bool: ...
1841
- @staticmethod
1842
- def IsOddInteger(value: NFloat) -> bool: ...
1843
- @staticmethod
1844
- def IsPositive(value: NFloat) -> bool: ...
1845
- @staticmethod
1846
- def IsPositiveInfinity(value: NFloat) -> bool: ...
1847
- @staticmethod
1848
- def IsPow2(value: NFloat) -> bool: ...
1849
- @staticmethod
1850
- def IsRealNumber(value: NFloat) -> bool: ...
1851
- @staticmethod
1852
- def IsSubnormal(value: NFloat) -> bool: ...
1853
- @staticmethod
1854
- def Lerp(value1: NFloat, value2: NFloat, amount: NFloat) -> NFloat: ...
1855
- @staticmethod
1856
- def Log10(x: NFloat) -> NFloat: ...
1857
- @staticmethod
1858
- def Log10P1(x: NFloat) -> NFloat: ...
1859
- @staticmethod
1860
- def Log2(value: NFloat) -> NFloat: ...
1861
- @staticmethod
1862
- def Log2P1(x: NFloat) -> NFloat: ...
1863
- @staticmethod
1864
- def LogP1(x: NFloat) -> NFloat: ...
1865
- @staticmethod
1866
- def Max(x: NFloat, y: NFloat) -> NFloat: ...
1867
- @staticmethod
1868
- def MaxMagnitude(x: NFloat, y: NFloat) -> NFloat: ...
1869
- @staticmethod
1870
- def MaxMagnitudeNumber(x: NFloat, y: NFloat) -> NFloat: ...
1871
- @staticmethod
1872
- def MaxNumber(x: NFloat, y: NFloat) -> NFloat: ...
1873
- @staticmethod
1874
- def Min(x: NFloat, y: NFloat) -> NFloat: ...
1875
- @staticmethod
1876
- def MinMagnitude(x: NFloat, y: NFloat) -> NFloat: ...
1877
- @staticmethod
1878
- def MinMagnitudeNumber(x: NFloat, y: NFloat) -> NFloat: ...
1879
- @staticmethod
1880
- def MinNumber(x: NFloat, y: NFloat) -> NFloat: ...
1881
- def __add__(self, left: NFloat, right: NFloat) -> NFloat: ...
1882
- # Operator not supported op_CheckedExplicit(value: NFloat)
1883
- # Operator not supported op_CheckedExplicit(value: NFloat)
1884
- # Operator not supported op_CheckedExplicit(value: NFloat)
1885
- # Operator not supported op_CheckedExplicit(value: NFloat)
1886
- # Operator not supported op_CheckedExplicit(value: NFloat)
1887
- # Operator not supported op_CheckedExplicit(value: NFloat)
1888
- # Operator not supported op_CheckedExplicit(value: NFloat)
1889
- # Operator not supported op_CheckedExplicit(value: NFloat)
1890
- # Operator not supported op_CheckedExplicit(value: NFloat)
1891
- # Operator not supported op_CheckedExplicit(value: NFloat)
1892
- # Operator not supported op_CheckedExplicit(value: NFloat)
1893
- # Operator not supported op_CheckedExplicit(value: NFloat)
1894
- # Operator not supported op_CheckedExplicit(value: NFloat)
1895
- # Operator not supported op_Decrement(value: NFloat)
1896
- def __truediv__(self, left: NFloat, right: NFloat) -> NFloat: ...
1897
- def __eq__(self, left: NFloat, right: NFloat) -> bool: ...
1898
- # Operator not supported op_Explicit(value: Double)
1899
- # Operator not supported op_Explicit(value: NFloat)
1900
- # Operator not supported op_Explicit(value: NFloat)
1901
- # Operator not supported op_Explicit(value: NFloat)
1902
- # Operator not supported op_Explicit(value: NFloat)
1903
- # Operator not supported op_Explicit(value: NFloat)
1904
- # Operator not supported op_Explicit(value: NFloat)
1905
- # Operator not supported op_Explicit(value: NFloat)
1906
- # Operator not supported op_Explicit(value: NFloat)
1907
- # Operator not supported op_Explicit(value: NFloat)
1908
- # Operator not supported op_Explicit(value: NFloat)
1909
- # Operator not supported op_Explicit(value: NFloat)
1910
- # Operator not supported op_Explicit(value: NFloat)
1911
- # Operator not supported op_Explicit(value: NFloat)
1912
- # Operator not supported op_Explicit(value: NFloat)
1913
- # Operator not supported op_Explicit(value: NFloat)
1914
- # Operator not supported op_Explicit(value: NFloat)
1915
- # Operator not supported op_Explicit(value: Int128)
1916
- # Operator not supported op_Explicit(value: UInt128)
1917
- # Operator not supported op_Explicit(value: Decimal)
1918
- def __gt__(self, left: NFloat, right: NFloat) -> bool: ...
1919
- def __ge__(self, left: NFloat, right: NFloat) -> bool: ...
1920
- # Operator not supported op_Implicit(value: Half)
1921
- # Operator not supported op_Implicit(value: Single)
1922
- # Operator not supported op_Implicit(value: Byte)
1923
- # Operator not supported op_Implicit(value: Char)
1924
- # Operator not supported op_Implicit(value: Int16)
1925
- # Operator not supported op_Implicit(value: Int32)
1926
- # Operator not supported op_Implicit(value: Int64)
1927
- # Operator not supported op_Implicit(value: SByte)
1928
- # Operator not supported op_Implicit(value: UInt16)
1929
- # Operator not supported op_Implicit(value: UInt32)
1930
- # Operator not supported op_Implicit(value: UInt64)
1931
- # Operator not supported op_Implicit(value: NFloat)
1932
- # Operator not supported op_Implicit(value: IntPtr)
1933
- # Operator not supported op_Implicit(value: UIntPtr)
1934
- # Operator not supported op_Increment(value: NFloat)
1935
- def __ne__(self, left: NFloat, right: NFloat) -> bool: ...
1936
- def __lt__(self, left: NFloat, right: NFloat) -> bool: ...
1937
- def __le__(self, left: NFloat, right: NFloat) -> bool: ...
1938
- def __mod__(self, left: NFloat, right: NFloat) -> NFloat: ...
1939
- def __mul__(self, left: NFloat, right: NFloat) -> NFloat: ...
1940
- def __sub__(self, left: NFloat, right: NFloat) -> NFloat: ...
1941
- def __neg__(self, value: NFloat) -> NFloat: ...
1942
- def __pos__(self, value: NFloat) -> NFloat: ...
1943
- @staticmethod
1944
- def Pow(x: NFloat, y: NFloat) -> NFloat: ...
1945
- @staticmethod
1946
- def RadiansToDegrees(radians: NFloat) -> NFloat: ...
1947
- @staticmethod
1948
- def ReciprocalEstimate(x: NFloat) -> NFloat: ...
1949
- @staticmethod
1950
- def ReciprocalSqrtEstimate(x: NFloat) -> NFloat: ...
1951
- @staticmethod
1952
- def RootN(x: NFloat, n: int) -> NFloat: ...
1953
- @staticmethod
1954
- def ScaleB(x: NFloat, n: int) -> NFloat: ...
1955
- @staticmethod
1956
- def Sign(value: NFloat) -> int: ...
1957
- @staticmethod
1958
- def Sin(x: NFloat) -> NFloat: ...
1959
- @staticmethod
1960
- def SinCos(x: NFloat) -> ValueTuple_2[NFloat, NFloat]: ...
1961
- @staticmethod
1962
- def SinCosPi(x: NFloat) -> ValueTuple_2[NFloat, NFloat]: ...
1963
- @staticmethod
1964
- def Sinh(x: NFloat) -> NFloat: ...
1965
- @staticmethod
1966
- def SinPi(x: NFloat) -> NFloat: ...
1967
- @staticmethod
1968
- def Sqrt(x: NFloat) -> NFloat: ...
1969
- @staticmethod
1970
- def Tan(x: NFloat) -> NFloat: ...
1971
- @staticmethod
1972
- def Tanh(x: NFloat) -> NFloat: ...
1973
- @staticmethod
1974
- def TanPi(x: NFloat) -> NFloat: ...
1975
- @staticmethod
1976
- def Truncate(x: NFloat) -> NFloat: ...
1977
- # Skipped CompareTo due to it being static, abstract and generic.
1978
-
1979
- CompareTo : CompareTo_MethodGroup
1980
- class CompareTo_MethodGroup:
1981
- @typing.overload
1982
- def __call__(self, other: NFloat) -> int:...
1983
- @typing.overload
1984
- def __call__(self, obj: typing.Any) -> int:...
1985
-
1986
- # Skipped CreateChecked due to it being static, abstract and generic.
1987
-
1988
- CreateChecked : CreateChecked_MethodGroup
1989
- class CreateChecked_MethodGroup:
1990
- def __getitem__(self, t:typing.Type[CreateChecked_1_T1]) -> CreateChecked_1[CreateChecked_1_T1]: ...
1991
-
1992
- CreateChecked_1_T1 = typing.TypeVar('CreateChecked_1_T1')
1993
- class CreateChecked_1(typing.Generic[CreateChecked_1_T1]):
1994
- CreateChecked_1_TOther = NFloat.CreateChecked_MethodGroup.CreateChecked_1_T1
1995
- def __call__(self, value: CreateChecked_1_TOther) -> NFloat:...
1996
-
1997
-
1998
- # Skipped CreateSaturating due to it being static, abstract and generic.
1999
-
2000
- CreateSaturating : CreateSaturating_MethodGroup
2001
- class CreateSaturating_MethodGroup:
2002
- def __getitem__(self, t:typing.Type[CreateSaturating_1_T1]) -> CreateSaturating_1[CreateSaturating_1_T1]: ...
2003
-
2004
- CreateSaturating_1_T1 = typing.TypeVar('CreateSaturating_1_T1')
2005
- class CreateSaturating_1(typing.Generic[CreateSaturating_1_T1]):
2006
- CreateSaturating_1_TOther = NFloat.CreateSaturating_MethodGroup.CreateSaturating_1_T1
2007
- def __call__(self, value: CreateSaturating_1_TOther) -> NFloat:...
2008
-
2009
-
2010
- # Skipped CreateTruncating due to it being static, abstract and generic.
2011
-
2012
- CreateTruncating : CreateTruncating_MethodGroup
2013
- class CreateTruncating_MethodGroup:
2014
- def __getitem__(self, t:typing.Type[CreateTruncating_1_T1]) -> CreateTruncating_1[CreateTruncating_1_T1]: ...
2015
-
2016
- CreateTruncating_1_T1 = typing.TypeVar('CreateTruncating_1_T1')
2017
- class CreateTruncating_1(typing.Generic[CreateTruncating_1_T1]):
2018
- CreateTruncating_1_TOther = NFloat.CreateTruncating_MethodGroup.CreateTruncating_1_T1
2019
- def __call__(self, value: CreateTruncating_1_TOther) -> NFloat:...
2020
-
2021
-
2022
- # Skipped Equals due to it being static, abstract and generic.
2023
-
2024
- Equals : Equals_MethodGroup
2025
- class Equals_MethodGroup:
2026
- @typing.overload
2027
- def __call__(self, other: NFloat) -> bool:...
2028
- @typing.overload
2029
- def __call__(self, obj: typing.Any) -> bool:...
2030
-
2031
- # Skipped Log due to it being static, abstract and generic.
2032
-
2033
- Log : Log_MethodGroup
2034
- class Log_MethodGroup:
2035
- @typing.overload
2036
- def __call__(self, x: NFloat) -> NFloat:...
2037
- @typing.overload
2038
- def __call__(self, x: NFloat, newBase: NFloat) -> NFloat:...
2039
-
2040
- # Skipped Parse due to it being static, abstract and generic.
2041
-
2042
- Parse : Parse_MethodGroup
2043
- class Parse_MethodGroup:
2044
- @typing.overload
2045
- def __call__(self, s: str) -> NFloat:...
2046
- @typing.overload
2047
- def __call__(self, s: ReadOnlySpan_1[str], provider: IFormatProvider) -> NFloat:...
2048
- @typing.overload
2049
- def __call__(self, utf8Text: ReadOnlySpan_1[int], provider: IFormatProvider) -> NFloat:...
2050
- @typing.overload
2051
- def __call__(self, s: str, style: NumberStyles) -> NFloat:...
2052
- @typing.overload
2053
- def __call__(self, s: str, provider: IFormatProvider) -> NFloat:...
2054
- @typing.overload
2055
- def __call__(self, s: ReadOnlySpan_1[str], style: NumberStyles = ..., provider: IFormatProvider = ...) -> NFloat:...
2056
- @typing.overload
2057
- def __call__(self, utf8Text: ReadOnlySpan_1[int], style: NumberStyles = ..., provider: IFormatProvider = ...) -> NFloat:...
2058
- @typing.overload
2059
- def __call__(self, s: str, style: NumberStyles, provider: IFormatProvider) -> NFloat:...
2060
-
2061
- # Skipped Round due to it being static, abstract and generic.
2062
-
2063
- Round : Round_MethodGroup
2064
- class Round_MethodGroup:
2065
- @typing.overload
2066
- def __call__(self, x: NFloat) -> NFloat:...
2067
- @typing.overload
2068
- def __call__(self, x: NFloat, digits: int) -> NFloat:...
2069
- @typing.overload
2070
- def __call__(self, x: NFloat, mode: MidpointRounding) -> NFloat:...
2071
- @typing.overload
2072
- def __call__(self, x: NFloat, digits: int, mode: MidpointRounding) -> NFloat:...
2073
-
2074
- # Skipped ToString due to it being static, abstract and generic.
2075
-
2076
- ToString : ToString_MethodGroup
2077
- class ToString_MethodGroup:
2078
- @typing.overload
2079
- def __call__(self) -> str:...
2080
- @typing.overload
2081
- def __call__(self, format: str) -> str:...
2082
- @typing.overload
2083
- def __call__(self, provider: IFormatProvider) -> str:...
2084
- @typing.overload
2085
- def __call__(self, format: str, provider: IFormatProvider) -> str:...
2086
-
2087
- # Skipped TryFormat due to it being static, abstract and generic.
2088
-
2089
- TryFormat : TryFormat_MethodGroup
2090
- class TryFormat_MethodGroup:
2091
- @typing.overload
2092
- def __call__(self, destination: Span_1[str], charsWritten: clr.Reference[int], format: ReadOnlySpan_1[str] = ..., provider: IFormatProvider = ...) -> bool:...
2093
- @typing.overload
2094
- def __call__(self, utf8Destination: Span_1[int], bytesWritten: clr.Reference[int], format: ReadOnlySpan_1[str] = ..., provider: IFormatProvider = ...) -> bool:...
2095
-
2096
- # Skipped TryParse due to it being static, abstract and generic.
2097
-
2098
- TryParse : TryParse_MethodGroup
2099
- class TryParse_MethodGroup:
2100
- @typing.overload
2101
- def __call__(self, s: ReadOnlySpan_1[str], result: clr.Reference[NFloat]) -> bool:...
2102
- @typing.overload
2103
- def __call__(self, utf8Text: ReadOnlySpan_1[int], result: clr.Reference[NFloat]) -> bool:...
2104
- @typing.overload
2105
- def __call__(self, s: str, result: clr.Reference[NFloat]) -> bool:...
2106
- @typing.overload
2107
- def __call__(self, s: ReadOnlySpan_1[str], provider: IFormatProvider, result: clr.Reference[NFloat]) -> bool:...
2108
- @typing.overload
2109
- def __call__(self, utf8Text: ReadOnlySpan_1[int], provider: IFormatProvider, result: clr.Reference[NFloat]) -> bool:...
2110
- @typing.overload
2111
- def __call__(self, s: str, provider: IFormatProvider, result: clr.Reference[NFloat]) -> bool:...
2112
- @typing.overload
2113
- def __call__(self, s: ReadOnlySpan_1[str], style: NumberStyles, provider: IFormatProvider, result: clr.Reference[NFloat]) -> bool:...
2114
- @typing.overload
2115
- def __call__(self, utf8Text: ReadOnlySpan_1[int], style: NumberStyles, provider: IFormatProvider, result: clr.Reference[NFloat]) -> bool:...
2116
- @typing.overload
2117
- def __call__(self, s: str, style: NumberStyles, provider: IFormatProvider, result: clr.Reference[NFloat]) -> bool:...
2118
-
2119
-
2120
-
2121
- class OptionalAttribute(Attribute):
2122
- def __init__(self) -> None: ...
2123
- @property
2124
- def TypeId(self) -> typing.Any: ...
2125
-
2126
-
2127
- class OSPlatform(IEquatable_1[OSPlatform]):
2128
- @classmethod
2129
- @property
2130
- def FreeBSD(cls) -> OSPlatform: ...
2131
- @classmethod
2132
- @property
2133
- def Linux(cls) -> OSPlatform: ...
2134
- @classmethod
2135
- @property
2136
- def OSX(cls) -> OSPlatform: ...
2137
- @classmethod
2138
- @property
2139
- def Windows(cls) -> OSPlatform: ...
2140
- @staticmethod
2141
- def Create(osPlatform: str) -> OSPlatform: ...
2142
- def GetHashCode(self) -> int: ...
2143
- def __eq__(self, left: OSPlatform, right: OSPlatform) -> bool: ...
2144
- def __ne__(self, left: OSPlatform, right: OSPlatform) -> bool: ...
2145
- def ToString(self) -> str: ...
2146
- # Skipped Equals due to it being static, abstract and generic.
2147
-
2148
- Equals : Equals_MethodGroup
2149
- class Equals_MethodGroup:
2150
- @typing.overload
2151
- def __call__(self, other: OSPlatform) -> bool:...
2152
- @typing.overload
2153
- def __call__(self, obj: typing.Any) -> bool:...
2154
-
2155
-
2156
-
2157
- class OutAttribute(Attribute):
2158
- def __init__(self) -> None: ...
2159
- @property
2160
- def TypeId(self) -> typing.Any: ...
2161
-
2162
-
2163
- class PosixSignal(typing.SupportsInt):
2164
- @typing.overload
2165
- def __init__(self, value : int) -> None: ...
2166
- @typing.overload
2167
- def __init__(self, value : int, force_if_true: bool) -> None: ...
2168
- def __int__(self) -> int: ...
2169
-
2170
- # Values:
2171
- SIGTSTP : PosixSignal # -10
2172
- SIGTTOU : PosixSignal # -9
2173
- SIGTTIN : PosixSignal # -8
2174
- SIGWINCH : PosixSignal # -7
2175
- SIGCONT : PosixSignal # -6
2176
- SIGCHLD : PosixSignal # -5
2177
- SIGTERM : PosixSignal # -4
2178
- SIGQUIT : PosixSignal # -3
2179
- SIGINT : PosixSignal # -2
2180
- SIGHUP : PosixSignal # -1
2181
-
2182
-
2183
- class PosixSignalContext:
2184
- def __init__(self, signal: PosixSignal) -> None: ...
2185
- @property
2186
- def Cancel(self) -> bool: ...
2187
- @Cancel.setter
2188
- def Cancel(self, value: bool) -> bool: ...
2189
- @property
2190
- def Signal(self) -> PosixSignal: ...
2191
- @Signal.setter
2192
- def Signal(self, value: PosixSignal) -> PosixSignal: ...
2193
-
2194
-
2195
- class PosixSignalRegistration(IDisposable):
2196
- @staticmethod
2197
- def Create(signal: PosixSignal, handler: Action_1[PosixSignalContext]) -> PosixSignalRegistration: ...
2198
- def Dispose(self) -> None: ...
2199
-
2200
-
2201
- class PreserveSigAttribute(Attribute):
2202
- def __init__(self) -> None: ...
2203
- @property
2204
- def TypeId(self) -> typing.Any: ...
2205
-
2206
-
2207
- class ProgIdAttribute(Attribute):
2208
- def __init__(self, progId: str) -> None: ...
2209
- @property
2210
- def TypeId(self) -> typing.Any: ...
2211
- @property
2212
- def Value(self) -> str: ...
2213
-
2214
-
2215
- class RuntimeInformation(abc.ABC):
2216
- @classmethod
2217
- @property
2218
- def FrameworkDescription(cls) -> str: ...
2219
- @classmethod
2220
- @property
2221
- def OSArchitecture(cls) -> Architecture: ...
2222
- @classmethod
2223
- @property
2224
- def OSDescription(cls) -> str: ...
2225
- @classmethod
2226
- @property
2227
- def ProcessArchitecture(cls) -> Architecture: ...
2228
- @classmethod
2229
- @property
2230
- def RuntimeIdentifier(cls) -> str: ...
2231
- @staticmethod
2232
- def IsOSPlatform(osPlatform: OSPlatform) -> bool: ...
2233
-
2234
-
2235
- class SafeArrayRankMismatchException(SystemException):
2236
- @typing.overload
2237
- def __init__(self) -> None: ...
2238
- @typing.overload
2239
- def __init__(self, message: str) -> None: ...
2240
- @typing.overload
2241
- def __init__(self, message: str, inner: Exception) -> None: ...
2242
- @property
2243
- def Data(self) -> IDictionary: ...
2244
- @property
2245
- def HelpLink(self) -> str: ...
2246
- @HelpLink.setter
2247
- def HelpLink(self, value: str) -> str: ...
2248
- @property
2249
- def HResult(self) -> int: ...
2250
- @HResult.setter
2251
- def HResult(self, value: int) -> int: ...
2252
- @property
2253
- def InnerException(self) -> Exception: ...
2254
- @property
2255
- def Message(self) -> str: ...
2256
- @property
2257
- def Source(self) -> str: ...
2258
- @Source.setter
2259
- def Source(self, value: str) -> str: ...
2260
- @property
2261
- def StackTrace(self) -> str: ...
2262
- @property
2263
- def TargetSite(self) -> MethodBase: ...
2264
-
2265
-
2266
- class SafeArrayTypeMismatchException(SystemException):
2267
- @typing.overload
2268
- def __init__(self) -> None: ...
2269
- @typing.overload
2270
- def __init__(self, message: str) -> None: ...
2271
- @typing.overload
2272
- def __init__(self, message: str, inner: Exception) -> None: ...
2273
- @property
2274
- def Data(self) -> IDictionary: ...
2275
- @property
2276
- def HelpLink(self) -> str: ...
2277
- @HelpLink.setter
2278
- def HelpLink(self, value: str) -> str: ...
2279
- @property
2280
- def HResult(self) -> int: ...
2281
- @HResult.setter
2282
- def HResult(self, value: int) -> int: ...
2283
- @property
2284
- def InnerException(self) -> Exception: ...
2285
- @property
2286
- def Message(self) -> str: ...
2287
- @property
2288
- def Source(self) -> str: ...
2289
- @Source.setter
2290
- def Source(self, value: str) -> str: ...
2291
- @property
2292
- def StackTrace(self) -> str: ...
2293
- @property
2294
- def TargetSite(self) -> MethodBase: ...
2295
-
2296
-
2297
- class SafeBuffer(SafeHandleZeroOrMinusOneIsInvalid):
2298
- @property
2299
- def ByteLength(self) -> int: ...
2300
- @property
2301
- def IsClosed(self) -> bool: ...
2302
- @property
2303
- def IsInvalid(self) -> bool: ...
2304
- def AcquirePointer(self, pointer: clr.Reference[clr.Reference[int]]) -> None: ...
2305
- def ReleasePointer(self) -> None: ...
2306
- # Skipped Initialize due to it being static, abstract and generic.
2307
-
2308
- Initialize : Initialize_MethodGroup
2309
- class Initialize_MethodGroup:
2310
- def __getitem__(self, t:typing.Type[Initialize_1_T1]) -> Initialize_1[Initialize_1_T1]: ...
2311
-
2312
- Initialize_1_T1 = typing.TypeVar('Initialize_1_T1')
2313
- class Initialize_1(typing.Generic[Initialize_1_T1]):
2314
- Initialize_1_T = SafeBuffer.Initialize_MethodGroup.Initialize_1_T1
2315
- def __call__(self, numElements: int) -> None:...
2316
-
2317
- @typing.overload
2318
- def __call__(self, numBytes: int) -> None:...
2319
- @typing.overload
2320
- def __call__(self, numElements: int, sizeOfEachElement: int) -> None:...
2321
-
2322
- # Skipped Read due to it being static, abstract and generic.
2323
-
2324
- Read : Read_MethodGroup
2325
- class Read_MethodGroup:
2326
- def __getitem__(self, t:typing.Type[Read_1_T1]) -> Read_1[Read_1_T1]: ...
2327
-
2328
- Read_1_T1 = typing.TypeVar('Read_1_T1')
2329
- class Read_1(typing.Generic[Read_1_T1]):
2330
- Read_1_T = SafeBuffer.Read_MethodGroup.Read_1_T1
2331
- def __call__(self, byteOffset: int) -> Read_1_T:...
2332
-
2333
-
2334
- # Skipped ReadArray due to it being static, abstract and generic.
2335
-
2336
- ReadArray : ReadArray_MethodGroup
2337
- class ReadArray_MethodGroup:
2338
- def __getitem__(self, t:typing.Type[ReadArray_1_T1]) -> ReadArray_1[ReadArray_1_T1]: ...
2339
-
2340
- ReadArray_1_T1 = typing.TypeVar('ReadArray_1_T1')
2341
- class ReadArray_1(typing.Generic[ReadArray_1_T1]):
2342
- ReadArray_1_T = SafeBuffer.ReadArray_MethodGroup.ReadArray_1_T1
2343
- def __call__(self, byteOffset: int, array: Array_1[ReadArray_1_T], index: int, count: int) -> None:...
2344
-
2345
-
2346
- # Skipped ReadSpan due to it being static, abstract and generic.
2347
-
2348
- ReadSpan : ReadSpan_MethodGroup
2349
- class ReadSpan_MethodGroup:
2350
- def __getitem__(self, t:typing.Type[ReadSpan_1_T1]) -> ReadSpan_1[ReadSpan_1_T1]: ...
2351
-
2352
- ReadSpan_1_T1 = typing.TypeVar('ReadSpan_1_T1')
2353
- class ReadSpan_1(typing.Generic[ReadSpan_1_T1]):
2354
- ReadSpan_1_T = SafeBuffer.ReadSpan_MethodGroup.ReadSpan_1_T1
2355
- def __call__(self, byteOffset: int, buffer: Span_1[ReadSpan_1_T]) -> None:...
2356
-
2357
-
2358
- # Skipped Write due to it being static, abstract and generic.
2359
-
2360
- Write : Write_MethodGroup
2361
- class Write_MethodGroup:
2362
- def __getitem__(self, t:typing.Type[Write_1_T1]) -> Write_1[Write_1_T1]: ...
2363
-
2364
- Write_1_T1 = typing.TypeVar('Write_1_T1')
2365
- class Write_1(typing.Generic[Write_1_T1]):
2366
- Write_1_T = SafeBuffer.Write_MethodGroup.Write_1_T1
2367
- def __call__(self, byteOffset: int, value: Write_1_T) -> None:...
2368
-
2369
-
2370
- # Skipped WriteArray due to it being static, abstract and generic.
2371
-
2372
- WriteArray : WriteArray_MethodGroup
2373
- class WriteArray_MethodGroup:
2374
- def __getitem__(self, t:typing.Type[WriteArray_1_T1]) -> WriteArray_1[WriteArray_1_T1]: ...
2375
-
2376
- WriteArray_1_T1 = typing.TypeVar('WriteArray_1_T1')
2377
- class WriteArray_1(typing.Generic[WriteArray_1_T1]):
2378
- WriteArray_1_T = SafeBuffer.WriteArray_MethodGroup.WriteArray_1_T1
2379
- def __call__(self, byteOffset: int, array: Array_1[WriteArray_1_T], index: int, count: int) -> None:...
2380
-
2381
-
2382
- # Skipped WriteSpan due to it being static, abstract and generic.
2383
-
2384
- WriteSpan : WriteSpan_MethodGroup
2385
- class WriteSpan_MethodGroup:
2386
- def __getitem__(self, t:typing.Type[WriteSpan_1_T1]) -> WriteSpan_1[WriteSpan_1_T1]: ...
2387
-
2388
- WriteSpan_1_T1 = typing.TypeVar('WriteSpan_1_T1')
2389
- class WriteSpan_1(typing.Generic[WriteSpan_1_T1]):
2390
- WriteSpan_1_T = SafeBuffer.WriteSpan_MethodGroup.WriteSpan_1_T1
2391
- def __call__(self, byteOffset: int, data: ReadOnlySpan_1[WriteSpan_1_T]) -> None:...
2392
-
2393
-
2394
-
2395
-
2396
- class SafeHandle(CriticalFinalizerObject, IDisposable):
2397
- @property
2398
- def IsClosed(self) -> bool: ...
2399
- @property
2400
- def IsInvalid(self) -> bool: ...
2401
- def Close(self) -> None: ...
2402
- def DangerousAddRef(self, success: clr.Reference[bool]) -> None: ...
2403
- def DangerousGetHandle(self) -> int: ...
2404
- def DangerousRelease(self) -> None: ...
2405
- def Dispose(self) -> None: ...
2406
- def SetHandleAsInvalid(self) -> None: ...
2407
-
2408
-
2409
- class SEHException(ExternalException):
2410
- @typing.overload
2411
- def __init__(self) -> None: ...
2412
- @typing.overload
2413
- def __init__(self, message: str) -> None: ...
2414
- @typing.overload
2415
- def __init__(self, message: str, inner: Exception) -> None: ...
2416
- @property
2417
- def Data(self) -> IDictionary: ...
2418
- @property
2419
- def ErrorCode(self) -> int: ...
2420
- @property
2421
- def HelpLink(self) -> str: ...
2422
- @HelpLink.setter
2423
- def HelpLink(self, value: str) -> str: ...
2424
- @property
2425
- def HResult(self) -> int: ...
2426
- @HResult.setter
2427
- def HResult(self, value: int) -> int: ...
2428
- @property
2429
- def InnerException(self) -> Exception: ...
2430
- @property
2431
- def Message(self) -> str: ...
2432
- @property
2433
- def Source(self) -> str: ...
2434
- @Source.setter
2435
- def Source(self, value: str) -> str: ...
2436
- @property
2437
- def StackTrace(self) -> str: ...
2438
- @property
2439
- def TargetSite(self) -> MethodBase: ...
2440
- def CanResume(self) -> bool: ...
2441
-
2442
-
2443
- class StandardOleMarshalObject(MarshalByRefObject):
2444
- pass
2445
-
2446
-
2447
- class StringMarshalling(typing.SupportsInt):
2448
- @typing.overload
2449
- def __init__(self, value : int) -> None: ...
2450
- @typing.overload
2451
- def __init__(self, value : int, force_if_true: bool) -> None: ...
2452
- def __int__(self) -> int: ...
2453
-
2454
- # Values:
2455
- Custom : StringMarshalling # 0
2456
- Utf8 : StringMarshalling # 1
2457
- Utf16 : StringMarshalling # 2
2458
-
2459
-
2460
- class StructLayoutAttribute(Attribute):
2461
- @typing.overload
2462
- def __init__(self, layoutKind: LayoutKind) -> None: ...
2463
- @typing.overload
2464
- def __init__(self, layoutKind: int) -> None: ...
2465
- CharSet : CharSet
2466
- Pack : int
2467
- Size : int
2468
- @property
2469
- def TypeId(self) -> typing.Any: ...
2470
- @property
2471
- def Value(self) -> LayoutKind: ...
2472
-
2473
-
2474
- class SuppressGCTransitionAttribute(Attribute):
2475
- def __init__(self) -> None: ...
2476
- @property
2477
- def TypeId(self) -> typing.Any: ...
2478
-
2479
-
2480
- class TypeIdentifierAttribute(Attribute):
2481
- @typing.overload
2482
- def __init__(self) -> None: ...
2483
- @typing.overload
2484
- def __init__(self, scope: str, identifier: str) -> None: ...
2485
- @property
2486
- def Identifier(self) -> str: ...
2487
- @property
2488
- def Scope(self) -> str: ...
2489
- @property
2490
- def TypeId(self) -> typing.Any: ...
2491
-
2492
-
2493
- class UnknownWrapper:
2494
- def __init__(self, obj: typing.Any) -> None: ...
2495
- @property
2496
- def WrappedObject(self) -> typing.Any: ...
2497
-
2498
-
2499
- class UnmanagedCallConvAttribute(Attribute):
2500
- def __init__(self) -> None: ...
2501
- CallConvs : Array_1[typing.Type[typing.Any]]
2502
- @property
2503
- def TypeId(self) -> typing.Any: ...
2504
-
2505
-
2506
- class UnmanagedCallersOnlyAttribute(Attribute):
2507
- def __init__(self) -> None: ...
2508
- CallConvs : Array_1[typing.Type[typing.Any]]
2509
- EntryPoint : str
2510
- @property
2511
- def TypeId(self) -> typing.Any: ...
2512
-
2513
-
2514
- class UnmanagedFunctionPointerAttribute(Attribute):
2515
- def __init__(self, callingConvention: CallingConvention) -> None: ...
2516
- BestFitMapping : bool
2517
- CharSet : CharSet
2518
- SetLastError : bool
2519
- ThrowOnUnmappableChar : bool
2520
- @property
2521
- def CallingConvention(self) -> CallingConvention: ...
2522
- @property
2523
- def TypeId(self) -> typing.Any: ...
2524
-
2525
-
2526
- class UnmanagedType(typing.SupportsInt):
2527
- @typing.overload
2528
- def __init__(self, value : int) -> None: ...
2529
- @typing.overload
2530
- def __init__(self, value : int, force_if_true: bool) -> None: ...
2531
- def __int__(self) -> int: ...
2532
-
2533
- # Values:
2534
- Bool : UnmanagedType # 2
2535
- I1 : UnmanagedType # 3
2536
- U1 : UnmanagedType # 4
2537
- I2 : UnmanagedType # 5
2538
- U2 : UnmanagedType # 6
2539
- I4 : UnmanagedType # 7
2540
- U4 : UnmanagedType # 8
2541
- I8 : UnmanagedType # 9
2542
- U8 : UnmanagedType # 10
2543
- R4 : UnmanagedType # 11
2544
- R8 : UnmanagedType # 12
2545
- Currency : UnmanagedType # 15
2546
- BStr : UnmanagedType # 19
2547
- LPStr : UnmanagedType # 20
2548
- LPWStr : UnmanagedType # 21
2549
- LPTStr : UnmanagedType # 22
2550
- ByValTStr : UnmanagedType # 23
2551
- IUnknown : UnmanagedType # 25
2552
- IDispatch : UnmanagedType # 26
2553
- Struct : UnmanagedType # 27
2554
- Interface : UnmanagedType # 28
2555
- SafeArray : UnmanagedType # 29
2556
- ByValArray : UnmanagedType # 30
2557
- SysInt : UnmanagedType # 31
2558
- SysUInt : UnmanagedType # 32
2559
- VBByRefStr : UnmanagedType # 34
2560
- AnsiBStr : UnmanagedType # 35
2561
- TBStr : UnmanagedType # 36
2562
- VariantBool : UnmanagedType # 37
2563
- FunctionPtr : UnmanagedType # 38
2564
- AsAny : UnmanagedType # 40
2565
- LPArray : UnmanagedType # 42
2566
- LPStruct : UnmanagedType # 43
2567
- CustomMarshaler : UnmanagedType # 44
2568
- Error : UnmanagedType # 45
2569
- IInspectable : UnmanagedType # 46
2570
- HString : UnmanagedType # 47
2571
- LPUTF8Str : UnmanagedType # 48
2572
-
2573
-
2574
- class VarEnum(typing.SupportsInt):
2575
- @typing.overload
2576
- def __init__(self, value : int) -> None: ...
2577
- @typing.overload
2578
- def __init__(self, value : int, force_if_true: bool) -> None: ...
2579
- def __int__(self) -> int: ...
2580
-
2581
- # Values:
2582
- VT_EMPTY : VarEnum # 0
2583
- VT_NULL : VarEnum # 1
2584
- VT_I2 : VarEnum # 2
2585
- VT_I4 : VarEnum # 3
2586
- VT_R4 : VarEnum # 4
2587
- VT_R8 : VarEnum # 5
2588
- VT_CY : VarEnum # 6
2589
- VT_DATE : VarEnum # 7
2590
- VT_BSTR : VarEnum # 8
2591
- VT_DISPATCH : VarEnum # 9
2592
- VT_ERROR : VarEnum # 10
2593
- VT_BOOL : VarEnum # 11
2594
- VT_VARIANT : VarEnum # 12
2595
- VT_UNKNOWN : VarEnum # 13
2596
- VT_DECIMAL : VarEnum # 14
2597
- VT_I1 : VarEnum # 16
2598
- VT_UI1 : VarEnum # 17
2599
- VT_UI2 : VarEnum # 18
2600
- VT_UI4 : VarEnum # 19
2601
- VT_I8 : VarEnum # 20
2602
- VT_UI8 : VarEnum # 21
2603
- VT_INT : VarEnum # 22
2604
- VT_UINT : VarEnum # 23
2605
- VT_VOID : VarEnum # 24
2606
- VT_HRESULT : VarEnum # 25
2607
- VT_PTR : VarEnum # 26
2608
- VT_SAFEARRAY : VarEnum # 27
2609
- VT_CARRAY : VarEnum # 28
2610
- VT_USERDEFINED : VarEnum # 29
2611
- VT_LPSTR : VarEnum # 30
2612
- VT_LPWSTR : VarEnum # 31
2613
- VT_RECORD : VarEnum # 36
2614
- VT_FILETIME : VarEnum # 64
2615
- VT_BLOB : VarEnum # 65
2616
- VT_STREAM : VarEnum # 66
2617
- VT_STORAGE : VarEnum # 67
2618
- VT_STREAMED_OBJECT : VarEnum # 68
2619
- VT_STORED_OBJECT : VarEnum # 69
2620
- VT_BLOB_OBJECT : VarEnum # 70
2621
- VT_CF : VarEnum # 71
2622
- VT_CLSID : VarEnum # 72
2623
- VT_VECTOR : VarEnum # 4096
2624
- VT_ARRAY : VarEnum # 8192
2625
- VT_BYREF : VarEnum # 16384
2626
-
2627
-
2628
- class VariantWrapper:
2629
- def __init__(self, obj: typing.Any) -> None: ...
2630
- @property
2631
- def WrappedObject(self) -> typing.Any: ...
2632
-