Best Python code snippet using gabbi_python
__init__.pyi
Source:__init__.pyi
1from __future__ import annotations2from abc import ABC3from typing import Protocol, Union4from System import Boolean, Byte, Enum, Guid, IDisposable, Int32, IntPtr, Object, String, UInt16, UInt32, UInt64, Void5from System.Deployment.Internal.Isolation import IDefinitionIdentity, IReferenceIdentity, ISection, ISectionEntry6# ---------- Types ---------- #7BooleanType = Union[bool, Boolean]8ByteType = Union[int, Byte]9IntType = Union[int, Int32]10NIntType = Union[int, IntPtr]11ObjectType = Object12StringType = Union[str, String]13UIntType = Union[int, UInt32]14ULongType = Union[int, UInt64]15UShortType = Union[int, UInt16]16VoidType = Union[None, Void]17# ---------- Classes ---------- #18class AssemblyReferenceDependentAssemblyEntry(ObjectType, IDisposable):19 # ---------- Fields ---------- #20 21 @property22 def Codebase(self) -> StringType: ...23 24 @Codebase.setter25 def Codebase(self, value: StringType) -> None: ...26 27 @property28 def Description(self) -> StringType: ...29 30 @Description.setter31 def Description(self, value: StringType) -> None: ...32 33 @property34 def Flags(self) -> UIntType: ...35 36 @Flags.setter37 def Flags(self, value: UIntType) -> None: ...38 39 @property40 def Group(self) -> StringType: ...41 42 @Group.setter43 def Group(self, value: StringType) -> None: ...44 45 @property46 def HashAlgorithm(self) -> UIntType: ...47 48 @HashAlgorithm.setter49 def HashAlgorithm(self, value: UIntType) -> None: ...50 51 @property52 def HashElements(self) -> ISection: ...53 54 @HashElements.setter55 def HashElements(self, value: ISection) -> None: ...56 57 @property58 def HashValue(self) -> NIntType: ...59 60 @HashValue.setter61 def HashValue(self, value: NIntType) -> None: ...62 63 @property64 def HashValueSize(self) -> UIntType: ...65 66 @HashValueSize.setter67 def HashValueSize(self, value: UIntType) -> None: ...68 69 @property70 def ResourceFallbackCulture(self) -> StringType: ...71 72 @ResourceFallbackCulture.setter73 def ResourceFallbackCulture(self, value: StringType) -> None: ...74 75 @property76 def Size(self) -> ULongType: ...77 78 @Size.setter79 def Size(self, value: ULongType) -> None: ...80 81 @property82 def SupportUrl(self) -> StringType: ...83 84 @SupportUrl.setter85 def SupportUrl(self, value: StringType) -> None: ...86 87 # ---------- Constructors ---------- #88 89 def __init__(self): ...90 91 # No Properties92 93 # ---------- Methods ---------- #94 95 def Dispose(self, fDisposing: BooleanType) -> VoidType: ...96 97 # No Events98 99 # No Sub Classes100 101 # No Sub Structs102 103 # No Sub Interfaces104 105 # No Sub Enums106class AssemblyReferenceEntry(ObjectType):107 # ---------- Fields ---------- #108 109 @property110 def DependentAssembly(self) -> AssemblyReferenceDependentAssemblyEntry: ...111 112 @DependentAssembly.setter113 def DependentAssembly(self, value: AssemblyReferenceDependentAssemblyEntry) -> None: ...114 115 @property116 def Flags(self) -> UIntType: ...117 118 @Flags.setter119 def Flags(self, value: UIntType) -> None: ...120 121 @property122 def ReferenceIdentity(self) -> IReferenceIdentity: ...123 124 @ReferenceIdentity.setter125 def ReferenceIdentity(self, value: IReferenceIdentity) -> None: ...126 127 # ---------- Constructors ---------- #128 129 def __init__(self): ...130 131 # No Properties132 133 # No Methods134 135 # No Events136 137 # No Sub Classes138 139 # No Sub Structs140 141 # No Sub Interfaces142 143 # No Sub Enums144class AssemblyRequestEntry(ObjectType):145 # ---------- Fields ---------- #146 147 @property148 def Name(self) -> StringType: ...149 150 @Name.setter151 def Name(self, value: StringType) -> None: ...152 153 @property154 def permissionSetID(self) -> StringType: ...155 156 @permissionSetID.setter157 def permissionSetID(self, value: StringType) -> None: ...158 159 # ---------- Constructors ---------- #160 161 def __init__(self): ...162 163 # No Properties164 165 # No Methods166 167 # No Events168 169 # No Sub Classes170 171 # No Sub Structs172 173 # No Sub Interfaces174 175 # No Sub Enums176class CLRSurrogateEntry(ObjectType):177 # ---------- Fields ---------- #178 179 @property180 def ClassName(self) -> StringType: ...181 182 @ClassName.setter183 def ClassName(self, value: StringType) -> None: ...184 185 @property186 def Clsid(self) -> Guid: ...187 188 @Clsid.setter189 def Clsid(self, value: Guid) -> None: ...190 191 @property192 def RuntimeVersion(self) -> StringType: ...193 194 @RuntimeVersion.setter195 def RuntimeVersion(self, value: StringType) -> None: ...196 197 # ---------- Constructors ---------- #198 199 def __init__(self): ...200 201 # No Properties202 203 # No Methods204 205 # No Events206 207 # No Sub Classes208 209 # No Sub Structs210 211 # No Sub Interfaces212 213 # No Sub Enums214class COMServerEntry(ObjectType):215 # ---------- Fields ---------- #216 217 @property218 def Clsid(self) -> Guid: ...219 220 @Clsid.setter221 def Clsid(self, value: Guid) -> None: ...222 223 @property224 def ConfiguredGuid(self) -> Guid: ...225 226 @ConfiguredGuid.setter227 def ConfiguredGuid(self, value: Guid) -> None: ...228 229 @property230 def Flags(self) -> UIntType: ...231 232 @Flags.setter233 def Flags(self, value: UIntType) -> None: ...234 235 @property236 def HostFile(self) -> StringType: ...237 238 @HostFile.setter239 def HostFile(self, value: StringType) -> None: ...240 241 @property242 def ImplementedClsid(self) -> Guid: ...243 244 @ImplementedClsid.setter245 def ImplementedClsid(self, value: Guid) -> None: ...246 247 @property248 def RuntimeVersion(self) -> StringType: ...249 250 @RuntimeVersion.setter251 def RuntimeVersion(self, value: StringType) -> None: ...252 253 @property254 def ThreadingModel(self) -> UIntType: ...255 256 @ThreadingModel.setter257 def ThreadingModel(self, value: UIntType) -> None: ...258 259 @property260 def TypeLibrary(self) -> Guid: ...261 262 @TypeLibrary.setter263 def TypeLibrary(self, value: Guid) -> None: ...264 265 # ---------- Constructors ---------- #266 267 def __init__(self): ...268 269 # No Properties270 271 # No Methods272 273 # No Events274 275 # No Sub Classes276 277 # No Sub Structs278 279 # No Sub Interfaces280 281 # No Sub Enums282class CategoryMembershipDataEntry(ObjectType):283 # ---------- Fields ---------- #284 285 @property286 def Description(self) -> StringType: ...287 288 @Description.setter289 def Description(self, value: StringType) -> None: ...290 291 @property292 def Xml(self) -> StringType: ...293 294 @Xml.setter295 def Xml(self, value: StringType) -> None: ...296 297 @property298 def index(self) -> UIntType: ...299 300 @index.setter301 def index(self, value: UIntType) -> None: ...302 303 # ---------- Constructors ---------- #304 305 def __init__(self): ...306 307 # No Properties308 309 # No Methods310 311 # No Events312 313 # No Sub Classes314 315 # No Sub Structs316 317 # No Sub Interfaces318 319 # No Sub Enums320class CategoryMembershipEntry(ObjectType):321 # ---------- Fields ---------- #322 323 @property324 def Identity(self) -> IDefinitionIdentity: ...325 326 @Identity.setter327 def Identity(self, value: IDefinitionIdentity) -> None: ...328 329 @property330 def SubcategoryMembership(self) -> ISection: ...331 332 @SubcategoryMembership.setter333 def SubcategoryMembership(self, value: ISection) -> None: ...334 335 # ---------- Constructors ---------- #336 337 def __init__(self): ...338 339 # No Properties340 341 # No Methods342 343 # No Events344 345 # No Sub Classes346 347 # No Sub Structs348 349 # No Sub Interfaces350 351 # No Sub Enums352class CmsUtils(ABC, ObjectType):353 """"""354 355 # No Fields356 357 # No Constructors358 359 # No Properties360 361 # No Methods362 363 # No Events364 365 # No Sub Classes366 367 # No Sub Structs368 369 # No Sub Interfaces370 371 # No Sub Enums372class CompatibleFrameworksMetadataEntry(ObjectType):373 # ---------- Fields ---------- #374 375 @property376 def SupportUrl(self) -> StringType: ...377 378 @SupportUrl.setter379 def SupportUrl(self, value: StringType) -> None: ...380 381 # ---------- Constructors ---------- #382 383 def __init__(self): ...384 385 # No Properties386 387 # No Methods388 389 # No Events390 391 # No Sub Classes392 393 # No Sub Structs394 395 # No Sub Interfaces396 397 # No Sub Enums398class DependentOSMetadataEntry(ObjectType):399 # ---------- Fields ---------- #400 401 @property402 def BuildNumber(self) -> UShortType: ...403 404 @BuildNumber.setter405 def BuildNumber(self, value: UShortType) -> None: ...406 407 @property408 def Description(self) -> StringType: ...409 410 @Description.setter411 def Description(self, value: StringType) -> None: ...412 413 @property414 def MajorVersion(self) -> UShortType: ...415 416 @MajorVersion.setter417 def MajorVersion(self, value: UShortType) -> None: ...418 419 @property420 def MinorVersion(self) -> UShortType: ...421 422 @MinorVersion.setter423 def MinorVersion(self, value: UShortType) -> None: ...424 425 @property426 def ServicePackMajor(self) -> ByteType: ...427 428 @ServicePackMajor.setter429 def ServicePackMajor(self, value: ByteType) -> None: ...430 431 @property432 def ServicePackMinor(self) -> ByteType: ...433 434 @ServicePackMinor.setter435 def ServicePackMinor(self, value: ByteType) -> None: ...436 437 @property438 def SupportUrl(self) -> StringType: ...439 440 @SupportUrl.setter441 def SupportUrl(self, value: StringType) -> None: ...442 443 # ---------- Constructors ---------- #444 445 def __init__(self): ...446 447 # No Properties448 449 # No Methods450 451 # No Events452 453 # No Sub Classes454 455 # No Sub Structs456 457 # No Sub Interfaces458 459 # No Sub Enums460class DeploymentMetadataEntry(ObjectType):461 # ---------- Fields ---------- #462 463 @property464 def DeploymentFlags(self) -> UIntType: ...465 466 @DeploymentFlags.setter467 def DeploymentFlags(self, value: UIntType) -> None: ...468 469 @property470 def DeploymentProviderCodebase(self) -> StringType: ...471 472 @DeploymentProviderCodebase.setter473 def DeploymentProviderCodebase(self, value: StringType) -> None: ...474 475 @property476 def MaximumAge(self) -> UShortType: ...477 478 @MaximumAge.setter479 def MaximumAge(self, value: UShortType) -> None: ...480 481 @property482 def MaximumAge_Unit(self) -> ByteType: ...483 484 @MaximumAge_Unit.setter485 def MaximumAge_Unit(self, value: ByteType) -> None: ...486 487 @property488 def MinimumRequiredVersion(self) -> StringType: ...489 490 @MinimumRequiredVersion.setter491 def MinimumRequiredVersion(self, value: StringType) -> None: ...492 493 # ---------- Constructors ---------- #494 495 def __init__(self): ...496 497 # No Properties498 499 # No Methods500 501 # No Events502 503 # No Sub Classes504 505 # No Sub Structs506 507 # No Sub Interfaces508 509 # No Sub Enums510class DescriptionMetadataEntry(ObjectType):511 # ---------- Fields ---------- #512 513 @property514 def ErrorReportUrl(self) -> StringType: ...515 516 @ErrorReportUrl.setter517 def ErrorReportUrl(self, value: StringType) -> None: ...518 519 @property520 def IconFile(self) -> StringType: ...521 522 @IconFile.setter523 def IconFile(self, value: StringType) -> None: ...524 525 @property526 def Product(self) -> StringType: ...527 528 @Product.setter529 def Product(self, value: StringType) -> None: ...530 531 @property532 def Publisher(self) -> StringType: ...533 534 @Publisher.setter535 def Publisher(self, value: StringType) -> None: ...536 537 @property538 def SuiteName(self) -> StringType: ...539 540 @SuiteName.setter541 def SuiteName(self, value: StringType) -> None: ...542 543 @property544 def SupportUrl(self) -> StringType: ...545 546 @SupportUrl.setter547 def SupportUrl(self, value: StringType) -> None: ...548 549 # ---------- Constructors ---------- #550 551 def __init__(self): ...552 553 # No Properties554 555 # No Methods556 557 # No Events558 559 # No Sub Classes560 561 # No Sub Structs562 563 # No Sub Interfaces564 565 # No Sub Enums566class EntryPointEntry(ObjectType):567 # ---------- Fields ---------- #568 569 @property570 def CommandLine_File(self) -> StringType: ...571 572 @CommandLine_File.setter573 def CommandLine_File(self, value: StringType) -> None: ...574 575 @property576 def CommandLine_Parameters(self) -> StringType: ...577 578 @CommandLine_Parameters.setter579 def CommandLine_Parameters(self, value: StringType) -> None: ...580 581 @property582 def Flags(self) -> UIntType: ...583 584 @Flags.setter585 def Flags(self, value: UIntType) -> None: ...586 587 @property588 def Identity(self) -> IReferenceIdentity: ...589 590 @Identity.setter591 def Identity(self, value: IReferenceIdentity) -> None: ...592 593 @property594 def Name(self) -> StringType: ...595 596 @Name.setter597 def Name(self, value: StringType) -> None: ...598 599 # ---------- Constructors ---------- #600 601 def __init__(self): ...602 603 # No Properties604 605 # No Methods606 607 # No Events608 609 # No Sub Classes610 611 # No Sub Structs612 613 # No Sub Interfaces614 615 # No Sub Enums616class FileAssociationEntry(ObjectType):617 # ---------- Fields ---------- #618 619 @property620 def DefaultIcon(self) -> StringType: ...621 622 @DefaultIcon.setter623 def DefaultIcon(self, value: StringType) -> None: ...624 625 @property626 def Description(self) -> StringType: ...627 628 @Description.setter629 def Description(self, value: StringType) -> None: ...630 631 @property632 def Extension(self) -> StringType: ...633 634 @Extension.setter635 def Extension(self, value: StringType) -> None: ...636 637 @property638 def Parameter(self) -> StringType: ...639 640 @Parameter.setter641 def Parameter(self, value: StringType) -> None: ...642 643 @property644 def ProgID(self) -> StringType: ...645 646 @ProgID.setter647 def ProgID(self, value: StringType) -> None: ...648 649 # ---------- Constructors ---------- #650 651 def __init__(self): ...652 653 # No Properties654 655 # No Methods656 657 # No Events658 659 # No Sub Classes660 661 # No Sub Structs662 663 # No Sub Interfaces664 665 # No Sub Enums666class FileEntry(ObjectType, IDisposable):667 # ---------- Fields ---------- #668 669 @property670 def Flags(self) -> UIntType: ...671 672 @Flags.setter673 def Flags(self, value: UIntType) -> None: ...674 675 @property676 def Group(self) -> StringType: ...677 678 @Group.setter679 def Group(self, value: StringType) -> None: ...680 681 @property682 def HashAlgorithm(self) -> UIntType: ...683 684 @HashAlgorithm.setter685 def HashAlgorithm(self, value: UIntType) -> None: ...686 687 @property688 def HashElements(self) -> ISection: ...689 690 @HashElements.setter691 def HashElements(self, value: ISection) -> None: ...692 693 @property694 def HashValue(self) -> NIntType: ...695 696 @HashValue.setter697 def HashValue(self, value: NIntType) -> None: ...698 699 @property700 def HashValueSize(self) -> UIntType: ...701 702 @HashValueSize.setter703 def HashValueSize(self, value: UIntType) -> None: ...704 705 @property706 def ImportPath(self) -> StringType: ...707 708 @ImportPath.setter709 def ImportPath(self, value: StringType) -> None: ...710 711 @property712 def LoadFrom(self) -> StringType: ...713 714 @LoadFrom.setter715 def LoadFrom(self, value: StringType) -> None: ...716 717 @property718 def Location(self) -> StringType: ...719 720 @Location.setter721 def Location(self, value: StringType) -> None: ...722 723 @property724 def MuiMapping(self) -> MuiResourceMapEntry: ...725 726 @MuiMapping.setter727 def MuiMapping(self, value: MuiResourceMapEntry) -> None: ...728 729 @property730 def Name(self) -> StringType: ...731 732 @Name.setter733 def Name(self, value: StringType) -> None: ...734 735 @property736 def Size(self) -> ULongType: ...737 738 @Size.setter739 def Size(self, value: ULongType) -> None: ...740 741 @property742 def SourceName(self) -> StringType: ...743 744 @SourceName.setter745 def SourceName(self, value: StringType) -> None: ...746 747 @property748 def SourcePath(self) -> StringType: ...749 750 @SourcePath.setter751 def SourcePath(self, value: StringType) -> None: ...752 753 @property754 def WritableType(self) -> UIntType: ...755 756 @WritableType.setter757 def WritableType(self, value: UIntType) -> None: ...758 759 # ---------- Constructors ---------- #760 761 def __init__(self): ...762 763 # No Properties764 765 # ---------- Methods ---------- #766 767 def Dispose(self, fDisposing: BooleanType) -> VoidType: ...768 769 # No Events770 771 # No Sub Classes772 773 # No Sub Structs774 775 # No Sub Interfaces776 777 # No Sub Enums778class HashElementEntry(ObjectType, IDisposable):779 # ---------- Fields ---------- #780 781 @property782 def DigestMethod(self) -> ByteType: ...783 784 @DigestMethod.setter785 def DigestMethod(self, value: ByteType) -> None: ...786 787 @property788 def DigestValue(self) -> NIntType: ...789 790 @DigestValue.setter791 def DigestValue(self, value: NIntType) -> None: ...792 793 @property794 def DigestValueSize(self) -> UIntType: ...795 796 @DigestValueSize.setter797 def DigestValueSize(self, value: UIntType) -> None: ...798 799 @property800 def Transform(self) -> ByteType: ...801 802 @Transform.setter803 def Transform(self, value: ByteType) -> None: ...804 805 @property806 def TransformMetadata(self) -> NIntType: ...807 808 @TransformMetadata.setter809 def TransformMetadata(self, value: NIntType) -> None: ...810 811 @property812 def TransformMetadataSize(self) -> UIntType: ...813 814 @TransformMetadataSize.setter815 def TransformMetadataSize(self, value: UIntType) -> None: ...816 817 @property818 def Xml(self) -> StringType: ...819 820 @Xml.setter821 def Xml(self, value: StringType) -> None: ...822 823 @property824 def index(self) -> UIntType: ...825 826 @index.setter827 def index(self, value: UIntType) -> None: ...828 829 # ---------- Constructors ---------- #830 831 def __init__(self): ...832 833 # No Properties834 835 # ---------- Methods ---------- #836 837 def Dispose(self, fDisposing: BooleanType) -> VoidType: ...838 839 # No Events840 841 # No Sub Classes842 843 # No Sub Structs844 845 # No Sub Interfaces846 847 # No Sub Enums848class MetadataSectionEntry(ObjectType, IDisposable):849 # ---------- Fields ---------- #850 851 @property852 def CdfIdentity(self) -> IDefinitionIdentity: ...853 854 @CdfIdentity.setter855 def CdfIdentity(self, value: IDefinitionIdentity) -> None: ...856 857 @property858 def CompatibleFrameworksData(self) -> CompatibleFrameworksMetadataEntry: ...859 860 @CompatibleFrameworksData.setter861 def CompatibleFrameworksData(self, value: CompatibleFrameworksMetadataEntry) -> None: ...862 863 @property864 def ContentType(self) -> StringType: ...865 866 @ContentType.setter867 def ContentType(self, value: StringType) -> None: ...868 869 @property870 def DependentOSData(self) -> DependentOSMetadataEntry: ...871 872 @DependentOSData.setter873 def DependentOSData(self, value: DependentOSMetadataEntry) -> None: ...874 875 @property876 def DeploymentData(self) -> DeploymentMetadataEntry: ...877 878 @DeploymentData.setter879 def DeploymentData(self, value: DeploymentMetadataEntry) -> None: ...880 881 @property882 def DescriptionData(self) -> DescriptionMetadataEntry: ...883 884 @DescriptionData.setter885 def DescriptionData(self, value: DescriptionMetadataEntry) -> None: ...886 887 @property888 def HashAlgorithm(self) -> UIntType: ...889 890 @HashAlgorithm.setter891 def HashAlgorithm(self, value: UIntType) -> None: ...892 893 @property894 def KeyInfoElement(self) -> StringType: ...895 896 @KeyInfoElement.setter897 def KeyInfoElement(self, value: StringType) -> None: ...898 899 @property900 def LocalPath(self) -> StringType: ...901 902 @LocalPath.setter903 def LocalPath(self, value: StringType) -> None: ...904 905 @property906 def ManifestFlags(self) -> UIntType: ...907 908 @ManifestFlags.setter909 def ManifestFlags(self, value: UIntType) -> None: ...910 911 @property912 def ManifestHash(self) -> NIntType: ...913 914 @ManifestHash.setter915 def ManifestHash(self, value: NIntType) -> None: ...916 917 @property918 def ManifestHashSize(self) -> UIntType: ...919 920 @ManifestHashSize.setter921 def ManifestHashSize(self, value: UIntType) -> None: ...922 923 @property924 def MvidValue(self) -> NIntType: ...925 926 @MvidValue.setter927 def MvidValue(self, value: NIntType) -> None: ...928 929 @property930 def MvidValueSize(self) -> UIntType: ...931 932 @MvidValueSize.setter933 def MvidValueSize(self, value: UIntType) -> None: ...934 935 @property936 def RequestedExecutionLevel(self) -> StringType: ...937 938 @RequestedExecutionLevel.setter939 def RequestedExecutionLevel(self, value: StringType) -> None: ...940 941 @property942 def RequestedExecutionLevelUIAccess(self) -> BooleanType: ...943 944 @RequestedExecutionLevelUIAccess.setter945 def RequestedExecutionLevelUIAccess(self, value: BooleanType) -> None: ...946 947 @property948 def ResourceTypeManifestResourcesDependency(self) -> IReferenceIdentity: ...949 950 @ResourceTypeManifestResourcesDependency.setter951 def ResourceTypeManifestResourcesDependency(self, value: IReferenceIdentity) -> None: ...952 953 @property954 def ResourceTypeResourcesDependency(self) -> IReferenceIdentity: ...955 956 @ResourceTypeResourcesDependency.setter957 def ResourceTypeResourcesDependency(self, value: IReferenceIdentity) -> None: ...958 959 @property960 def RuntimeImageVersion(self) -> StringType: ...961 962 @RuntimeImageVersion.setter963 def RuntimeImageVersion(self, value: StringType) -> None: ...964 965 @property966 def SchemaVersion(self) -> UIntType: ...967 968 @SchemaVersion.setter969 def SchemaVersion(self, value: UIntType) -> None: ...970 971 @property972 def UsagePatterns(self) -> UIntType: ...973 974 @UsagePatterns.setter975 def UsagePatterns(self, value: UIntType) -> None: ...976 977 @property978 def defaultPermissionSetID(self) -> StringType: ...979 980 @defaultPermissionSetID.setter981 def defaultPermissionSetID(self, value: StringType) -> None: ...982 983 # ---------- Constructors ---------- #984 985 def __init__(self): ...986 987 # No Properties988 989 # ---------- Methods ---------- #990 991 def Dispose(self, fDisposing: BooleanType) -> VoidType: ...992 993 # No Events994 995 # No Sub Classes996 997 # No Sub Structs998 999 # No Sub Interfaces1000 1001 # No Sub Enums1002class MuiResourceIdLookupMapEntry(ObjectType):1003 # ---------- Fields ---------- #1004 1005 @property1006 def Count(self) -> UIntType: ...1007 1008 @Count.setter1009 def Count(self, value: UIntType) -> None: ...1010 1011 # ---------- Constructors ---------- #1012 1013 def __init__(self): ...1014 1015 # No Properties1016 1017 # No Methods1018 1019 # No Events1020 1021 # No Sub Classes1022 1023 # No Sub Structs1024 1025 # No Sub Interfaces1026 1027 # No Sub Enums1028class MuiResourceMapEntry(ObjectType, IDisposable):1029 # ---------- Fields ---------- #1030 1031 @property1032 def ResourceTypeIdInt(self) -> NIntType: ...1033 1034 @ResourceTypeIdInt.setter1035 def ResourceTypeIdInt(self, value: NIntType) -> None: ...1036 1037 @property1038 def ResourceTypeIdIntSize(self) -> UIntType: ...1039 1040 @ResourceTypeIdIntSize.setter1041 def ResourceTypeIdIntSize(self, value: UIntType) -> None: ...1042 1043 @property1044 def ResourceTypeIdString(self) -> NIntType: ...1045 1046 @ResourceTypeIdString.setter1047 def ResourceTypeIdString(self, value: NIntType) -> None: ...1048 1049 @property1050 def ResourceTypeIdStringSize(self) -> UIntType: ...1051 1052 @ResourceTypeIdStringSize.setter1053 def ResourceTypeIdStringSize(self, value: UIntType) -> None: ...1054 1055 # ---------- Constructors ---------- #1056 1057 def __init__(self): ...1058 1059 # No Properties1060 1061 # ---------- Methods ---------- #1062 1063 def Dispose(self, fDisposing: BooleanType) -> VoidType: ...1064 1065 # No Events1066 1067 # No Sub Classes1068 1069 # No Sub Structs1070 1071 # No Sub Interfaces1072 1073 # No Sub Enums1074class MuiResourceTypeIdIntEntry(ObjectType, IDisposable):1075 # ---------- Fields ---------- #1076 1077 @property1078 def IntegerIds(self) -> NIntType: ...1079 1080 @IntegerIds.setter1081 def IntegerIds(self, value: NIntType) -> None: ...1082 1083 @property1084 def IntegerIdsSize(self) -> UIntType: ...1085 1086 @IntegerIdsSize.setter1087 def IntegerIdsSize(self, value: UIntType) -> None: ...1088 1089 @property1090 def StringIds(self) -> NIntType: ...1091 1092 @StringIds.setter1093 def StringIds(self, value: NIntType) -> None: ...1094 1095 @property1096 def StringIdsSize(self) -> UIntType: ...1097 1098 @StringIdsSize.setter1099 def StringIdsSize(self, value: UIntType) -> None: ...1100 1101 # ---------- Constructors ---------- #1102 1103 def __init__(self): ...1104 1105 # No Properties1106 1107 # ---------- Methods ---------- #1108 1109 def Dispose(self, fDisposing: BooleanType) -> VoidType: ...1110 1111 # No Events1112 1113 # No Sub Classes1114 1115 # No Sub Structs1116 1117 # No Sub Interfaces1118 1119 # No Sub Enums1120class MuiResourceTypeIdStringEntry(ObjectType, IDisposable):1121 # ---------- Fields ---------- #1122 1123 @property1124 def IntegerIds(self) -> NIntType: ...1125 1126 @IntegerIds.setter1127 def IntegerIds(self, value: NIntType) -> None: ...1128 1129 @property1130 def IntegerIdsSize(self) -> UIntType: ...1131 1132 @IntegerIdsSize.setter1133 def IntegerIdsSize(self, value: UIntType) -> None: ...1134 1135 @property1136 def StringIds(self) -> NIntType: ...1137 1138 @StringIds.setter1139 def StringIds(self, value: NIntType) -> None: ...1140 1141 @property1142 def StringIdsSize(self) -> UIntType: ...1143 1144 @StringIdsSize.setter1145 def StringIdsSize(self, value: UIntType) -> None: ...1146 1147 # ---------- Constructors ---------- #1148 1149 def __init__(self): ...1150 1151 # No Properties1152 1153 # ---------- Methods ---------- #1154 1155 def Dispose(self, fDisposing: BooleanType) -> VoidType: ...1156 1157 # No Events1158 1159 # No Sub Classes1160 1161 # No Sub Structs1162 1163 # No Sub Interfaces1164 1165 # No Sub Enums1166class PermissionSetEntry(ObjectType):1167 # ---------- Fields ---------- #1168 1169 @property1170 def Id(self) -> StringType: ...1171 1172 @Id.setter1173 def Id(self, value: StringType) -> None: ...1174 1175 @property1176 def XmlSegment(self) -> StringType: ...1177 1178 @XmlSegment.setter1179 def XmlSegment(self, value: StringType) -> None: ...1180 1181 # ---------- Constructors ---------- #1182 1183 def __init__(self): ...1184 1185 # No Properties1186 1187 # No Methods1188 1189 # No Events1190 1191 # No Sub Classes1192 1193 # No Sub Structs1194 1195 # No Sub Interfaces1196 1197 # No Sub Enums1198class ProgIdRedirectionEntry(ObjectType):1199 # ---------- Fields ---------- #1200 1201 @property1202 def ProgId(self) -> StringType: ...1203 1204 @ProgId.setter1205 def ProgId(self, value: StringType) -> None: ...1206 1207 @property1208 def RedirectedGuid(self) -> Guid: ...1209 1210 @RedirectedGuid.setter1211 def RedirectedGuid(self, value: Guid) -> None: ...1212 1213 # ---------- Constructors ---------- #1214 1215 def __init__(self): ...1216 1217 # No Properties1218 1219 # No Methods1220 1221 # No Events1222 1223 # No Sub Classes1224 1225 # No Sub Structs1226 1227 # No Sub Interfaces1228 1229 # No Sub Enums1230class ResourceTableMappingEntry(ObjectType):1231 # ---------- Fields ---------- #1232 1233 @property1234 def FinalStringMapped(self) -> StringType: ...1235 1236 @FinalStringMapped.setter1237 def FinalStringMapped(self, value: StringType) -> None: ...1238 1239 @property1240 def id(self) -> StringType: ...1241 1242 @id.setter1243 def id(self, value: StringType) -> None: ...1244 1245 # ---------- Constructors ---------- #1246 1247 def __init__(self): ...1248 1249 # No Properties1250 1251 # No Methods1252 1253 # No Events1254 1255 # No Sub Classes1256 1257 # No Sub Structs1258 1259 # No Sub Interfaces1260 1261 # No Sub Enums1262class SubcategoryMembershipEntry(ObjectType):1263 # ---------- Fields ---------- #1264 1265 @property1266 def CategoryMembershipData(self) -> ISection: ...1267 1268 @CategoryMembershipData.setter1269 def CategoryMembershipData(self, value: ISection) -> None: ...1270 1271 @property1272 def Subcategory(self) -> StringType: ...1273 1274 @Subcategory.setter1275 def Subcategory(self, value: StringType) -> None: ...1276 1277 # ---------- Constructors ---------- #1278 1279 def __init__(self): ...1280 1281 # No Properties1282 1283 # No Methods1284 1285 # No Events1286 1287 # No Sub Classes1288 1289 # No Sub Structs1290 1291 # No Sub Interfaces1292 1293 # No Sub Enums1294class WindowClassEntry(ObjectType):1295 # ---------- Fields ---------- #1296 1297 @property1298 def ClassName(self) -> StringType: ...1299 1300 @ClassName.setter1301 def ClassName(self, value: StringType) -> None: ...1302 1303 @property1304 def HostDll(self) -> StringType: ...1305 1306 @HostDll.setter1307 def HostDll(self, value: StringType) -> None: ...1308 1309 @property1310 def fVersioned(self) -> BooleanType: ...1311 1312 @fVersioned.setter1313 def fVersioned(self, value: BooleanType) -> None: ...1314 1315 # ---------- Constructors ---------- #1316 1317 def __init__(self): ...1318 1319 # No Properties1320 1321 # No Methods1322 1323 # No Events1324 1325 # No Sub Classes1326 1327 # No Sub Structs1328 1329 # No Sub Interfaces1330 1331 # No Sub Enums1332# No Structs1333# ---------- Interfaces ---------- #1334class IAssemblyReferenceDependentAssemblyEntry(Protocol):1335 # ---------- Properties ---------- #1336 1337 @property1338 def AllData(self) -> AssemblyReferenceDependentAssemblyEntry: ...1339 1340 @property1341 def Codebase(self) -> StringType: ...1342 1343 @property1344 def Description(self) -> StringType: ...1345 1346 @property1347 def Flags(self) -> UIntType: ...1348 1349 @property1350 def Group(self) -> StringType: ...1351 1352 @property1353 def HashAlgorithm(self) -> UIntType: ...1354 1355 @property1356 def HashElements(self) -> ISection: ...1357 1358 @property1359 def HashValue(self) -> ObjectType: ...1360 1361 @property1362 def ResourceFallbackCulture(self) -> StringType: ...1363 1364 @property1365 def Size(self) -> ULongType: ...1366 1367 @property1368 def SupportUrl(self) -> StringType: ...1369 1370 # ---------- Methods ---------- #1371 1372 def get_AllData(self) -> AssemblyReferenceDependentAssemblyEntry: ...1373 1374 def get_Codebase(self) -> StringType: ...1375 1376 def get_Description(self) -> StringType: ...1377 1378 def get_Flags(self) -> UIntType: ...1379 1380 def get_Group(self) -> StringType: ...1381 1382 def get_HashAlgorithm(self) -> UIntType: ...1383 1384 def get_HashElements(self) -> ISection: ...1385 1386 def get_HashValue(self) -> ObjectType: ...1387 1388 def get_ResourceFallbackCulture(self) -> StringType: ...1389 1390 def get_Size(self) -> ULongType: ...1391 1392 def get_SupportUrl(self) -> StringType: ...1393 1394 # No Events1395class IAssemblyReferenceEntry(Protocol):1396 # ---------- Properties ---------- #1397 1398 @property1399 def AllData(self) -> AssemblyReferenceEntry: ...1400 1401 @property1402 def DependentAssembly(self) -> IAssemblyReferenceDependentAssemblyEntry: ...1403 1404 @property1405 def Flags(self) -> UIntType: ...1406 1407 @property1408 def ReferenceIdentity(self) -> IReferenceIdentity: ...1409 1410 # ---------- Methods ---------- #1411 1412 def get_AllData(self) -> AssemblyReferenceEntry: ...1413 1414 def get_DependentAssembly(self) -> IAssemblyReferenceDependentAssemblyEntry: ...1415 1416 def get_Flags(self) -> UIntType: ...1417 1418 def get_ReferenceIdentity(self) -> IReferenceIdentity: ...1419 1420 # No Events1421class IAssemblyRequestEntry(Protocol):1422 # ---------- Properties ---------- #1423 1424 @property1425 def AllData(self) -> AssemblyRequestEntry: ...1426 1427 @property1428 def Name(self) -> StringType: ...1429 1430 @property1431 def permissionSetID(self) -> StringType: ...1432 1433 # ---------- Methods ---------- #1434 1435 def get_AllData(self) -> AssemblyRequestEntry: ...1436 1437 def get_Name(self) -> StringType: ...1438 1439 def get_permissionSetID(self) -> StringType: ...1440 1441 # No Events1442class ICLRSurrogateEntry(Protocol):1443 # ---------- Properties ---------- #1444 1445 @property1446 def AllData(self) -> CLRSurrogateEntry: ...1447 1448 @property1449 def ClassName(self) -> StringType: ...1450 1451 @property1452 def Clsid(self) -> Guid: ...1453 1454 @property1455 def RuntimeVersion(self) -> StringType: ...1456 1457 # ---------- Methods ---------- #1458 1459 def get_AllData(self) -> CLRSurrogateEntry: ...1460 1461 def get_ClassName(self) -> StringType: ...1462 1463 def get_Clsid(self) -> Guid: ...1464 1465 def get_RuntimeVersion(self) -> StringType: ...1466 1467 # No Events1468class ICMS(Protocol):1469 # ---------- Properties ---------- #1470 1471 @property1472 def AssemblyReferenceSection(self) -> ISection: ...1473 1474 @property1475 def AssemblyRequestSection(self) -> ISection: ...1476 1477 @property1478 def CLRSurrogateSection(self) -> ISection: ...1479 1480 @property1481 def COMRedirectionSection(self) -> ISection: ...1482 1483 @property1484 def CategoryMembershipSection(self) -> ISection: ...1485 1486 @property1487 def CompatibleFrameworksSection(self) -> ISection: ...1488 1489 @property1490 def CounterSection(self) -> ISection: ...1491 1492 @property1493 def CounterSetSection(self) -> ISection: ...1494 1495 @property1496 def DirectorySection(self) -> ISection: ...1497 1498 @property1499 def EntryPointSection(self) -> ISection: ...1500 1501 @property1502 def EventMapSection(self) -> ISection: ...1503 1504 @property1505 def EventSection(self) -> ISection: ...1506 1507 @property1508 def EventTagSection(self) -> ISection: ...1509 1510 @property1511 def FileAssociationSection(self) -> ISection: ...1512 1513 @property1514 def FileSection(self) -> ISection: ...1515 1516 @property1517 def Identity(self) -> IDefinitionIdentity: ...1518 1519 @property1520 def MetadataSectionEntry(self) -> ISectionEntry: ...1521 1522 @property1523 def PermissionSetSection(self) -> ISection: ...1524 1525 @property1526 def ProgIdRedirectionSection(self) -> ISection: ...1527 1528 @property1529 def RegistryKeySection(self) -> ISection: ...1530 1531 @property1532 def StringSection(self) -> ISection: ...1533 1534 @property1535 def WindowClassSection(self) -> ISection: ...1536 1537 # ---------- Methods ---------- #1538 1539 def get_AssemblyReferenceSection(self) -> ISection: ...1540 1541 def get_AssemblyRequestSection(self) -> ISection: ...1542 1543 def get_CLRSurrogateSection(self) -> ISection: ...1544 1545 def get_COMRedirectionSection(self) -> ISection: ...1546 1547 def get_CategoryMembershipSection(self) -> ISection: ...1548 1549 def get_CompatibleFrameworksSection(self) -> ISection: ...1550 1551 def get_CounterSection(self) -> ISection: ...1552 1553 def get_CounterSetSection(self) -> ISection: ...1554 1555 def get_DirectorySection(self) -> ISection: ...1556 1557 def get_EntryPointSection(self) -> ISection: ...1558 1559 def get_EventMapSection(self) -> ISection: ...1560 1561 def get_EventSection(self) -> ISection: ...1562 1563 def get_EventTagSection(self) -> ISection: ...1564 1565 def get_FileAssociationSection(self) -> ISection: ...1566 1567 def get_FileSection(self) -> ISection: ...1568 1569 def get_Identity(self) -> IDefinitionIdentity: ...1570 1571 def get_MetadataSectionEntry(self) -> ISectionEntry: ...1572 1573 def get_PermissionSetSection(self) -> ISection: ...1574 1575 def get_ProgIdRedirectionSection(self) -> ISection: ...1576 1577 def get_RegistryKeySection(self) -> ISection: ...1578 1579 def get_StringSection(self) -> ISection: ...1580 1581 def get_WindowClassSection(self) -> ISection: ...1582 1583 # No Events1584class ICOMServerEntry(Protocol):1585 # ---------- Properties ---------- #1586 1587 @property1588 def AllData(self) -> COMServerEntry: ...1589 1590 @property1591 def Clsid(self) -> Guid: ...1592 1593 @property1594 def ConfiguredGuid(self) -> Guid: ...1595 1596 @property1597 def Flags(self) -> UIntType: ...1598 1599 @property1600 def HostFile(self) -> StringType: ...1601 1602 @property1603 def ImplementedClsid(self) -> Guid: ...1604 1605 @property1606 def RuntimeVersion(self) -> StringType: ...1607 1608 @property1609 def ThreadingModel(self) -> UIntType: ...1610 1611 @property1612 def TypeLibrary(self) -> Guid: ...1613 1614 # ---------- Methods ---------- #1615 1616 def get_AllData(self) -> COMServerEntry: ...1617 1618 def get_Clsid(self) -> Guid: ...1619 1620 def get_ConfiguredGuid(self) -> Guid: ...1621 1622 def get_Flags(self) -> UIntType: ...1623 1624 def get_HostFile(self) -> StringType: ...1625 1626 def get_ImplementedClsid(self) -> Guid: ...1627 1628 def get_RuntimeVersion(self) -> StringType: ...1629 1630 def get_ThreadingModel(self) -> UIntType: ...1631 1632 def get_TypeLibrary(self) -> Guid: ...1633 1634 # No Events1635class ICategoryMembershipDataEntry(Protocol):1636 # ---------- Properties ---------- #1637 1638 @property1639 def AllData(self) -> CategoryMembershipDataEntry: ...1640 1641 @property1642 def Description(self) -> StringType: ...1643 1644 @property1645 def Xml(self) -> StringType: ...1646 1647 @property1648 def index(self) -> UIntType: ...1649 1650 # ---------- Methods ---------- #1651 1652 def get_AllData(self) -> CategoryMembershipDataEntry: ...1653 1654 def get_Description(self) -> StringType: ...1655 1656 def get_Xml(self) -> StringType: ...1657 1658 def get_index(self) -> UIntType: ...1659 1660 # No Events1661class ICategoryMembershipEntry(Protocol):1662 # ---------- Properties ---------- #1663 1664 @property1665 def AllData(self) -> CategoryMembershipEntry: ...1666 1667 @property1668 def Identity(self) -> IDefinitionIdentity: ...1669 1670 @property1671 def SubcategoryMembership(self) -> ISection: ...1672 1673 # ---------- Methods ---------- #1674 1675 def get_AllData(self) -> CategoryMembershipEntry: ...1676 1677 def get_Identity(self) -> IDefinitionIdentity: ...1678 1679 def get_SubcategoryMembership(self) -> ISection: ...1680 1681 # No Events1682class ICompatibleFrameworksMetadataEntry(Protocol):1683 # ---------- Properties ---------- #1684 1685 @property1686 def AllData(self) -> CompatibleFrameworksMetadataEntry: ...1687 1688 @property1689 def SupportUrl(self) -> StringType: ...1690 1691 # ---------- Methods ---------- #1692 1693 def get_AllData(self) -> CompatibleFrameworksMetadataEntry: ...1694 1695 def get_SupportUrl(self) -> StringType: ...1696 1697 # No Events1698class IDependentOSMetadataEntry(Protocol):1699 # ---------- Properties ---------- #1700 1701 @property1702 def AllData(self) -> DependentOSMetadataEntry: ...1703 1704 @property1705 def BuildNumber(self) -> UShortType: ...1706 1707 @property1708 def Description(self) -> StringType: ...1709 1710 @property1711 def MajorVersion(self) -> UShortType: ...1712 1713 @property1714 def MinorVersion(self) -> UShortType: ...1715 1716 @property1717 def ServicePackMajor(self) -> ByteType: ...1718 1719 @property1720 def ServicePackMinor(self) -> ByteType: ...1721 1722 @property1723 def SupportUrl(self) -> StringType: ...1724 1725 # ---------- Methods ---------- #1726 1727 def get_AllData(self) -> DependentOSMetadataEntry: ...1728 1729 def get_BuildNumber(self) -> UShortType: ...1730 1731 def get_Description(self) -> StringType: ...1732 1733 def get_MajorVersion(self) -> UShortType: ...1734 1735 def get_MinorVersion(self) -> UShortType: ...1736 1737 def get_ServicePackMajor(self) -> ByteType: ...1738 1739 def get_ServicePackMinor(self) -> ByteType: ...1740 1741 def get_SupportUrl(self) -> StringType: ...1742 1743 # No Events1744class IDeploymentMetadataEntry(Protocol):1745 # ---------- Properties ---------- #1746 1747 @property1748 def AllData(self) -> DeploymentMetadataEntry: ...1749 1750 @property1751 def DeploymentFlags(self) -> UIntType: ...1752 1753 @property1754 def DeploymentProviderCodebase(self) -> StringType: ...1755 1756 @property1757 def MaximumAge(self) -> UShortType: ...1758 1759 @property1760 def MaximumAge_Unit(self) -> ByteType: ...1761 1762 @property1763 def MinimumRequiredVersion(self) -> StringType: ...1764 1765 # ---------- Methods ---------- #1766 1767 def get_AllData(self) -> DeploymentMetadataEntry: ...1768 1769 def get_DeploymentFlags(self) -> UIntType: ...1770 1771 def get_DeploymentProviderCodebase(self) -> StringType: ...1772 1773 def get_MaximumAge(self) -> UShortType: ...1774 1775 def get_MaximumAge_Unit(self) -> ByteType: ...1776 1777 def get_MinimumRequiredVersion(self) -> StringType: ...1778 1779 # No Events1780class IDescriptionMetadataEntry(Protocol):1781 # ---------- Properties ---------- #1782 1783 @property1784 def AllData(self) -> DescriptionMetadataEntry: ...1785 1786 @property1787 def ErrorReportUrl(self) -> StringType: ...1788 1789 @property1790 def IconFile(self) -> StringType: ...1791 1792 @property1793 def Product(self) -> StringType: ...1794 1795 @property1796 def Publisher(self) -> StringType: ...1797 1798 @property1799 def SuiteName(self) -> StringType: ...1800 1801 @property1802 def SupportUrl(self) -> StringType: ...1803 1804 # ---------- Methods ---------- #1805 1806 def get_AllData(self) -> DescriptionMetadataEntry: ...1807 1808 def get_ErrorReportUrl(self) -> StringType: ...1809 1810 def get_IconFile(self) -> StringType: ...1811 1812 def get_Product(self) -> StringType: ...1813 1814 def get_Publisher(self) -> StringType: ...1815 1816 def get_SuiteName(self) -> StringType: ...1817 1818 def get_SupportUrl(self) -> StringType: ...1819 1820 # No Events1821class IEntryPointEntry(Protocol):1822 # ---------- Properties ---------- #1823 1824 @property1825 def AllData(self) -> EntryPointEntry: ...1826 1827 @property1828 def CommandLine_File(self) -> StringType: ...1829 1830 @property1831 def CommandLine_Parameters(self) -> StringType: ...1832 1833 @property1834 def Flags(self) -> UIntType: ...1835 1836 @property1837 def Identity(self) -> IReferenceIdentity: ...1838 1839 @property1840 def Name(self) -> StringType: ...1841 1842 # ---------- Methods ---------- #1843 1844 def get_AllData(self) -> EntryPointEntry: ...1845 1846 def get_CommandLine_File(self) -> StringType: ...1847 1848 def get_CommandLine_Parameters(self) -> StringType: ...1849 1850 def get_Flags(self) -> UIntType: ...1851 1852 def get_Identity(self) -> IReferenceIdentity: ...1853 1854 def get_Name(self) -> StringType: ...1855 1856 # No Events1857class IFileAssociationEntry(Protocol):1858 # ---------- Properties ---------- #1859 1860 @property1861 def AllData(self) -> FileAssociationEntry: ...1862 1863 @property1864 def DefaultIcon(self) -> StringType: ...1865 1866 @property1867 def Description(self) -> StringType: ...1868 1869 @property1870 def Extension(self) -> StringType: ...1871 1872 @property1873 def Parameter(self) -> StringType: ...1874 1875 @property1876 def ProgID(self) -> StringType: ...1877 1878 # ---------- Methods ---------- #1879 1880 def get_AllData(self) -> FileAssociationEntry: ...1881 1882 def get_DefaultIcon(self) -> StringType: ...1883 1884 def get_Description(self) -> StringType: ...1885 1886 def get_Extension(self) -> StringType: ...1887 1888 def get_Parameter(self) -> StringType: ...1889 1890 def get_ProgID(self) -> StringType: ...1891 1892 # No Events1893class IFileEntry(Protocol):1894 # ---------- Properties ---------- #1895 1896 @property1897 def AllData(self) -> FileEntry: ...1898 1899 @property1900 def Flags(self) -> UIntType: ...1901 1902 @property1903 def Group(self) -> StringType: ...1904 1905 @property1906 def HashAlgorithm(self) -> UIntType: ...1907 1908 @property1909 def HashElements(self) -> ISection: ...1910 1911 @property1912 def HashValue(self) -> ObjectType: ...1913 1914 @property1915 def ImportPath(self) -> StringType: ...1916 1917 @property1918 def LoadFrom(self) -> StringType: ...1919 1920 @property1921 def Location(self) -> StringType: ...1922 1923 @property1924 def MuiMapping(self) -> IMuiResourceMapEntry: ...1925 1926 @property1927 def Name(self) -> StringType: ...1928 1929 @property1930 def Size(self) -> ULongType: ...1931 1932 @property1933 def SourceName(self) -> StringType: ...1934 1935 @property1936 def SourcePath(self) -> StringType: ...1937 1938 @property1939 def WritableType(self) -> UIntType: ...1940 1941 # ---------- Methods ---------- #1942 1943 def get_AllData(self) -> FileEntry: ...1944 1945 def get_Flags(self) -> UIntType: ...1946 1947 def get_Group(self) -> StringType: ...1948 1949 def get_HashAlgorithm(self) -> UIntType: ...1950 1951 def get_HashElements(self) -> ISection: ...1952 1953 def get_HashValue(self) -> ObjectType: ...1954 1955 def get_ImportPath(self) -> StringType: ...1956 1957 def get_LoadFrom(self) -> StringType: ...1958 1959 def get_Location(self) -> StringType: ...1960 1961 def get_MuiMapping(self) -> IMuiResourceMapEntry: ...1962 1963 def get_Name(self) -> StringType: ...1964 1965 def get_Size(self) -> ULongType: ...1966 1967 def get_SourceName(self) -> StringType: ...1968 1969 def get_SourcePath(self) -> StringType: ...1970 1971 def get_WritableType(self) -> UIntType: ...1972 1973 # No Events1974class IHashElementEntry(Protocol):1975 # ---------- Properties ---------- #1976 1977 @property1978 def AllData(self) -> HashElementEntry: ...1979 1980 @property1981 def DigestMethod(self) -> ByteType: ...1982 1983 @property1984 def DigestValue(self) -> ObjectType: ...1985 1986 @property1987 def Transform(self) -> ByteType: ...1988 1989 @property1990 def TransformMetadata(self) -> ObjectType: ...1991 1992 @property1993 def Xml(self) -> StringType: ...1994 1995 @property1996 def index(self) -> UIntType: ...1997 1998 # ---------- Methods ---------- #1999 2000 def get_AllData(self) -> HashElementEntry: ...2001 2002 def get_DigestMethod(self) -> ByteType: ...2003 2004 def get_DigestValue(self) -> ObjectType: ...2005 2006 def get_Transform(self) -> ByteType: ...2007 2008 def get_TransformMetadata(self) -> ObjectType: ...2009 2010 def get_Xml(self) -> StringType: ...2011 2012 def get_index(self) -> UIntType: ...2013 2014 # No Events2015class IMetadataSectionEntry(Protocol):2016 # ---------- Properties ---------- #2017 2018 @property2019 def AllData(self) -> MetadataSectionEntry: ...2020 2021 @property2022 def CdfIdentity(self) -> IDefinitionIdentity: ...2023 2024 @property2025 def CompatibleFrameworksData(self) -> ICompatibleFrameworksMetadataEntry: ...2026 2027 @property2028 def ContentType(self) -> StringType: ...2029 2030 @property2031 def DependentOSData(self) -> IDependentOSMetadataEntry: ...2032 2033 @property2034 def DeploymentData(self) -> IDeploymentMetadataEntry: ...2035 2036 @property2037 def DescriptionData(self) -> IDescriptionMetadataEntry: ...2038 2039 @property2040 def HashAlgorithm(self) -> UIntType: ...2041 2042 @property2043 def KeyInfoElement(self) -> StringType: ...2044 2045 @property2046 def LocalPath(self) -> StringType: ...2047 2048 @property2049 def ManifestFlags(self) -> UIntType: ...2050 2051 @property2052 def ManifestHash(self) -> ObjectType: ...2053 2054 @property2055 def MvidValue(self) -> ObjectType: ...2056 2057 @property2058 def RequestedExecutionLevel(self) -> StringType: ...2059 2060 @property2061 def RequestedExecutionLevelUIAccess(self) -> BooleanType: ...2062 2063 @property2064 def ResourceTypeManifestResourcesDependency(self) -> IReferenceIdentity: ...2065 2066 @property2067 def ResourceTypeResourcesDependency(self) -> IReferenceIdentity: ...2068 2069 @property2070 def RuntimeImageVersion(self) -> StringType: ...2071 2072 @property2073 def SchemaVersion(self) -> UIntType: ...2074 2075 @property2076 def UsagePatterns(self) -> UIntType: ...2077 2078 @property2079 def defaultPermissionSetID(self) -> StringType: ...2080 2081 # ---------- Methods ---------- #2082 2083 def get_AllData(self) -> MetadataSectionEntry: ...2084 2085 def get_CdfIdentity(self) -> IDefinitionIdentity: ...2086 2087 def get_CompatibleFrameworksData(self) -> ICompatibleFrameworksMetadataEntry: ...2088 2089 def get_ContentType(self) -> StringType: ...2090 2091 def get_DependentOSData(self) -> IDependentOSMetadataEntry: ...2092 2093 def get_DeploymentData(self) -> IDeploymentMetadataEntry: ...2094 2095 def get_DescriptionData(self) -> IDescriptionMetadataEntry: ...2096 2097 def get_HashAlgorithm(self) -> UIntType: ...2098 2099 def get_KeyInfoElement(self) -> StringType: ...2100 2101 def get_LocalPath(self) -> StringType: ...2102 2103 def get_ManifestFlags(self) -> UIntType: ...2104 2105 def get_ManifestHash(self) -> ObjectType: ...2106 2107 def get_MvidValue(self) -> ObjectType: ...2108 2109 def get_RequestedExecutionLevel(self) -> StringType: ...2110 2111 def get_RequestedExecutionLevelUIAccess(self) -> BooleanType: ...2112 2113 def get_ResourceTypeManifestResourcesDependency(self) -> IReferenceIdentity: ...2114 2115 def get_ResourceTypeResourcesDependency(self) -> IReferenceIdentity: ...2116 2117 def get_RuntimeImageVersion(self) -> StringType: ...2118 2119 def get_SchemaVersion(self) -> UIntType: ...2120 2121 def get_UsagePatterns(self) -> UIntType: ...2122 2123 def get_defaultPermissionSetID(self) -> StringType: ...2124 2125 # No Events2126class IMuiResourceIdLookupMapEntry(Protocol):2127 # ---------- Properties ---------- #2128 2129 @property2130 def AllData(self) -> MuiResourceIdLookupMapEntry: ...2131 2132 @property2133 def Count(self) -> UIntType: ...2134 2135 # ---------- Methods ---------- #2136 2137 def get_AllData(self) -> MuiResourceIdLookupMapEntry: ...2138 2139 def get_Count(self) -> UIntType: ...2140 2141 # No Events2142class IMuiResourceMapEntry(Protocol):2143 # ---------- Properties ---------- #2144 2145 @property2146 def AllData(self) -> MuiResourceMapEntry: ...2147 2148 @property2149 def ResourceTypeIdInt(self) -> ObjectType: ...2150 2151 @property2152 def ResourceTypeIdString(self) -> ObjectType: ...2153 2154 # ---------- Methods ---------- #2155 2156 def get_AllData(self) -> MuiResourceMapEntry: ...2157 2158 def get_ResourceTypeIdInt(self) -> ObjectType: ...2159 2160 def get_ResourceTypeIdString(self) -> ObjectType: ...2161 2162 # No Events2163class IMuiResourceTypeIdIntEntry(Protocol):2164 # ---------- Properties ---------- #2165 2166 @property2167 def AllData(self) -> MuiResourceTypeIdIntEntry: ...2168 2169 @property2170 def IntegerIds(self) -> ObjectType: ...2171 2172 @property2173 def StringIds(self) -> ObjectType: ...2174 2175 # ---------- Methods ---------- #2176 2177 def get_AllData(self) -> MuiResourceTypeIdIntEntry: ...2178 2179 def get_IntegerIds(self) -> ObjectType: ...2180 2181 def get_StringIds(self) -> ObjectType: ...2182 2183 # No Events2184class IMuiResourceTypeIdStringEntry(Protocol):2185 # ---------- Properties ---------- #2186 2187 @property2188 def AllData(self) -> MuiResourceTypeIdStringEntry: ...2189 2190 @property2191 def IntegerIds(self) -> ObjectType: ...2192 2193 @property2194 def StringIds(self) -> ObjectType: ...2195 2196 # ---------- Methods ---------- #2197 2198 def get_AllData(self) -> MuiResourceTypeIdStringEntry: ...2199 2200 def get_IntegerIds(self) -> ObjectType: ...2201 2202 def get_StringIds(self) -> ObjectType: ...2203 2204 # No Events2205class IPermissionSetEntry(Protocol):2206 # ---------- Properties ---------- #2207 2208 @property2209 def AllData(self) -> PermissionSetEntry: ...2210 2211 @property2212 def Id(self) -> StringType: ...2213 2214 @property2215 def XmlSegment(self) -> StringType: ...2216 2217 # ---------- Methods ---------- #2218 2219 def get_AllData(self) -> PermissionSetEntry: ...2220 2221 def get_Id(self) -> StringType: ...2222 2223 def get_XmlSegment(self) -> StringType: ...2224 2225 # No Events2226class IProgIdRedirectionEntry(Protocol):2227 # ---------- Properties ---------- #2228 2229 @property2230 def AllData(self) -> ProgIdRedirectionEntry: ...2231 2232 @property2233 def ProgId(self) -> StringType: ...2234 2235 @property2236 def RedirectedGuid(self) -> Guid: ...2237 2238 # ---------- Methods ---------- #2239 2240 def get_AllData(self) -> ProgIdRedirectionEntry: ...2241 2242 def get_ProgId(self) -> StringType: ...2243 2244 def get_RedirectedGuid(self) -> Guid: ...2245 2246 # No Events2247class IResourceTableMappingEntry(Protocol):2248 # ---------- Properties ---------- #2249 2250 @property2251 def AllData(self) -> ResourceTableMappingEntry: ...2252 2253 @property2254 def FinalStringMapped(self) -> StringType: ...2255 2256 @property2257 def id(self) -> StringType: ...2258 2259 # ---------- Methods ---------- #2260 2261 def get_AllData(self) -> ResourceTableMappingEntry: ...2262 2263 def get_FinalStringMapped(self) -> StringType: ...2264 2265 def get_id(self) -> StringType: ...2266 2267 # No Events2268class ISubcategoryMembershipEntry(Protocol):2269 # ---------- Properties ---------- #2270 2271 @property2272 def AllData(self) -> SubcategoryMembershipEntry: ...2273 2274 @property2275 def CategoryMembershipData(self) -> ISection: ...2276 2277 @property2278 def Subcategory(self) -> StringType: ...2279 2280 # ---------- Methods ---------- #2281 2282 def get_AllData(self) -> SubcategoryMembershipEntry: ...2283 2284 def get_CategoryMembershipData(self) -> ISection: ...2285 2286 def get_Subcategory(self) -> StringType: ...2287 2288 # No Events2289class IWindowClassEntry(Protocol):2290 # ---------- Properties ---------- #2291 2292 @property2293 def AllData(self) -> WindowClassEntry: ...2294 2295 @property2296 def ClassName(self) -> StringType: ...2297 2298 @property2299 def HostDll(self) -> StringType: ...2300 2301 @property2302 def fVersioned(self) -> BooleanType: ...2303 2304 # ---------- Methods ---------- #2305 2306 def get_AllData(self) -> WindowClassEntry: ...2307 2308 def get_ClassName(self) -> StringType: ...2309 2310 def get_HostDll(self) -> StringType: ...2311 2312 def get_fVersioned(self) -> BooleanType: ...2313 2314 # No Events2315# ---------- Enums ---------- #2316class AssemblyReferenceDependentAssemblyEntryFieldId(Enum):2317 AssemblyReferenceDependentAssembly_Group = 02318 AssemblyReferenceDependentAssembly_Codebase = 12319 AssemblyReferenceDependentAssembly_Size = 22320 AssemblyReferenceDependentAssembly_HashValue = 32321 AssemblyReferenceDependentAssembly_HashValueSize = 42322 AssemblyReferenceDependentAssembly_HashAlgorithm = 52323 AssemblyReferenceDependentAssembly_Flags = 62324 AssemblyReferenceDependentAssembly_ResourceFallbackCulture = 72325 AssemblyReferenceDependentAssembly_Description = 82326 AssemblyReferenceDependentAssembly_SupportUrl = 92327 AssemblyReferenceDependentAssembly_HashElements = 102328class AssemblyReferenceEntryFieldId(Enum):2329 AssemblyReference_Flags = 02330 AssemblyReference_DependentAssembly = 12331class AssemblyRequestEntryFieldId(Enum):2332 AssemblyRequest_permissionSetID = 02333class CLRSurrogateEntryFieldId(Enum):2334 CLRSurrogate_RuntimeVersion = 02335 CLRSurrogate_ClassName = 12336class CMSSECTIONID(Enum):2337 CMSSECTIONID_FILE_SECTION = 12338 CMSSECTIONID_CATEGORY_INSTANCE_SECTION = 22339 CMSSECTIONID_COM_REDIRECTION_SECTION = 32340 CMSSECTIONID_PROGID_REDIRECTION_SECTION = 42341 CMSSECTIONID_CLR_SURROGATE_SECTION = 52342 CMSSECTIONID_ASSEMBLY_REFERENCE_SECTION = 62343 CMSSECTIONID_WINDOW_CLASS_SECTION = 82344 CMSSECTIONID_STRING_SECTION = 92345 CMSSECTIONID_ENTRYPOINT_SECTION = 102346 CMSSECTIONID_PERMISSION_SET_SECTION = 112347 CMSSECTIONENTRYID_METADATA = 122348 CMSSECTIONID_ASSEMBLY_REQUEST_SECTION = 132349 CMSSECTIONID_REGISTRY_KEY_SECTION = 162350 CMSSECTIONID_DIRECTORY_SECTION = 172351 CMSSECTIONID_FILE_ASSOCIATION_SECTION = 182352 CMSSECTIONID_COMPATIBLE_FRAMEWORKS_SECTION = 192353 CMSSECTIONID_EVENT_SECTION = 1012354 CMSSECTIONID_EVENT_MAP_SECTION = 1022355 CMSSECTIONID_EVENT_TAG_SECTION = 1032356 CMSSECTIONID_COUNTERSET_SECTION = 1102357 CMSSECTIONID_COUNTER_SECTION = 1112358class CMS_ASSEMBLY_DEPLOYMENT_FLAG(Enum):2359 CMS_ASSEMBLY_DEPLOYMENT_FLAG_BEFORE_APPLICATION_STARTUP = 42360 CMS_ASSEMBLY_DEPLOYMENT_FLAG_RUN_AFTER_INSTALL = 162361 CMS_ASSEMBLY_DEPLOYMENT_FLAG_INSTALL = 322362 CMS_ASSEMBLY_DEPLOYMENT_FLAG_TRUST_URL_PARAMETERS = 642363 CMS_ASSEMBLY_DEPLOYMENT_FLAG_DISALLOW_URL_ACTIVATION = 1282364 CMS_ASSEMBLY_DEPLOYMENT_FLAG_MAP_FILE_EXTENSIONS = 2562365 CMS_ASSEMBLY_DEPLOYMENT_FLAG_CREATE_DESKTOP_SHORTCUT = 5122366class CMS_ASSEMBLY_REFERENCE_DEPENDENT_ASSEMBLY_FLAG(Enum):2367 CMS_ASSEMBLY_REFERENCE_DEPENDENT_ASSEMBLY_FLAG_OPTIONAL = 12368 CMS_ASSEMBLY_REFERENCE_DEPENDENT_ASSEMBLY_FLAG_VISIBLE = 22369 CMS_ASSEMBLY_REFERENCE_DEPENDENT_ASSEMBLY_FLAG_PREREQUISITE = 42370 CMS_ASSEMBLY_REFERENCE_DEPENDENT_ASSEMBLY_FLAG_RESOURCE_FALLBACK_CULTURE_INTERNAL = 82371 CMS_ASSEMBLY_REFERENCE_DEPENDENT_ASSEMBLY_FLAG_INSTALL = 162372 CMS_ASSEMBLY_REFERENCE_DEPENDENT_ASSEMBLY_FLAG_ALLOW_DELAYED_BINDING = 322373class CMS_ASSEMBLY_REFERENCE_FLAG(Enum):2374 CMS_ASSEMBLY_REFERENCE_FLAG_OPTIONAL = 12375 CMS_ASSEMBLY_REFERENCE_FLAG_VISIBLE = 22376 CMS_ASSEMBLY_REFERENCE_FLAG_FOLLOW = 42377 CMS_ASSEMBLY_REFERENCE_FLAG_IS_PLATFORM = 82378 CMS_ASSEMBLY_REFERENCE_FLAG_CULTURE_WILDCARDED = 162379 CMS_ASSEMBLY_REFERENCE_FLAG_PROCESSOR_ARCHITECTURE_WILDCARDED = 322380 CMS_ASSEMBLY_REFERENCE_FLAG_PREREQUISITE = 1282381class CMS_COM_SERVER_FLAG(Enum):2382 CMS_COM_SERVER_FLAG_IS_CLR_CLASS = 12383class CMS_ENTRY_POINT_FLAG(Enum):2384 CMS_ENTRY_POINT_FLAG_HOST_IN_BROWSER = 12385 CMS_ENTRY_POINT_FLAG_CUSTOMHOSTSPECIFIED = 22386 CMS_ENTRY_POINT_FLAG_CUSTOMUX = 42387class CMS_FILE_FLAG(Enum):2388 CMS_FILE_FLAG_OPTIONAL = 12389class CMS_FILE_HASH_ALGORITHM(Enum):2390 CMS_FILE_HASH_ALGORITHM_SHA1 = 12391 CMS_FILE_HASH_ALGORITHM_SHA256 = 22392 CMS_FILE_HASH_ALGORITHM_SHA384 = 32393 CMS_FILE_HASH_ALGORITHM_SHA512 = 42394 CMS_FILE_HASH_ALGORITHM_MD5 = 52395 CMS_FILE_HASH_ALGORITHM_MD4 = 62396 CMS_FILE_HASH_ALGORITHM_MD2 = 72397class CMS_FILE_WRITABLE_TYPE(Enum):2398 CMS_FILE_WRITABLE_TYPE_NOT_WRITABLE = 12399 CMS_FILE_WRITABLE_TYPE_APPLICATION_DATA = 22400class CMS_HASH_DIGESTMETHOD(Enum):2401 CMS_HASH_DIGESTMETHOD_SHA1 = 12402 CMS_HASH_DIGESTMETHOD_SHA256 = 22403 CMS_HASH_DIGESTMETHOD_SHA384 = 32404 CMS_HASH_DIGESTMETHOD_SHA512 = 42405class CMS_HASH_TRANSFORM(Enum):2406 CMS_HASH_TRANSFORM_IDENTITY = 12407 CMS_HASH_TRANSFORM_MANIFESTINVARIANT = 22408class CMS_SCHEMA_VERSION(Enum):2409 CMS_SCHEMA_VERSION_V1 = 12410class CMS_TIME_UNIT_TYPE(Enum):2411 CMS_TIME_UNIT_TYPE_HOURS = 12412 CMS_TIME_UNIT_TYPE_DAYS = 22413 CMS_TIME_UNIT_TYPE_WEEKS = 32414 CMS_TIME_UNIT_TYPE_MONTHS = 42415class CMS_USAGE_PATTERN(Enum):2416 CMS_USAGE_PATTERN_SCOPE_APPLICATION = 12417 CMS_USAGE_PATTERN_SCOPE_PROCESS = 22418 CMS_USAGE_PATTERN_SCOPE_MACHINE = 32419 CMS_USAGE_PATTERN_SCOPE_MASK = 72420class COMServerEntryFieldId(Enum):2421 COMServer_Flags = 02422 COMServer_ConfiguredGuid = 12423 COMServer_ImplementedClsid = 22424 COMServer_TypeLibrary = 32425 COMServer_ThreadingModel = 42426 COMServer_RuntimeVersion = 52427 COMServer_HostFile = 62428class CategoryMembershipDataEntryFieldId(Enum):2429 CategoryMembershipData_Xml = 02430 CategoryMembershipData_Description = 12431class CategoryMembershipEntryFieldId(Enum):2432 CategoryMembership_SubcategoryMembership = 02433class CompatibleFrameworksMetadataEntryFieldId(Enum):2434 CompatibleFrameworksMetadata_SupportUrl = 02435class DependentOSMetadataEntryFieldId(Enum):2436 DependentOSMetadata_SupportUrl = 02437 DependentOSMetadata_Description = 12438 DependentOSMetadata_MajorVersion = 22439 DependentOSMetadata_MinorVersion = 32440 DependentOSMetadata_BuildNumber = 42441 DependentOSMetadata_ServicePackMajor = 52442 DependentOSMetadata_ServicePackMinor = 62443class DeploymentMetadataEntryFieldId(Enum):2444 DeploymentMetadata_DeploymentProviderCodebase = 02445 DeploymentMetadata_MinimumRequiredVersion = 12446 DeploymentMetadata_MaximumAge = 22447 DeploymentMetadata_MaximumAge_Unit = 32448 DeploymentMetadata_DeploymentFlags = 42449class DescriptionMetadataEntryFieldId(Enum):2450 DescriptionMetadata_Publisher = 02451 DescriptionMetadata_Product = 12452 DescriptionMetadata_SupportUrl = 22453 DescriptionMetadata_IconFile = 32454 DescriptionMetadata_ErrorReportUrl = 42455 DescriptionMetadata_SuiteName = 52456class EntryPointEntryFieldId(Enum):2457 EntryPoint_CommandLine_File = 02458 EntryPoint_CommandLine_Parameters = 12459 EntryPoint_Identity = 22460 EntryPoint_Flags = 32461class FileAssociationEntryFieldId(Enum):2462 FileAssociation_Description = 02463 FileAssociation_ProgID = 12464 FileAssociation_DefaultIcon = 22465 FileAssociation_Parameter = 32466class FileEntryFieldId(Enum):2467 File_HashAlgorithm = 02468 File_LoadFrom = 12469 File_SourcePath = 22470 File_ImportPath = 32471 File_SourceName = 42472 File_Location = 52473 File_HashValue = 62474 File_HashValueSize = 72475 File_Size = 82476 File_Group = 92477 File_Flags = 102478 File_MuiMapping = 112479 File_WritableType = 122480 File_HashElements = 132481class HashElementEntryFieldId(Enum):2482 HashElement_Transform = 02483 HashElement_TransformMetadata = 12484 HashElement_TransformMetadataSize = 22485 HashElement_DigestMethod = 32486 HashElement_DigestValue = 42487 HashElement_DigestValueSize = 52488 HashElement_Xml = 62489class MetadataSectionEntryFieldId(Enum):2490 MetadataSection_SchemaVersion = 02491 MetadataSection_ManifestFlags = 12492 MetadataSection_UsagePatterns = 22493 MetadataSection_CdfIdentity = 32494 MetadataSection_LocalPath = 42495 MetadataSection_HashAlgorithm = 52496 MetadataSection_ManifestHash = 62497 MetadataSection_ManifestHashSize = 72498 MetadataSection_ContentType = 82499 MetadataSection_RuntimeImageVersion = 92500 MetadataSection_MvidValue = 102501 MetadataSection_MvidValueSize = 112502 MetadataSection_DescriptionData = 122503 MetadataSection_DeploymentData = 132504 MetadataSection_DependentOSData = 142505 MetadataSection_defaultPermissionSetID = 152506 MetadataSection_RequestedExecutionLevel = 162507 MetadataSection_RequestedExecutionLevelUIAccess = 172508 MetadataSection_ResourceTypeResourcesDependency = 182509 MetadataSection_ResourceTypeManifestResourcesDependency = 192510 MetadataSection_KeyInfoElement = 202511 MetadataSection_CompatibleFrameworksData = 212512class MuiResourceIdLookupMapEntryFieldId(Enum):2513 MuiResourceIdLookupMap_Count = 02514class MuiResourceMapEntryFieldId(Enum):2515 MuiResourceMap_ResourceTypeIdInt = 02516 MuiResourceMap_ResourceTypeIdIntSize = 12517 MuiResourceMap_ResourceTypeIdString = 22518 MuiResourceMap_ResourceTypeIdStringSize = 32519class MuiResourceTypeIdIntEntryFieldId(Enum):2520 MuiResourceTypeIdInt_StringIds = 02521 MuiResourceTypeIdInt_StringIdsSize = 12522 MuiResourceTypeIdInt_IntegerIds = 22523 MuiResourceTypeIdInt_IntegerIdsSize = 32524class MuiResourceTypeIdStringEntryFieldId(Enum):2525 MuiResourceTypeIdString_StringIds = 02526 MuiResourceTypeIdString_StringIdsSize = 12527 MuiResourceTypeIdString_IntegerIds = 22528 MuiResourceTypeIdString_IntegerIdsSize = 32529class PermissionSetEntryFieldId(Enum):2530 PermissionSet_XmlSegment = 02531class ProgIdRedirectionEntryFieldId(Enum):2532 ProgIdRedirection_RedirectedGuid = 02533class ResourceTableMappingEntryFieldId(Enum):2534 ResourceTableMapping_FinalStringMapped = 02535class SubcategoryMembershipEntryFieldId(Enum):2536 SubcategoryMembership_CategoryMembershipData = 02537class WindowClassEntryFieldId(Enum):2538 WindowClass_HostDll = 02539 WindowClass_fVersioned = 12540# No Delegates2541__all__ = [2542 AssemblyReferenceDependentAssemblyEntry,2543 AssemblyReferenceEntry,2544 AssemblyRequestEntry,2545 CLRSurrogateEntry,2546 COMServerEntry,2547 CategoryMembershipDataEntry,2548 CategoryMembershipEntry,2549 CmsUtils,2550 CompatibleFrameworksMetadataEntry,2551 DependentOSMetadataEntry,2552 DeploymentMetadataEntry,2553 DescriptionMetadataEntry,2554 EntryPointEntry,2555 FileAssociationEntry,2556 FileEntry,2557 HashElementEntry,2558 MetadataSectionEntry,2559 MuiResourceIdLookupMapEntry,2560 MuiResourceMapEntry,2561 MuiResourceTypeIdIntEntry,2562 MuiResourceTypeIdStringEntry,2563 PermissionSetEntry,2564 ProgIdRedirectionEntry,2565 ResourceTableMappingEntry,2566 SubcategoryMembershipEntry,2567 WindowClassEntry,2568 IAssemblyReferenceDependentAssemblyEntry,2569 IAssemblyReferenceEntry,2570 IAssemblyRequestEntry,2571 ICLRSurrogateEntry,2572 ICMS,2573 ICOMServerEntry,2574 ICategoryMembershipDataEntry,2575 ICategoryMembershipEntry,2576 ICompatibleFrameworksMetadataEntry,2577 IDependentOSMetadataEntry,2578 IDeploymentMetadataEntry,2579 IDescriptionMetadataEntry,2580 IEntryPointEntry,2581 IFileAssociationEntry,2582 IFileEntry,2583 IHashElementEntry,2584 IMetadataSectionEntry,2585 IMuiResourceIdLookupMapEntry,2586 IMuiResourceMapEntry,2587 IMuiResourceTypeIdIntEntry,2588 IMuiResourceTypeIdStringEntry,2589 IPermissionSetEntry,2590 IProgIdRedirectionEntry,2591 IResourceTableMappingEntry,2592 ISubcategoryMembershipEntry,2593 IWindowClassEntry,2594 AssemblyReferenceDependentAssemblyEntryFieldId,2595 AssemblyReferenceEntryFieldId,2596 AssemblyRequestEntryFieldId,2597 CLRSurrogateEntryFieldId,2598 CMSSECTIONID,2599 CMS_ASSEMBLY_DEPLOYMENT_FLAG,2600 CMS_ASSEMBLY_REFERENCE_DEPENDENT_ASSEMBLY_FLAG,2601 CMS_ASSEMBLY_REFERENCE_FLAG,2602 CMS_COM_SERVER_FLAG,2603 CMS_ENTRY_POINT_FLAG,2604 CMS_FILE_FLAG,2605 CMS_FILE_HASH_ALGORITHM,2606 CMS_FILE_WRITABLE_TYPE,2607 CMS_HASH_DIGESTMETHOD,2608 CMS_HASH_TRANSFORM,2609 CMS_SCHEMA_VERSION,2610 CMS_TIME_UNIT_TYPE,2611 CMS_USAGE_PATTERN,2612 COMServerEntryFieldId,2613 CategoryMembershipDataEntryFieldId,2614 CategoryMembershipEntryFieldId,2615 CompatibleFrameworksMetadataEntryFieldId,2616 DependentOSMetadataEntryFieldId,2617 DeploymentMetadataEntryFieldId,2618 DescriptionMetadataEntryFieldId,2619 EntryPointEntryFieldId,2620 FileAssociationEntryFieldId,2621 FileEntryFieldId,2622 HashElementEntryFieldId,2623 MetadataSectionEntryFieldId,2624 MuiResourceIdLookupMapEntryFieldId,2625 MuiResourceMapEntryFieldId,2626 MuiResourceTypeIdIntEntryFieldId,2627 MuiResourceTypeIdStringEntryFieldId,2628 PermissionSetEntryFieldId,2629 ProgIdRedirectionEntryFieldId,2630 ResourceTableMappingEntryFieldId,2631 SubcategoryMembershipEntryFieldId,2632 WindowClassEntryFieldId,...
buildfaster_report.py
Source:buildfaster_report.py
...228 for jobtype, patterns in _jobtype_patterns:229 for pattern in patterns:230 if re.match(pattern, buildername):231 return jobtype232def get_suitename(buildername):233 test_names = ['opt test', 'debug test', 'talos']234 if not any(t in buildername for t in test_names):235 return None236 return buildername.split()[-1]237def get_submittime(schedulerdb, buildrow, props):238 r_key = "buildfaster:submittime:%s" % buildrow.id239 retval = cache.get(r_key)240 if retval:241 try:242 cache.put(r_key, retval, two_days)243 if retval is None or retval == 'None':244 return None245 return datetime.datetime.utcfromtimestamp(int(retval))246 except:247 traceback.print_exc()248 cache.delete(r_key)249 master_name = get_master_dbname(buildrow.master_url)250 schedulerdb_conn = schedulerdb.connect()251 rows = schedulerdb_conn.execute(252 submittime_q,253 number=buildrow.buildnumber,254 buildername=props['buildername'],255 claimed_by_name=master_name,256 ).fetchall()257 if len(rows) >= 1:258 # Find the closest starttime259 rows.sort(key=lambda row: abs(datetime.datetime.utcfromtimestamp(row.start_time) - buildrow.starttime))260 retval = rows[0].submitted_at261 elif len(rows) == 0:262 logger.debug(str(buildrow))263 logger.debug(str(props))264 logger.debug(str(master_name))265 retval = None266 if args.assert_on_missing:267 assert False268 return None269 cache.put(r_key, retval, two_days)270 if retval is None:271 return None272 return datetime.datetime.utcfromtimestamp(retval)273def get_revision(buildrow):274 return buildrow.revision275def get_master_dbname(master_url):276 name = master_url[len("http://"):]277 name, port = name.split(":")278 port = int(port)279 name = name.split(".")[0]280 for m in masters:281 if m['db_name'].startswith(name) and m['http_port'] == port:282 return m['db_name']283def get_masterurl(claimed_by_name):284 for m in masters:285 if m['db_name'] == claimed_by_name:286 hostname = m['db_name'].split(":")[0]287 port = m['http_port']288 return "http://%s:%s" % (hostname, port)289_worksteps = [290 ('.*jsreftest', ['jsreftest', 'run_script']),291 ('.*reftest-no-accel', ['opengl-no-accel', 'reftest-no-d2d-d3d', 'run_script']),292 ('.*reftest', ['reftest', 'run_script']),293 ('.*reftest-ipc', ['reftest', 'run_script']),294 ('.*crashtest', ['crashtest', 'run_script']),295 ('.*xpcshell', ['xpcshell', 'run_script']),296 ('.*jittest', ['run_script']),297 ('.*cppunit', ['run_script']),298 ('.*mochitest-other', ['mochitest-chrome', 'mochitest-browser-chrome', 'mochitest-a11y', 'mochitest-ipcplugins', 'run_script']),299 ('.*jetpack', ['jetpack', 'run_script', 'testpkgs', 'testaddons']),300 ('.*mochitests-\d/\d', ['mochitest-plain-\d', 'run_script']),301 ('.*mochitest-metro-chrome', ['mochitest-metro-chrome', 'run_script']),302 ('.*mochitest-\d', ['mochitest-plain', 'run_script']),303 ('.*mochitest-gl', ['mochitest-plain', 'run_script']),304 ('.*mochitest-devtools-chrome', ['run_script']),305 ('.*mochitest-e10s', ['run_script']),306 ('.*robocop.*', ['mochitest-robocop', 'run_script']),307 ('.*talos.*', ['Run performance tests', 'run_script']),308 ('.*browser-chrome', ['mochitest-browser-chrome', 'run_script']),309 ('.*remote-tdhtml', ['mochitest-browser-chrome', 'run_script']),310 ('.*peptest', ['run_script']),311 ('.*marionette', ['run_script']),312 ('Android.*(?!talos)', ['compile', 'make_buildsymbols', 'make_pkg_tests', 'make_pkg', 'run_script']),313 ('(Linux|OS X|WINNT|Win32).*', ['compile', 'make_buildsymbols', 'make_pkg_tests', 'make_pkg', 'make_complete_mar', 'run_script', 'check']),314 ('b2g', ['compile', 'make_pkg', 'run_script']),315 ('B2G', ['compile', 'make_pkg', 'run_script']),316 ('.*web-platform-tests.*', ['run_script']),317]318def get_worktime(buildrow, props):319 r_key = "buildfaster:worktime:%s" % buildrow.id320 retval = cache.get(r_key)321 if retval:322 try:323 cache.put(r_key, retval, two_days)324 return datetime.timedelta(seconds=int(retval))325 except:326 traceback.print_exc()327 cache.delete(r_key)328 buildername = props['buildername']329 for builder, worksteps in _worksteps:330 if re.match(builder, buildername):331 break332 else:333 logger.warning("Couldn't determine worksteps for %s", buildername)334 worksteps = None335 if args.assert_on_missing:336 assert False337 worktime = datetime.timedelta()338 overhead = datetime.timedelta()339 matched = False340 steps = []341 if not worksteps:342 logger.debug('No worksteps to match. Skipping step lookup.')343 else:344 # Get the steps345 statusdb_conn = statusdb.connect()346 steps = statusdb_conn.execute(worksteps_q, buildid=buildrow.id).fetchall()347 for step in steps:348 if any(re.match(ws, step.name) for ws in worksteps):349 matched = True350 if not step.starttime or not step.endtime:351 continue352 worktime += (step.endtime - step.starttime)353 else:354 if not step.starttime or not step.endtime:355 continue356 overhead += (step.endtime - step.starttime)357 if not matched:358 logger.warning("Workstep not matched.")359 logger.warning(buildername)360 # New builds may introduce new steps. Spit out a list of steps361 # when running in debug mode so we can make additions. Our warnings362 # above will let us know when we should turn debug on.363 for step in steps:364 logger.debug(step)365 if args.assert_on_missing:366 assert False367 return None368 logger.debug("worktime + overhead: %s", worktime + overhead)369 cache.put(r_key, td2secs(worktime), two_days)370 return worktime371if __name__ == "__main__":372 parser = argparse.ArgumentParser()373 parser.add_argument("csvfile", type=str, help="CSV outputfile")374 parser.add_argument("-v", "--verbose", help="Output debug info",375 action="store_true")376 parser.add_argument("-a", "--assert_on_missing", help="Assert on missing lookups",377 action="store_true")378 args = parser.parse_args()379 logger = logging.getLogger('buildfaster')380 ch = logging.StreamHandler()381 formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')382 ch.setFormatter(formatter)383 if args.verbose:384 logger.setLevel(logging.DEBUG)385 ch.setLevel(logging.DEBUG)386 else:387 logger.setLevel(logging.INFO)388 ch.setLevel(logging.INFO)389 logger.addHandler(ch)390 if not args.csvfile:391 logger.warning("csvfile not set!")392 assert args.csvfile393 # Do db query setup394 builds_q = sa.text(builds_sql)395 props_q = sa.text(props_sql)396 submittime_q = sa.text(submittime_sql)397 worksteps_q = sa.text(worksteps_sql)398 masters = json.load(urllib.urlopen("https://hg.mozilla.org/build/tools/raw-file/default/buildfarm/maintenance/production-masters.json"))399 start = (datetime.datetime.now() - datetime.timedelta(days=30)).strftime("%Y-%m-%d")400 today = datetime.datetime.now().strftime("%Y-%m-%d")401 t = time.time()402 builds = get_builds('mozilla-central', start, today)403 logger.debug("get_builds: %s", str(time.time() - t))404 output = csv.writer(open(args.csvfile, 'w'))405 output.writerow(['submitted_at', 'revision', 'os', 'jobtype', 'suitename', 'uid', 'results', 'wait_time', 'start_time', 'finish_time', 'elapsed', 'work_time', 'builder_name', 'slave_name'])406 for buildrow in builds:407 t = time.time()408 props = get_props(buildrow)409 logger.debug("get_props: %s", str(time.time() - t))410 if 'buildername' not in props:411 logger.debug("Skipping...")412 logger.debug(str(buildrow))413 logger.debug(str(props))414 continue415 if ignore_build(props['buildername']):416 continue417 uid = props.get('builduid')418 os = get_platform(props['buildername'])419 jobtype = get_jobtype(props['buildername'])420 suitename = get_suitename(props['buildername'])421 if os is None or jobtype is None:422 if os is None:423 logger.warning("OS lookup failed")424 elif jobtype is None:425 logger.warning("Jobtype lookup failed")426 logger.warning(props['buildername'])427 if args.assert_on_missing:428 assert False, props['buildername']429 continue430 t = time.time()431 submitted_at = get_submittime(schedulerdb, buildrow, props)432 logger.debug("get_submittime: %s", str(time.time() - t))433 if not submitted_at:434 continue...
pytester.py
Source:pytester.py
...27 cleanname = item.name.split('[', 1)[1]28 cleanname = cleanname.split(']', 1)[0]29 return cleanname30 return item.name31def get_suitename(name):32 """Extract a test suite from a clean name.33 This is fragile. It assumes there are no underscores in34 suite names, which is not always true.35 """36 prefix, rest = name.split(':', 1)37 if prefix.startswith('start_') or prefix.startswith('stop_'):38 prefix = prefix.split('_', 1)[1]39 suite = rest.split('_', 1)[0]40 return prefix + ':' + suite41def c_pytest_collection_modifyitems(items, config):42 """Set the starters and stoppers for a limited collection of tests."""43 latest_suite = None44 latest_item = None45 for item in items:46 cleanname = get_cleanname(item)47 if ':' not in cleanname:48 continue49 prefix, testname = cleanname.split('_', 1)50 suitename = get_suitename(cleanname)51 if prefix == 'start' or prefix == 'stop':52 continue53 if latest_suite != suitename:54 item.starter = STARTS[suitename]55 if latest_item:56 latest_item.stopper = STOPS[57 get_suitename(get_cleanname(latest_item))]58 latest_suite = suitename59 latest_item = item60 # Set the last stopper in the list61 if latest_item:62 latest_item.stopper = STOPS[get_suitename(get_cleanname(latest_item))]63def a_pytest_collection_modifyitems(items, config):64 """Traverse collected tests to save START and STOPS.65 Remove those START and STOPS from the tests to run.66 """67 remaining = []68 deselected = []69 for item in items:70 cleanname = get_cleanname(item)71 if ':' not in cleanname:72 remaining.append(item)73 continue74 suitename = get_suitename(cleanname)75 if cleanname.startswith('start_'):76 test = item.callspec.params['test']77 result = item.callspec.params['result']78 # TODO(cdent): Consider a named tuple here79 STARTS[suitename] = (test, result, [])80 deselected.append(item)81 elif cleanname.startswith('stop_'):82 test = item.callspec.params['test']83 STOPS[suitename] = test84 deselected.append(item)85 else:86 remaining.append(item)87 # Add each kept test to the start fixture88 # in case we need to skip all the tests....
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!