IDsDisplaySpecifier interface (dsclient.h)

The IDsDisplaySpecifier interface provides access to Active Directory Domain Service objects of the displaySpecifier class. Such objects are known as display specifiers. A display specifier stores data about how user interface elements, such as property pages or context menus, of an object in Active Directory Domain Services are to be displayed. For more information, see Display Specifiers.

This interface is used to extend the display features of an existing object in Active Directory Domain Services, manage the display for a new directory object, or enhance the display of an Active Directory Domain Services enabled application. For more information, see Extending the User Interface for Directory Objects.

To create an instance of this interface, call CoCreateInstance with the CLSID_DsDisplaySpecifier object identifier as shown in the following code example.

#include <objbase.h>
#define INITGUID
#include <initguid.h>
#include "dsclient.h"
 
HRESULT hr;
IDsDisplaySpecifier *pDS;

CoInitialize(NULL);

hr = CoCreateInstance( CLSID_DsDisplaySpecifier,
                       NULL,
                       CLSCTX_INPROC_SERVER,
                       IID_IDsDisplaySpecifier,
                       (void**)&pDS);
if(SUCCEEDED(hr))
{
    // More code calling the interface methods.
    
    pDS->Release();
}
 
CoUninitialize();

Inheritance

The IDsDisplaySpecifier interface inherits from the IUnknown interface. IDsDisplaySpecifier also has these types of members:

Methods

The IDsDisplaySpecifier interface has these methods.

 
IDsDisplaySpecifier::EnumClassAttributes

Enumerates the attributes for a given object class.
IDsDisplaySpecifier::GetAttributeADsType

Retrieves the attribute type for a given attribute.
IDsDisplaySpecifier::GetClassCreationInfo

Retrieves data about the class creation wizard objects for a given object class.
IDsDisplaySpecifier::GetDisplaySpecifier

The IDsDisplaySpecifier::GetDisplaySpecifier method binds to the display specifier object for a given class in Active Directory Domain Services.
IDsDisplaySpecifier::GetFriendlyAttributeName

The IDsDisplaySpecifier::GetFriendlyAttributeName method retrieves from the localized name of an attribute of a given object class.
IDsDisplaySpecifier::GetFriendlyClassName

The IDsDisplaySpecifier::GetFriendlyClassName method retrieves the localized name for an object class.
IDsDisplaySpecifier::GetIcon

The IDsDisplaySpecifier::GetIcon method obtains the icon for a given object class.
IDsDisplaySpecifier::GetIconLocation

Obtains the icon location for a given object class.
IDsDisplaySpecifier::IsClassContainer

Determines if a given object class is a container.
IDsDisplaySpecifier::SetLanguageID

Changes the locale used by the IDsDisplaySpecifier object to a specified language.
IDsDisplaySpecifier::SetServer

Specifies the server from which display specifier data is obtained.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header dsclient.h

See also

CoCreateInstance

Display Interfaces in Active Directory Domain Services

ICommonQuery

IDsBrowseDomainTree

IPersistQuery

IQueryForm