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 Vista |
|---|---|
|
Minimum supported server |
Windows Server 2008 |
|
Header |
|
|
Library |
|
|
DLL |
|
See also