Share via


BERGetString

The BERGetString function decodes a BER-encoded string.

BOOLBERGetString(LPBYTEpCurrentPointer,
LPBYTE*ppValuePointer,
LPDWORDpHeaderLength,
LPDWORDpDataLength,
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 Values

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

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Parser.lib.

DLL Requires Nmapi.dll.