Partager via


ldap_get_option (Windows Embedded CE 6.0)

1/6/2010

This function retrieves the current values of session-wide parameters.

Syntax

ULONG ldap_get_option(
  LDAP* ld,
  int option,
  void* outvalue
);

Parameters

  • ld
    [in] Session handle.
  • option
    [in] Name of the option being accessed.
  • outvalue
    [out] Address of the session-option value. The actual type of this parameter depends on the setting of the option parameter. For more information, see Session Options.

Return Value

If this function succeeds, the return value is LDAP_SUCCESS.

If this function fails, it returns an error code. See the LDAP_RETCODE enumeration for a list of possible return values.

Remarks

In a multithreading environment, calls to this function are thread-safe.

Requirements

Header winldap.h
Library wldap32.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

LDAP Session Functions
LDAP_RETCODE
ldap_set_option