IClassAccess

[This is preliminary documentation and subject to change.]

The IClassAccess interface provides methods to access information about applications, components, and services in a class store.

When to Implement

This interface is implemented on the Class Store Manager object and the Class Store Provider object for ADSI/LDAP which are provided by the COM libraries. Only custom Class Store Provider objects must implement this interface.

When to Use

COM libraries and the Class Store Administration tool (see the Class Store Roadmap, provided on the accompanying SDK CD) use this interface to retrieve information from the class store. In conjunction with ICatInformation, implementers of class store aware components or applications can use this interface to implement a customized user interface for component selection (Insert Object dialog).

Methods in Vtable Order

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

IClassAccess Methods Description
GetClassInfo A subset of GetClassSpecInfo, queries the Class Store for implementations of a specific CLSID. Obtains a PACKAGEINFO structure that can be used to download the requested component.
GetClassSpecInfo Performs the same function as GetClassInfo, except that it is used for any CLSID, ProgId, or MIME type.

QuickInfo

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

See Also

IClassAdmin, IClassRefresh, IEnumPackage, IEnumClass