3.2.4.5 GetNumberOfAntivirusProducts Abstract Interface
This abstract interface is called to initialize the AntivirusStatus ADM element described in section 3.2.1 and the NumberOfAntivirusProducts ADM element described in section 3.2.1.
-
DWORD GetNumberOfAntivirusProducts( [out] DWORD *pNumberOfAntivirusProducts);
pNumberOfAntivirusProducts: A pointer to a DWORD variable that receives the number of antivirus products in the system.
Return Values
|
Value |
Description |
|---|---|
|
S_OK (0x00000000) |
The number of installed antivirus products was successfully set in the pNumberOfAntivirusProducts parameter. |
|
E_MSSHAV_PRODUCT_NOT_INSTALLED (0xC0FF0002) |
No antivirus products are installed. No value was set in the pNumberOfAntivirusProducts parameter. |
|
E_MSSHAV_WSC_SERVICE_DOWN (0xC0FF0003) |
The WSC service is not available to report status. No value was set in the pNumberOfAntivirusProducts 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 pNumberOfAntivirusProducts parameter. |