IDsObjectPicker::Initialize method (objsel.h)

The IDsObjectPicker::Initialize method initializes the object picker dialog box with data about the scopes, filters, and options used by the object picker dialog box.

Syntax

HRESULT Initialize(
  PDSOP_INIT_INFO pInitInfo
);

Parameters

pInitInfo

Pointer to a DSOP_INIT_INFO structure that contains the initialization data.

Return value

Returns a standard error code or one of the following values.

Remarks

IDsObjectPicker::Initialize can be called more than once and the last call takes precedence. The IDsObjectPicker object will completely re-initialize itself in response to this method.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header objsel.h
DLL Objsel.dll

See also

DSOP_INIT_INFO

Directory Object Picker

IDsObjectPicker