ICatRegister::UnRegisterClassImplCategories method

Removes one or more implemented category identifiers from a class.

Syntax

HRESULT UnRegisterClassImplCategories(
  REFCLSID rclsid,
  ULONG    cCategories,
  CATID [] rgcatid
);

Parameters

rclsid

The class identifier.

cCategories

The number of category CATIDs to be removed.

rgcatid

An array of CATIDs that are to be removed. Only the category IDs specified in this array are removed.

Return Value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_INVALIDARG
One or more arguments are incorrect.

Remarks

In case of an error, this method does not ensure that the registry is restored to the state prior to the call. This method will be successful even if one or more of the category IDs specified are not registered for the class. This method can only be called by the owner of a class, usually as part of the de-installation of the component.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comcat.h

See Also

ICatRegister