BERGetString function

The BERGetString function decodes a BER-encoded string.

Syntax

BOOL BERGetString(
   LPBYTE  pCurrentPointer,
   LPBYTE  *ppValuePointer,
   LPDWORD pHeaderLength,
   LPDWORD pDataLength,
   LPBYTE  *ppNext
);

Parameters

pCurrentPointer

Pointer to the string that is decoded.

ppValuePointer

Pointer to the pointer of the decoded string.

pHeaderLength

Pointer to the returned header length.

pDataLength

Pointer to the string length.

ppNext

Pointer to the pointer of the next BER entry.

Return value

If the function is successful (that is, if a valid BER-encoded string is decoded), the return value is TRUE.

If function is unsuccessful, the return value is FALSE.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
Library
Parser.lib
DLL
Nmapi.dll