3.2.4.8 GetAntispywareProductsInformation Abstract Interface

This abstract interface is called to initialize the AntispywareProductsInformation ADM element described in section 3.2.1.

 DWORD GetAntispywareProductsInformation(
     [out] ProductInformation **ppAntispywareProductsInformation);

ppAntispywareProductsInformation: A pointer to a variable that receives the address of an array of ProductInformation structures as described in section 2.2.15.1.

Return Values

Value

Description

S_OK (0x00000000)

The product information was successfully set in the ppAntispywareProductsInformation array parameter.

E_OUTOFMEMORY (0x80000002)

The interface failed to retrieve the information about the antispyware products. No value was set in the ppAntispywareProductsInformation parameter.

Remarks

The interface allocates the memory required to accommodate the array of ProductInformation structures. This memory should be freed by calling to the FreeProductsInformation abstract interface described in section 3.2.4.11.