IWSCProductList::get_Item method (iwscapi.h)

Returns one of the types of providers on the computer.

Syntax

HRESULT get_Item(
  [in]  ULONG       index,
  [out] IWscProduct **pVal
);

Parameters

[in] index

The list of the providers.

[out] pVal

A pointer to the IWscProduct product information.

Return value

If the method succeeds, returns S_OK.

If the method fails, returns a Win32 error code.

Remarks

A provider is obtained by calling the Item method, which returns an interface pointer to an initialized IWscProduct object. The user is then able to retrieve the name, product state, and signature status through the methods of the IWscProduct interface.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header iwscapi.h
Library Wscapi.lib
DLL Wscapi.dll

See also

IWSCProductList