Export (0) Print
Expand All
Expand Minimize

ber_skip_tag function

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

Syntax


ULONG ber_skip_tag(
  _In_   BerElement *pBerElement,
  _Out_  ULONG *pLen
);

Parameters

pBerElement [in]

Pointer to the source BerElement structure.

pLen [out]

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

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

ber_peek_tag
ber_first_element
ber_next_element

 

 

Show:
© 2014 Microsoft