ber_skip_tag function (winber.h)

The ber_skip_tag function skips the current tag and returns the tag of the next element in the supplied BerElement structure.

Syntax

WINBERAPI ULONG BERAPI ber_skip_tag(
  [in]  BerElement *pBerElement,
  [out] ULONG      *pLen
);

Parameters

[in] pBerElement

Pointer to the source BerElement structure.

[out] pLen

Returns the length of the skipped element.

Return value

Returns the tag of the next element in the BerElement structure. LBER_DEFAULT is returned if there is no further data to read.

Remarks

This function is similar to ber_peek_tag, except that the state pointer, in the BerElement argument, is advanced past the first tag and length, and is pointed to the value part of the next element. This routine should only be used with constructed types and situations when a BER encoding is used as the value of an OCTET STRING.

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

ber_first_element

ber_next_element

ber_peek_tag