Directory Services

ber_bvdup

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

BERVAL* ber_bvdup(
  BERVAL* pBerVal
);

Parameters

pBerVal
[in] Pointer to the source berval structure.

Return Values

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

Client: Included in Windows XP and Windows 2000 Professional.
Server: Included in Windows Server 2003 and Windows 2000 Server.
Redistributable: Requires Active Directory Client Extension on Windows NT 4.0 SP6a and Windows 95/98/Me.
Header: Declared in Winber.h.
Library: Use Wldap32.lib.

See Also

Functions, berval