Platform SDK: Active Directory, ADSI, and Directory Services |
The IDsDisplaySpecifier::GetDisplaySpecifier method binds to the display specifier for a given class in an Active Directory™ store.
HRESULT GetDisplaySpecifier( LPCWSTR pszObjectClass, REFIID riid, VOID **ppv );
This method returns an HRESULT value.
This method calls the ADsOpenObject function to bind to the display specifier of the given class. If that fails, it attempts to bind to the display specifier in the user locale. If this fails again, it binds to the display specifier in the default locale It uses the server and user credentials set by a previous call to IDsDisplaySpecifier::SetServer.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsclient.h.
Library: Included as a resource in Dsuiext.dll.
Active Directory Display Interfaces, ADsOpenObject, IDsDisplaySpecifier, IDsDisplaySpecifier::SetServer