IClassRefresh::GetUpgrades

[This is preliminary documentation and subject to change.]

Queries for updates to a class store.

HRESULT GetUpgrades(
  ULONG cClasses,                       //Specifies the number of CLSIDs
                                        // passed in pClassList
  size_is(cClasses) CLSID* pClassList,  //Pointer to the CLSIDs for which
                                        // to retrieve update information
  CSPLATFORM Platformt,                 //Specifies the platform
  LCID Locale,                          //Specifies the locale
  PACKAGEINFOLIST* pPackageInfoList     //Pointer to list of those packages
                                        // that have been updated
);
 

Parameters

cClasses
[in] Specifies the number of class identifiers passed in pClassList.
pClassList
[in] Specifies the list of installed CLSIDs.
Platform
[in] Specifies the platform.
Locale
[in] Specifies the locale.
pPackageInfoList
[out] If there have been any updates to the CLSIDs on the query list, returns a pointer to the updates.

Return Values

S_OK
The method returned successfully.
E_INVALIDARG
One or more parameters are incorrect.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in objidl.h.

See Also

IClassAccess::GetClassInfo, IClassAccess::GetClassSpecInfo