3.2.4.3 GetNumberOfFirewallProducts Abstract Interface

This abstract interface is called to initialize the FirewallStatus ADM element described in section 3.2.1 and the NumberOfFirewallProducts ADM element described in section 3.2.1.

 DWORD GetNumberOfFirewallProducts(
     [out] DWORD *pNumberOfFirewallProducts);

pNumberOfFirewallProducts: A pointer to a DWORD variable that receives the number of firewall products in the system.

Return Values

Value

Description

S_OK (0x00000000)

The number of installed firewall products was successfully set in the pNumberOfFirewallProducts parameter.

E_MSSHAV_PRODUCT_NOT_INSTALLED (0xC0FF0002)

No firewall products are installed. No value was set in the pNumberOfFirewallProducts parameter.

E_MSSHAV_WSC_SERVICE_DOWN (0xC0FF0003)

The WSC service is not available to report status. No value was set in the pNumberOfFirewallProducts parameter.

E_MSSHAV_WSC_SERVICE_NOT_STARTED_SINCE_BOOT (0xC0FF0018)

The WSC service on the client has not started since the computer started. No value was set in the pNumberOfFirewallProducts parameter.