Platform SDK: Active Directory, ADSI, and Directory Services

IDsDisplaySpecifier::EnumClassAttributes

The IDsDisplaySpecifier::EnumClassAttributes method enumerates the attributes and their friendly names for a given object class for every available display specifier.

HRESULT EnumClassAttributes(
  LPCWSTR pszObjectClass,
  LPDSENUMATTRIBUTES pcbEnum,
  LPARAM lparam
);

Parameters

pszObjectClass
[in] The name of the class whose attributes are enumerated.
pcbEnum
[in] The callback function that performs the enumeration.
lparam
[in] A parameter passed to the callback enumeration function.

Return Values

The method returns an HRESULT value.

Remarks

This method looks up display specifiers and then calls the callback enumeration function for each display specifier, passing the attribute name and its given "friendly name."

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Dsclient.h.
  Library: Included as a resource in Dsuiext.dll.

See Also

Active Directory Display Interfaces, IDsDisplaySpecifier