Directory Services

ADSI Constants

Active Directory Service Interfaces (ADSI) defines and uses the following constants.

ADSI Constant Value Description
ADS_EXT_INITCREDENTIALS 1 A control code that indicates that the custom data supplied to the IADsExtension::Operate method contains user credentials.
ADS_EXT_INITIALIZE_COMPLETE 2 A control code used with IADsExtension::Operate to indicate that extensions can perform any necessary initialization, depending on the functionality supported by the parent object.
ADS_EXT_MAXEXTDISPID 16777215 The highest DISPID an extension object can use for its methods and properties.
ADS_EXT_MINEXTDISPID 1 The lowest DISPID an extension object can use for its methods and properties.
DBPROPFLAGS_ADSISEARCH 0x0000C000 Used to work with the OLE DB provider.