Platform SDK: Active Directory, ADSI, and Directory Services

IDsAdminNewObj

The IDsAdminNewObj interface enables a primary or secondary wizard extension. These extensions enable and disable wizard buttons and gets the page count from DsAdmin.

When to Implement

Applications do not implement the IDsAdminNewObj interface. The system implements a COM object that supports this interface and is provided to the primary or secondary wizard extension through the IDsAdminNewObjExt::Initialize method.

When to Use

The IDsAdminNewObj interface is used to implement a primary or secondary wizard extension using IDsAdminNewObjExt. The IDsAdminNewObj interface will give you the ability to enable and disable the "Next" button in the wizard as well as retrieve the number of pages the wizard contains.

Methods in Vtable Order

IUnknown Methods Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments reference count.
Release Decrements reference count.

IDsAdminNewObj Methods

Method Description
SetButtons Enables or disables the "Next" button in the wizard user interface.
GetPageCounts Retrieves the total pages contained in the wizard and the zero based index of where the extension starts.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Dsadmin.h.

See Also

Active Directory Admin Interfaces, IDsAdminCreateObj, IDsAdminNewObjExt, IDsAdminNewObjExt::Initialize, IDsAdminNewObjPrimarySite