IClassAdmin

[This is preliminary documentation and subject to change.]

The IClassAdmin interface provides methods to administer a specific class store container.

When to Implement

The COM libraries implement this interface on the Class Store Provider object for ADSI/LDAP. Implementors of custom Class Store Provider objects can optionally implement IClassAdmin.

Note  The Class Store Manager object does not implement this interface.

When to Use

Call the methods of IClassAdmin to manually add new classes, packages, or interfaces. In most instances, it is preferable to use the package-level administration interfaces, which will be available in NT5, Beta 2.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IClassAdmin Methods Description
NewClass Stores a new class definition in the class store.
DeleteClass Removes a class definition from the class store.
NewInterface Stores a new interface definition in the class store.
DeleteInterface Removes an interface definition from the class store.
NewPackage Stores a new application package in the class store.
DeletePackage Removes a package from the class store.
GetClassesEnum Returns a list of names and descriptions for all classes stored in the class store.
GetPackagesEnum Returns a list of package details relating to one or more packages.
GetClassDetails Returns a list of class details for the CLSID.
GetIidDetails Returns a list of interface details for the Iid.
GetPackageDetails Returns a list of package details for a given package name.

QuickInfo

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

See Also

IClassAccess, IClassRefresh, IEnumPackage, IEnumClass