ber_bvdup function (winber.h)

The ber_bvdup function creates a copy of the supplied berval structure.

Syntax

WINBERAPI BERVAL *BERAPI ber_bvdup(
  [in] BERVAL *pBerVal
);

Parameters

[in] pBerVal

Pointer to the source berval structure.

Return value

If the function succeeds, the return value is a pointer to the newly allocated berval structure.

If the function fails, it returns a NULL pointer.

Remarks

The allocated berval should be freed with ber_bvfree.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header winber.h
Library Wldap32.lib
DLL Wldap32.dll

See also

Functions

berval