WSC_SECURITY_PROVIDER enumeration (wscapi.h)

Defines all the services that are monitored by Windows Security Center (WSC).

Syntax

typedef enum _WSC_SECURITY_PROVIDER {
  WSC_SECURITY_PROVIDER_FIREWALL = 0x1,
  WSC_SECURITY_PROVIDER_AUTOUPDATE_SETTINGS = 0x2,
  WSC_SECURITY_PROVIDER_ANTIVIRUS = 0x4,
  WSC_SECURITY_PROVIDER_ANTISPYWARE = 0x8,
  WSC_SECURITY_PROVIDER_INTERNET_SETTINGS = 0x10,
  WSC_SECURITY_PROVIDER_USER_ACCOUNT_CONTROL = 0x20,
  WSC_SECURITY_PROVIDER_SERVICE = 0x40,
  WSC_SECURITY_PROVIDER_NONE = 0,
  WSC_SECURITY_PROVIDER_ALL
} WSC_SECURITY_PROVIDER, *PWSC_SECURITY_PROVIDER;

Constants

 
WSC_SECURITY_PROVIDER_FIREWALL
Value: 0x1
The aggregation of all firewalls for this computer.
WSC_SECURITY_PROVIDER_AUTOUPDATE_SETTINGS
Value: 0x2
The automatic update settings for this computer.
WSC_SECURITY_PROVIDER_ANTIVIRUS
Value: 0x4
The aggregation of all antivirus products for this computer.
WSC_SECURITY_PROVIDER_ANTISPYWARE
Value: 0x8
The aggregation of all anti-spyware products for this computer.
WSC_SECURITY_PROVIDER_INTERNET_SETTINGS
Value: 0x10
The settings that restrict the access of web sites in each of the Internet zones for this computer.
WSC_SECURITY_PROVIDER_USER_ACCOUNT_CONTROL
Value: 0x20
The User Account Control (UAC) settings for this computer.
WSC_SECURITY_PROVIDER_SERVICE
Value: 0x40
The running state of the WSC service on this computer.
WSC_SECURITY_PROVIDER_NONE
Value: 0
None of the items that WSC monitors.
WSC_SECURITY_PROVIDER_ALL
All of the items that the WSC monitors.

Remarks

Note

WSC_SECURITY_PROVIDER::WSC_SECURITY_PROVIDER_ANTISPYWARE should be used only in operating systems prior to Windows 10, version 1607. As of Windows 10, version 1607, WSC continues to track the status for antivirus, but not for anti-spyware.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server None supported
Header wscapi.h

See also

WscGetSecurityProviderHealth