Type.registerNamespace("Microsoft.UpdateServices.Catalog"); Microsoft.UpdateServices.Catalog.Constants = function() { } Microsoft.UpdateServices.Catalog.Constants.registerClass("Microsoft.UpdateServices.Catalog.Constants"); Microsoft.UpdateServices.Catalog.Constants.UndefinedValue; Microsoft.UpdateServices.Catalog.Constants.NumericValue = 0; //0x0 Microsoft.UpdateServices.Catalog.Constants.Stamp = 0; //0x0 Microsoft.UpdateServices.Catalog.Constants.MaxInt = 2147483647; //0x7FFFFFFF Microsoft.UpdateServices.Catalog.Constants.UnitMB = 1048576; Microsoft.UpdateServices.Catalog.Constants.UnitKB = 1024; Microsoft.UpdateServices.Catalog.Constants.ThanksNoScripting = 100; //0x64 Microsoft.UpdateServices.Catalog.Constants.ThanksNoActiveX = 110; //0x6E Microsoft.UpdateServices.Catalog.Constants.ThanksUserDataDisabled = 120; //0x78 Microsoft.UpdateServices.Catalog.Constants.ThanksUnsupportedCPU = 130; //0x82 Microsoft.UpdateServices.Catalog.Constants.ThanksUnsupportedBrowser = 140; //0x8C Microsoft.UpdateServices.Catalog.Constants.ThanksUnsupportedOs = 150; //0x96 Microsoft.UpdateServices.Catalog.Constants.ThanksSiteUnavailable = 160; //0xA0 Microsoft.UpdateServices.Catalog.Constants.ThanksDefault = 170; //0xAA Microsoft.UpdateServices.Catalog.Constants.ThanksControlNotInstalled = 180; //0xB4 Microsoft.UpdateServices.Catalog.Constants.ThanksUpdateNotFound = 190; //0xBE Microsoft.UpdateServices.Catalog.Constants.ErrorArgumentInvalid = -1914961919; //0x8DDC0001 Microsoft.UpdateServices.Catalog.Constants.ErrorPersistenceStorageVersionCorrupted = -1914961918; //0x8DDC0002 Microsoft.UpdateServices.Catalog.Constants.ErrorPersistenceStorageStampCorrupted = -1914961917; //0x8DDC0003 Microsoft.UpdateServices.Catalog.Constants.ErrorPersistenceStorageDataCorrupted = -1914961916; //0x8DDC0004 Microsoft.UpdateServices.Catalog.Constants.ErrorPersistenceStorageFull = -1914961915; //0x8DDC0005 Microsoft.UpdateServices.Catalog.Constants.ErrorPersistenceStorageAccessDenied = -1914961914; //0x8DDC0006 Microsoft.UpdateServices.Catalog.Constants.ErrorPersistenceUpdateDataCorrupted = -1914961913; //0x8DDC0007 Microsoft.UpdateServices.Catalog.Constants.ErrorPersistenceUpdateVersionUnknown = -1914961912; //0x8DDC0008 Microsoft.UpdateServices.Catalog.Constants.ErrorEulaInvalid = -1914961911; //0x8DDC0009 Microsoft.UpdateServices.Catalog.Constants.ErrorDefault = -1914896383; //0x8DDD0001 Microsoft.UpdateServices.Catalog.Constants.ErrorNotAdmin = -1914896381; //0x8DDD0003 Microsoft.UpdateServices.Catalog.Constants.ErrorIis404 = -1914896369; //0x8DDD000F Microsoft.UpdateServices.Catalog.Constants.ErrorIis500 = -1914896368; //0x8DDD0010 Microsoft.UpdateServices.Catalog.Constants.ErrorScriptError = -1914896352; //0x8DDD0020 Microsoft.UpdateServices.Catalog.Constants.ErrorWsusImportApiNotPresent = -1914896351; //0x8DDD0021 Microsoft.UpdateServices.Catalog.Constants.ErrorCorruptBasket = -1914896350; //0x8DDD0022 Microsoft.UpdateServices.Catalog.Constants.ErrorDownloadGeneric = -1914896349; //0x8DDD0023 Microsoft.UpdateServices.Catalog.Constants.ErrorUpdateNotFound = -1914896348; //0x8DDD0024 Microsoft.UpdateServices.Catalog.Constants.CancelAllClicked = -1914896335; //0x8DDD0031 Microsoft.UpdateServices.Catalog.Constants.CancelOneClicked = -1914896334; //0x8DDD0032 Microsoft.UpdateServices.Catalog.Constants.ErrorUnexpected = -2144862207; //0x80280001 Microsoft.UpdateServices.Catalog.Constants.ErrorDuplicateItem = -2144862206; //0x80280002 Microsoft.UpdateServices.Catalog.Constants.ErrorInvalidFile = -2144862205; //0x80280003 Microsoft.UpdateServices.Catalog.Constants.ErrorControlNotInitialized = -2144862204; //0x80280004 Microsoft.UpdateServices.Catalog.Constants.ErrorBadAllocation = -2144862203; //0x80280005 Microsoft.UpdateServices.Catalog.Constants.ErrorPathNotAttainable = -2144862202; //0x80280006 Microsoft.UpdateServices.Catalog.Constants.ErrorUnknownAlgorithm = -2144862201; //0x80280007 Microsoft.UpdateServices.Catalog.Constants.ErrorInvalidFileDigest = -2144862200; //0x80280008 Microsoft.UpdateServices.Catalog.Constants.ErrorAllFilesExist = -2144862198; //0x8028000A Microsoft.UpdateServices.Catalog.Constants.ErrorWsusImportWebException = -2146233079; //0x80131509 Microsoft.UpdateServices.Catalog.Constants.ErrorFailToConnectToBits = -2144854015; //0x80282001 Microsoft.UpdateServices.Catalog.Constants.ErrorBitsJobNotFound = -2144854014; //0x80282002 Microsoft.UpdateServices.Catalog.Constants.ErrorInvalidDownloadInfo = -2144854013; //0x80282003 Microsoft.UpdateServices.Catalog.Constants.ErrorEmptyDownloadInfo = -2144854012; //0x80282004 Microsoft.UpdateServices.Catalog.Constants.ErrorBitsJobAlreadyExists = -2144854011; //0x80282005 Microsoft.UpdateServices.Catalog.Constants.ErrorDownloadStatusNoBitsJob = -2144854010; //0x80282006 Microsoft.UpdateServices.Catalog.Constants.ErrorUserDataFull = -2147024857; //0x80070027 Microsoft.UpdateServices.Catalog.Constants.ErrorBitsProxyAuthenticationRequired = -2145844841; //0x80190197 Microsoft.UpdateServices.Catalog.Constants.MaximumFailedAuthenticationCount = 3; //0x3 Microsoft.UpdateServices.Catalog.Constants.AuthenticationDialogOKCommand = 'ok'; Microsoft.UpdateServices.Catalog.Constants.AuthenticationDialogCancelCommand = 'cancel'; Microsoft.UpdateServices.Catalog.Constants.EmptyString = ''; Microsoft.UpdateServices.Catalog.Constants.UpdateIDLangSeparator = ':'; Microsoft.UpdateServices.Catalog.Constants.UpdateInfoSeparator = ','; Microsoft.UpdateServices.Catalog.Constants.UpdatesSeparator = '#'; Microsoft.UpdateServices.Catalog.Constants.QueryStringUpdateID = 'updateid'; Microsoft.UpdateServices.Catalog.Constants.QueryStringQuery = 'q'; Microsoft.UpdateServices.Catalog.Constants.QueryStringId = 'id'; Microsoft.UpdateServices.Catalog.Constants.QueryStringErrors = 'errors'; Microsoft.UpdateServices.Catalog.Constants.QueryStringSKU = 'sku'; Microsoft.UpdateServices.Catalog.Constants.QueryStringWsusApiPresent = 'wsusapipresent'; Microsoft.UpdateServices.Catalog.Constants.QueryStringUpdateIDs = 'updateids'; Microsoft.UpdateServices.Catalog.Constants.QueryStringUpdateIDsBlockedForImport = 'updateidsblockedforimport'; Microsoft.UpdateServices.Catalog.Constants.QueryStringReferringPage = 'referringpage'; Microsoft.UpdateServices.Catalog.Constants.Win32HResult = 'win32hresult'; Microsoft.UpdateServices.Catalog.Constants.HotFixEmail = 'hotfixemail'; Microsoft.UpdateServices.Catalog.Constants.UpdateID = 'UpdateID'; Microsoft.UpdateServices.Catalog.Constants.BrowserName = 'browsername'; Microsoft.UpdateServices.Catalog.Constants.SkuWsus = 'wsus'; Microsoft.UpdateServices.Catalog.Constants.SkuSms = 'scup'; Microsoft.UpdateServices.Catalog.Constants.SkuSce = 'sce'; Microsoft.UpdateServices.Catalog.Constants.SkuApp = '%app%'; Microsoft.UpdateServices.Catalog.Constants.PageErrorInformation = 'ErrorInline.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageThanks = 'Thanks.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageFaq = 'Faq.aspx'; Microsoft.UpdateServices.Catalog.Constants.PagePrivacy = 'Privacy.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageSupport = 'Support.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageFaqGeneric = 'FaqGeneric.aspx'; Microsoft.UpdateServices.Catalog.Constants.PagePrivacyGeneric = 'PrivacyGeneric.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageSupportGeneric = 'SupportGeneric.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageDownloadInformation = 'DownloadInformation.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageDownloadDialog = 'DownloadDialog.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageDownloadDialogGeneric = 'DownloadDialogGeneric.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageDownloadDialogBasic = 'DownloadDialogBasic.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageScopedView = 'ScopedView.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageScopedViewBasic = 'ScopedViewBasic.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageScopedViewGeneric = 'ScopedViewGeneric.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageScopedViewRedirect = 'ScopedViewRedirect.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageSearch = 'Search.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageScopedViewInline = 'ScopedViewInline.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageViewBasket = 'ViewBasket.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageInstall = 'Install.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageHome = 'Home.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageError = 'Error.aspx'; Microsoft.UpdateServices.Catalog.Constants.PageDefault = 'Default.aspx'; Microsoft.UpdateServices.Catalog.Constants.MaxSearchStringLength = 100; Microsoft.UpdateServices.Catalog.Constants.FolderNameLength = 256; Microsoft.UpdateServices.Catalog.Constants.FolderNameLengthBuffer = 10; Microsoft.UpdateServices.Catalog.Constants.MinTitleLength = 50; Microsoft.UpdateServices.Catalog.Constants.MinLanguagesLength = 20; Microsoft.UpdateServices.Catalog.Constants.EnterButtonKeyCode = 13; //0xD Microsoft.UpdateServices.Catalog.Constants.DownloadInformation = 'downloadinformation'; Microsoft.UpdateServices.Catalog.Constants.DisabledCancelImage = 'Images/button_Cancel_disabled.gif'; Microsoft.UpdateServices.Catalog.Constants.DisabledCancellAllImage = 'Images/button_Cancel_disabled.gif'; Microsoft.UpdateServices.Catalog.Constants.PortNumber = 80; //0x50 Microsoft.UpdateServices.Catalog.Constants.PortNumberSsl = 443; //0x1BB Microsoft.UpdateServices.Catalog.Constants.ImportUsingSslDefault = 'false'; Microsoft.UpdateServices.Catalog.Constants.DownloadJobQueued = 0; //0x0 Microsoft.UpdateServices.Catalog.Constants.DownloadJobConnecting = 1; //0x1 Microsoft.UpdateServices.Catalog.Constants.DownloadJobTransferring = 2; //0x2 Microsoft.UpdateServices.Catalog.Constants.DownloadJobSuspended = 3; //0x3 Microsoft.UpdateServices.Catalog.Constants.DownloadJobError = 4; //0x4 Microsoft.UpdateServices.Catalog.Constants.DownloadJobTransientError = 5; //0x5 Microsoft.UpdateServices.Catalog.Constants.DownloadJobTransferred = 6; //0x6 Microsoft.UpdateServices.Catalog.Constants.DownloadJobAcknowledged = 7; //0x7 Microsoft.UpdateServices.Catalog.Constants.DownloadJobCancelled = 8; //0x8 Microsoft.UpdateServices.Catalog.Constants.HighSize = -1; //0xFFFFFFFF Microsoft.UpdateServices.Catalog.Constants.AgentDownloadFailed = 1261; //0x4ED Microsoft.UpdateServices.Catalog.Constants.AgentDownloadSucceeded = 1262; //0x4EE Microsoft.UpdateServices.Catalog.Constants.AgentDownloadCancelled = 1263; //0x4EF Microsoft.UpdateServices.Catalog.Constants.AgentDownloadInitiated = 1264; //0x4F0 Microsoft.UpdateServices.Catalog.Constants.AgentImportFailed = 1232; //0x4D0 Microsoft.UpdateServices.Catalog.Constants.AgentImportSucceeded = 1231; //0x4CF Microsoft.UpdateServices.Catalog.Constants.AgentImportCancelled = 1233; //0x4D1 Microsoft.UpdateServices.Catalog.Constants.CatalogSiteVisted = 1234; //0x4D2 Microsoft.UpdateServices.Catalog.Constants.SiteError = 620; //0x26C Microsoft.UpdateServices.Catalog.Constants.CatalogClientNamespaceID = 8; Microsoft.UpdateServices.Catalog.Constants.CatalogClientSourceID = 101; Microsoft.UpdateServices.Catalog.Constants.CatalogSiteAppName = 'MU Catalog Site'; Microsoft.UpdateServices.Catalog.Constants.x86 = 'x86'; Microsoft.UpdateServices.Catalog.Constants.x64 = 'x64'; Microsoft.UpdateServices.Catalog.Constants.OSMajorVersionField = 0; //0x0 Microsoft.UpdateServices.Catalog.Constants.OSMinorVersionField = 1; //0x1 Microsoft.UpdateServices.Catalog.Constants.OSBuildNumberField = 2; //0x2 Microsoft.UpdateServices.Catalog.Constants.OSServicePackMajorNumberField = 4; //0x4 Microsoft.UpdateServices.Catalog.Constants.OSServicePackMinorNumberField = 5; //0x5 Microsoft.UpdateServices.Catalog.Constants.SuiteMaskField = 6; //0x6 Microsoft.UpdateServices.Catalog.Constants.ProductTypeField = 7; //0x7 Microsoft.UpdateServices.Catalog.Constants.ClientControlVersionStringField = 10; //0xA Microsoft.UpdateServices.Catalog.Constants.WsusImportBitFieldRequiresUIMask = 1; //0x1 Microsoft.UpdateServices.Catalog.Constants.WsusImportBitFieldAlwaysOfferedMask = 2; //0x2 Microsoft.UpdateServices.Catalog.Constants.WsusImportBitFieldNeverOfferedMask = 4; //0x4 Microsoft.UpdateServices.Catalog.Constants.WsusImportBitFieldProhibitWsusImport = 8; //0x8 Microsoft.UpdateServices.Catalog.Constants.WsusImportErrorIcon = 'Images/decor_Restrict.gif'; Microsoft.UpdateServices.Catalog.Constants.WsusImportWarningIcon = 'Images/decor_Warning.gif'; Microsoft.UpdateServices.Catalog.Constants.RestrictionFieldSeparator = ':'; Microsoft.UpdateServices.Catalog.Constants.UpdateImportInfoSeparator = ','; Microsoft.UpdateServices.Catalog.Constants.ImportErrorReason = '%reason%'; Microsoft.UpdateServices.Catalog.Constants.ImportSkuName = '%importSkuName%'; Microsoft.UpdateServices.Catalog.Constants.NumberDecimalSeparator = '.';