Share via


BERGetInteger

The BERGetInteger function decodes a BER-encoded integer.

BOOLBERGetInteger(LPBYTEpCurrentPointer,
LPBYTE*ppValuePointer,
LPDWORDpHeaderLength,
LPDWORDpDataLength,
LPBYTE*ppNext);

Parameters

  • pCurrentPointer
    Pointer to the integer that is decoded.
  • ppValuePointer
    Pointer to the pointer to returned value.
  • pHeaderLength
    Pointer to the returned header length.
  • pDataLength
    Pointer to the data length.
  • ppNext
    Pointer to the pointer to the next BER entry.

Return Values

If the function is successful (that is, if a valid BER encoded integer is found and converted), 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.