Export (0) Print
Expand All
Expand Minimize

ber_peek_tag function

The ber_peek_tag function returns the tag of the next element to be parsed in the supplied BerElement structure.

Syntax


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

Parameters

pBerElement [in]

Pointer to the source BerElement structure.

pLen [out]

Returns the length of the next element to be parsed.

Return value

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

Remarks

The decoding position within the pBerElement parameter is unchanged by this call; that is, the fact that ber_peek_tag has been called does not affect future use of the BerElement structure.

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_skip_tag
ber_first_element
ber_next_element

 

 

Show:
© 2014 Microsoft