Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

LDAPAPIFeatureInfo structure

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

Syntax


typedef struct ldap_apifeature_info {
  int  ldapaif_info_version;
  char *ldapaif_name;
  int  ldapaif_version;
} 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_version

The vendor 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, to retrieve detailed data about the LDAP API extension.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winldap.h

Unicode and ANSI names

LDAPAPIFeatureInfoW (Unicode) and LDAPAPIFeatureInfoA (ANSI)

See also

LDAPAPIInfo
ldap_get_option
Session Options

 

 

Show:
© 2014 Microsoft. All rights reserved.