Export (0) Print
Expand All

ICatRegister::UnRegisterClassReqCategories method

Removes one or more required category identifiers from a class.

Syntax


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

Parameters

rclsid [in]

The class identifier.

cCategories [in]

The number of category CATIDs to be removed.

rgcatid [in]

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 codeDescription
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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComCat.h

IDL

ComCat.idl

IID

IID_ICatRegister is defined as 0002E012-0000-0000-C000-000000000046

See also

ICatRegister

 

 

Community Additions

ADD
Show:
© 2014 Microsoft