IClassAdmin::GetClassesEnum

[This is preliminary documentation and subject to change.]

Returns an enumerator for all the classes defined in the class store.

HRESULT GetClassesEnum(
  IEnumClass ppIEnumClass  //Location in which to return an IEnumClass interface.
);

Parameters

ppIEnumClass
[out] Specifies the location to return an IEnumClass interface. This is used to enumerate the names and descriptions for all classes. The enumerator follows standard COM enumerator guidelines (IEnumClass) and returns a CLASSDETAIL structure.

Return Values

S_OK
The method returned successfully.
E_INVALIDARG
One or more parameters are incorrect.
E_FAIL
The method did not return successfully.
E_ACCESSDENIED
No permissions.
E_OUTOFMEMORY
Insufficient memory to create and return an enumerator object.

QuickInfo

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

See Also

IClassAdmin::NewClass, IClassAdmin::DeleteClass, IClassAdmin::NewInterface, IClassAdmin::DeleteInterface, IClassAdmin::NewPackage, IClassAdmin::DeletePackage, IClassAdmin::GetPackagesEnum, IClassAdmin::GetClassDetails, IClassAdmin::GetIidDetails, IClassAdmin::GetPackageDetails