Platform SDK: Active Directory, ADSI, and Directory Services |
The CreateModal method displays the object creation wizard and returns a newly created object.
HRESULT CreateModal( HWND hwndParent, IADs **ppADsObj );
If the wizard completes successfully, the return value is S_OK.
If an error occurs, the return value is a COM error code. For more information, see Error Handling.
Before calling the CreateModal method, you must call the IDsAdminCreateObj::Initialize method to initialize the interface instance.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsadmin.h.
Active Directory Admin Interfaces, IDsAdminCreateObj, IDsAdminCreateObj::Initialize