Platform SDK: Active Directory, ADSI, and Directory Services |
The IDsDisplaySpecifier::GetFriendlyClassName method retrieves the friendly (localized) name for an object class.
HRESULT GetFriendlyClassName( LPCWSTR pszObjectClass, LPWSTR pszBuffer, INT cchBuffer );
The method returns an HRESULT value.
This method searches the cache for a friendly name. If no friendly name is set for the class in the display specifier, the method returns the name that was given.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsclient.h.
Library: Included as a resource in Dsuiext.dll.