Directory Services

LDAPAPIFeatureInfo

The LDAPAPIFeatureInfo structure retrieves information about any supported LDAP API extensions.

typedef struct ldap_apifeature_info {
int ldapaif_info_version;
char* ldapaif_name;
int ldapaif_verion; } LDAPAPIFeatureInfo;

Members

ldapaif_info_version
The version of this structure, which must be set to LDAP_FEATURE_INFO_VERSION before the call to ldap_get_option is performed.
ldapaif_name
A pointer to a null-terminated string that contains the name of the desired API extension. This value is set before the call to ldap_get_option is performed, and should match one of the strings returned in the ldapai_extensions member of LDAPAPIInfo set from a previous call to ldap_get_option.
ldapaif_verion
The vendor's API extension version number. This implementation returns an integer value in the format of MMnnn, where MM is the major version number * 1000, and nnn is the minor version number. For example, version 1.001 would be returned as the number 1001.

Remarks

A pointer to this structure is passed, along with the LDAP_FEATURE_API_INFO session option and the name of the desired API extension, to ldap_get_option in order to retrieve detail information about the LDAP API extension.

Requirements

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 family and Windows 2000 Server.
Redistributable: Requires Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows Me/98/95.
Unicode: Declared as Unicode and ANSI structures.
Header: Declared in Winldap.h.

See Also

LDAPAPIInfo, ldap_get_option, Session Options