WUApiLib, COM interface constants for VB.Net / VBScript

WUApiLib - interface constants

     This page contains simple VBA include for the WUApiLib COM library.

library parameters

File NameWINDOWS\system32\SoftwareDistribution\Setup\ServiceStartup\wuapi.dll\7.4.7600.226\wuapi.dll
Guid{B596CC9F-56E5-419E-A622-E01BB457431E}
Enums42

UpdateLockdownOption

alias, 1 members.
  'Defines the possible restrictions for IUpdateLockdown::LockDown() to impose on an object
Public Enum UpdateLockdownOption

  'For website access
  uloForWebsiteAccess = 1  '&H1
End Enum

tagUpdateLockdownOption

enum, 1 members.
  'Defines the possible restrictions for IUpdateLockdown::LockDown() to impose on an object
Public Enum tagUpdateLockdownOption

  'For website access
  uloForWebsiteAccess = 1  '&H1
End Enum

AddServiceFlag

alias, 3 members.
  'Defines the possible options for IUpdateServiceManager2::AddService2()
Public Enum AddServiceFlag

  'Allow deferred processing when not online
  asfAllowPendingRegistration = 1  '&H1

  'Allow online processing
  asfAllowOnlineRegistration = 2  '&H2

  'Register service with AU
  asfRegisterServiceWithAU = 4  '&H4
End Enum

tagAddServiceFlag

enum, 3 members.
  'Defines the possible options for IUpdateServiceManager2::AddService2()
Public Enum tagAddServiceFlag

  'Allow deferred processing when not online
  asfAllowPendingRegistration = 1  '&H1

  'Allow online processing
  asfAllowOnlineRegistration = 2  '&H2

  'Register service with AU
  asfRegisterServiceWithAU = 4  '&H4
End Enum

UpdateServiceOption

alias, 1 members.
  'Defines the possible service options when adding an update service
Public Enum UpdateServiceOption

  'Non-volatile service
  usoNonVolatileService = 1  '&H1
End Enum

tagUpdateServiceOption

enum, 1 members.
  'Defines the possible service options when adding an update service
Public Enum tagUpdateServiceOption

  'Non-volatile service
  usoNonVolatileService = 1  '&H1
End Enum

UpdateExceptionContext

alias, 3 members.
  'Defines contexts under which an UpdateException can be raised.
Public Enum UpdateExceptionContext

  'General
  uecGeneral = 1  '&H1

  'WindowsDriver
  uecWindowsDriver = 2  '&H2

  'WindowsInstaller
  uecWindowsInstaller = 3  '&H3
End Enum

tagUpdateExceptionContext

enum, 3 members.
  'Defines contexts under which an UpdateException can be raised.
Public Enum tagUpdateExceptionContext

  'General
  uecGeneral = 1  '&H1

  'WindowsDriver
  uecWindowsDriver = 2  '&H2

  'WindowsInstaller
  uecWindowsInstaller = 3  '&H3
End Enum

AutomaticUpdatesNotificationLevel

alias, 5 members.
  'Defines possible ways in which elevated users will be notified about Automatic Updates events.
Public Enum AutomaticUpdatesNotificationLevel

  'Not configured
  aunlNotConfigured = 0  '&H0

  'Disabled
  aunlDisabled = 1  '&H1

  'Notify before download
  aunlNotifyBeforeDownload = 2  '&H2

  'Notify before installation
  aunlNotifyBeforeInstallation = 3  '&H3

  'Scheduled installation
  aunlScheduledInstallation = 4  '&H4
End Enum

tagAutomaticUpdatesNotificationLevel

enum, 5 members.
  'Defines possible ways in which elevated users will be notified about Automatic Updates events.
Public Enum tagAutomaticUpdatesNotificationLevel

  'Not configured
  aunlNotConfigured = 0  '&H0

  'Disabled
  aunlDisabled = 1  '&H1

  'Notify before download
  aunlNotifyBeforeDownload = 2  '&H2

  'Notify before installation
  aunlNotifyBeforeInstallation = 3  '&H3

  'Scheduled installation
  aunlScheduledInstallation = 4  '&H4
End Enum

AutomaticUpdatesScheduledInstallationDay

alias, 8 members.
  'Defines possible day(s) of week when Automatic Updates may (un)install updates.
Public Enum AutomaticUpdatesScheduledInstallationDay

  'Every Day
  ausidEveryDay = 0  '&H0

  'Every Sunday
  ausidEverySunday = 1  '&H1

  'Every Monday
  ausidEveryMonday = 2  '&H2

  'Every Tuesday
  ausidEveryTuesday = 3  '&H3

  'Every Wednesday
  ausidEveryWednesday = 4  '&H4

  'Every Thursday
  ausidEveryThursday = 5  '&H5

  'Every Friday
  ausidEveryFriday = 6  '&H6

  'Every Saturday
  ausidEverySaturday = 7  '&H7
End Enum

tagAutomaticUpdatesScheduledInstallationDay

enum, 8 members.
  'Defines possible day(s) of week when Automatic Updates may (un)install updates.
Public Enum tagAutomaticUpdatesScheduledInstallationDay

  'Every Day
  ausidEveryDay = 0  '&H0

  'Every Sunday
  ausidEverySunday = 1  '&H1

  'Every Monday
  ausidEveryMonday = 2  '&H2

  'Every Tuesday
  ausidEveryTuesday = 3  '&H3

  'Every Wednesday
  ausidEveryWednesday = 4  '&H4

  'Every Thursday
  ausidEveryThursday = 5  '&H5

  'Every Friday
  ausidEveryFriday = 6  '&H6

  'Every Saturday
  ausidEverySaturday = 7  '&H7
End Enum

AutomaticUpdatesUserType

alias, 2 members.
  'Defines types of users whose permissions can be checked via IAutomaticUpdatesSettings2.CheckPermission.
Public Enum AutomaticUpdatesUserType

  'The current user
  auutCurrentUser = 1  '&H1

  'An administrative account calling locally
  auutLocalAdministrator = 2  '&H2
End Enum

tagAutomaticUpdatesUserType

enum, 2 members.
  'Defines types of users whose permissions can be checked via IAutomaticUpdatesSettings2.CheckPermission.
Public Enum tagAutomaticUpdatesUserType

  'The current user
  auutCurrentUser = 1  '&H1

  'An administrative account calling locally
  auutLocalAdministrator = 2  '&H2
End Enum

AutomaticUpdatesPermissionType

alias, 5 members.
  'Defines operations against which users' permissions can be checked via IAutomaticUpdatesSettings2::CheckPermission().
Public Enum AutomaticUpdatesPermissionType

  'Set AU notification level
  auptSetNotificationLevel = 1  '&H1

  'Set AU notification level to Disabled
  auptDisableAutomaticUpdates = 2  '&H2

  'Set AU setting for recommended updates
  auptSetIncludeRecommendedUpdates = 3  '&H3

  'Set AU setting for featured updates
  auptSetFeaturedUpdatesEnabled = 4  '&H4

  'Set AU setting to increase priviliges for non administrator
  auptSetNonAdministratorsElevated = 5  '&H5
End Enum

tagAutomaticUpdatesPermissionType

enum, 5 members.
  'Defines operations against which users' permissions can be checked via IAutomaticUpdatesSettings2::CheckPermission().
Public Enum tagAutomaticUpdatesPermissionType

  'Set AU notification level
  auptSetNotificationLevel = 1  '&H1

  'Set AU notification level to Disabled
  auptDisableAutomaticUpdates = 2  '&H2

  'Set AU setting for recommended updates
  auptSetIncludeRecommendedUpdates = 3  '&H3

  'Set AU setting for featured updates
  auptSetFeaturedUpdatesEnabled = 4  '&H4

  'Set AU setting to increase priviliges for non administrator
  auptSetNonAdministratorsElevated = 5  '&H5
End Enum

InstallationImpact

alias, 3 members.
  'Defines possible levels of impact that may be caused by (un)installing an Update.
Public Enum InstallationImpact

  'Normal
  iiNormal = 0  '&H0

  'Minor
  iiMinor = 1  '&H1

  'Requires exclusive handling
  iiRequiresExclusiveHandling = 2  '&H2
End Enum

tagInstallationImpact

enum, 3 members.
  'Defines possible levels of impact that may be caused by (un)installing an Update.
Public Enum tagInstallationImpact

  'Normal
  iiNormal = 0  '&H0

  'Minor
  iiMinor = 1  '&H1

  'Requires exclusive handling
  iiRequiresExclusiveHandling = 2  '&H2
End Enum

InstallationRebootBehavior

alias, 3 members.
  'Defines possible reboot behaviors exhibited by an Update during (un)installation.
Public Enum InstallationRebootBehavior

  'Never reboots
  irbNeverReboots = 0  '&H0

  'Always requires reboot
  irbAlwaysRequiresReboot = 1  '&H1

  'Can request reboot
  irbCanRequestReboot = 2  '&H2
End Enum

tagInstallationRebootBehavior

enum, 3 members.
  'Defines possible reboot behaviors exhibited by an Update during (un)installation.
Public Enum tagInstallationRebootBehavior

  'Never reboots
  irbNeverReboots = 0  '&H0

  'Always requires reboot
  irbAlwaysRequiresReboot = 1  '&H1

  'Can request reboot
  irbCanRequestReboot = 2  '&H2
End Enum

UpdateType

alias, 2 members.
  'Defines possible types of an update.
Public Enum UpdateType

  'Software
  utSoftware = 1  '&H1

  'Driver
  utDriver = 2  '&H2
End Enum

tagUpdateType

enum, 2 members.
  'Defines possible types of an update.
Public Enum tagUpdateType

  'Software
  utSoftware = 1  '&H1

  'Driver
  utDriver = 2  '&H2
End Enum

DeploymentAction

alias, 4 members.
  'Defines actions an Update can be explicitly deployed for.
Public Enum DeploymentAction

  'None
  daNone = 0  '&H0

  'Installation
  daInstallation = 1  '&H1

  'Uninstallation
  daUninstallation = 2  '&H2

  'Detection
  daDetection = 3  '&H3
End Enum

tagDeploymentAction

enum, 4 members.
  'Defines actions an Update can be explicitly deployed for.
Public Enum tagDeploymentAction

  'None
  daNone = 0  '&H0

  'Installation
  daInstallation = 1  '&H1

  'Uninstallation
  daUninstallation = 2  '&H2

  'Detection
  daDetection = 3  '&H3
End Enum

DownloadPriority

alias, 3 members.
  'Defines possible priorities for a download operation.
Public Enum DownloadPriority

  'Low
  dpLow = 1  '&H1

  'Normal
  dpNormal = 2  '&H2

  'High
  dpHigh = 3  '&H3
End Enum

tagDownloadPriority

enum, 3 members.
  'Defines possible priorities for a download operation.
Public Enum tagDownloadPriority

  'Low
  dpLow = 1  '&H1

  'Normal
  dpNormal = 2  '&H2

  'High
  dpHigh = 3  '&H3
End Enum

AutoSelectionMode

alias, 4 members.
  'Defines possible auto selection modes of update.
Public Enum AutoSelectionMode

  'Let windows update decide
  asLetWindowsUpdateDecide = 0  '&H0

  'Auto select if downloaded
  asAutoSelectIfDownloaded = 1  '&H1

  'Never auto select
  asNeverAutoSelect = 2  '&H2

  'Always auto select
  asAlwaysAutoSelect = 3  '&H3
End Enum

tagAutoSelectionMode

enum, 4 members.
  'Defines possible auto selection modes of update.
Public Enum tagAutoSelectionMode

  'Let windows update decide
  asLetWindowsUpdateDecide = 0  '&H0

  'Auto select if downloaded
  asAutoSelectIfDownloaded = 1  '&H1

  'Never auto select
  asNeverAutoSelect = 2  '&H2

  'Always auto select
  asAlwaysAutoSelect = 3  '&H3
End Enum

AutoDownloadMode

alias, 3 members.
  'Defines possible auto download modes of update.
Public Enum AutoDownloadMode

  'Let windows update decide
  adLetWindowsUpdateDecide = 0  '&H0

  'Never auto download
  adNeverAutoDownload = 1  '&H1

  'Always auto download
  adAlwaysAutoDownload = 2  '&H2
End Enum

tagAutoDownloadMode

enum, 3 members.
  'Defines possible auto download modes of update.
Public Enum tagAutoDownloadMode

  'Let windows update decide
  adLetWindowsUpdateDecide = 0  '&H0

  'Never auto download
  adNeverAutoDownload = 1  '&H1

  'Always auto download
  adAlwaysAutoDownload = 2  '&H2
End Enum

OperationResultCode

alias, 6 members.
  'Defines possible results of a download, (un)install, or verification operation on an update.
Public Enum OperationResultCode

  'Not started
  orcNotStarted = 0  '&H0

  'In progress
  orcInProgress = 1  '&H1

  'Succeeded
  orcSucceeded = 2  '&H2

  'Succeeded with errors
  orcSucceededWithErrors = 3  '&H3

  'Failed
  orcFailed = 4  '&H4

  'Aborted
  orcAborted = 5  '&H5
End Enum

tagOperationResultCode

enum, 6 members.
  'Defines possible results of a download, (un)install, or verification operation on an update.
Public Enum tagOperationResultCode

  'Not started
  orcNotStarted = 0  '&H0

  'In progress
  orcInProgress = 1  '&H1

  'Succeeded
  orcSucceeded = 2  '&H2

  'Succeeded with errors
  orcSucceededWithErrors = 3  '&H3

  'Failed
  orcFailed = 4  '&H4

  'Aborted
  orcAborted = 5  '&H5
End Enum

DownloadPhase

alias, 3 members.
  'Defines the possible phases during a download operation.
Public Enum DownloadPhase

  'Initializing
  dphInitializing = 1  '&H1

  'Downloading
  dphDownloading = 2  '&H2

  'Verifying
  dphVerifying = 3  '&H3
End Enum

tagDownloadPhase

enum, 3 members.
  'Defines the possible phases during a download operation.
Public Enum tagDownloadPhase

  'Initializing
  dphInitializing = 1  '&H1

  'Downloading
  dphDownloading = 2  '&H2

  'Verifying
  dphVerifying = 3  '&H3
End Enum

UpdateOperation

alias, 2 members.
  'Defines operations that can be attempted on an Update.
Public Enum UpdateOperation

  'Installation
  uoInstallation = 1  '&H1

  'Uninstallation
  uoUninstallation = 2  '&H2
End Enum

tagUpdateOperation

enum, 2 members.
  'Defines operations that can be attempted on an Update.
Public Enum tagUpdateOperation

  'Installation
  uoInstallation = 1  '&H1

  'Uninstallation
  uoUninstallation = 2  '&H2
End Enum

ServerSelection

alias, 4 members.
  'Defines possible server selections the Searcher can search against.
Public Enum ServerSelection

  'Default
  ssDefault = 0  '&H0

  'Managed server
  ssManagedServer = 1  '&H1

  'Windows Update
  ssWindowsUpdate = 2  '&H2

  'Others
  ssOthers = 3  '&H3
End Enum

tagServerSelection

enum, 4 members.
  'Defines possible server selections the Searcher can search against.
Public Enum tagServerSelection

  'Default
  ssDefault = 0  '&H0

  'Managed server
  ssManagedServer = 1  '&H1

  'Windows Update
  ssWindowsUpdate = 2  '&H2

  'Others
  ssOthers = 3  '&H3
End Enum

SearchScope

alias, 6 members.
  'Defines possible search scopes for a search call. The scope may indicate user updatesfor the calling user updates for all users, machine updates or a combination of these.
Public Enum SearchScope

  'Default search scope
  searchScopeDefault = 0  '&H0

  'Machine updates only
  searchScopeMachineOnly = 1  '&H1

  'Per-user updates applicable to the calling user only
  searchScopeCurrentUserOnly = 2  '&H2

  'Machine updates and per-user updates applicable to the calling user
  searchScopeMachineAndCurrentUser = 3  '&H3

  'Machine updates and per-user updates applicable to any user
  searchScopeMachineAndAllUsers = 4  '&H4

  'Per-user updates applicable to any user
  searchScopeAllUsers = 5  '&H5
End Enum

tagSearchScope

enum, 6 members.
  'Defines possible search scopes for a search call. The scope may indicate user updatesfor the calling user updates for all users, machine updates or a combination of these.
Public Enum tagSearchScope

  'Default search scope
  searchScopeDefault = 0  '&H0

  'Machine updates only
  searchScopeMachineOnly = 1  '&H1

  'Per-user updates applicable to the calling user only
  searchScopeCurrentUserOnly = 2  '&H2

  'Machine updates and per-user updates applicable to the calling user
  searchScopeMachineAndCurrentUser = 3  '&H3

  'Machine updates and per-user updates applicable to any user
  searchScopeMachineAndAllUsers = 4  '&H4

  'Per-user updates applicable to any user
  searchScopeAllUsers = 5  '&H5
End Enum

UpdateServiceRegistrationState

alias, 3 members.
  'Defines possible states of service registration.
Public Enum UpdateServiceRegistrationState

  'Not registered
  usrsNotRegistered = 1  '&H1

  'Registration pending
  usrsRegistrationPending = 2  '&H2

  'Registered
  usrsRegistered = 3  '&H3
End Enum

tagUpdateServiceRegistrationState

enum, 3 members.
  'Defines possible states of service registration.
Public Enum tagUpdateServiceRegistrationState

  'Not registered
  usrsNotRegistered = 1  '&H1

  'Registration pending
  usrsRegistrationPending = 2  '&H2

  'Registered
  usrsRegistered = 3  '&H3
End Enum
WUtils.com