ber_init function (winber.h)
The ber_init function allocates a new BerElement structure containing the data taken from the supplied berval structure.
Syntax
WINBERAPI BerElement *BERAPI ber_init(
[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 BerElement structure.
If the function fails, it returns a NULL pointer.
Remarks
Call ber_free to free a BerElement structure allocated with this function.
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 |