Export (0) Print
Expand All
Expand Minimize

ber_flatten function

The ber_flatten function allocates a new berval structure containing the data taken from the supplied BerElement structure.

Syntax


INT ber_flatten(
  _In_   BerElement *pBerElement,
  _Out_  PBERVAL *pBerVal
);

Parameters

pBerElement [in]

Pointer to the source BerElement structure.

pBerVal [out]

Pointer to the newly allocated berval structure, which should be freed using ber_bvfree.

Return value

The function returns 0 on success and -1 on failure.

Remarks

The use of ber_flatten on a BerElement in which all { and } format modifiers have not been properly matched will cause the function to return an error.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winber.h

Library

Wldap32.lib

DLL

Wldap32.dll

See also

Functions
berval
BerElement
ber_init
ber_bvfree

 

 

Show:
© 2014 Microsoft