Partager via


BERGetHeader

The BERGetHeader function decodes a choice header.

BOOLBERGetHeader(LPBYTEpCurrentPointer,
LPBYTEpTag,
LPDWORDpHeaderLength,
LPDWORDpDataLength,
LPBYTE*ppNext);

Parameters

  • pCurrentPointer
    Pointer to the choice header.
  • pTag
    Pointer to the returned tag.
  • pHeaderLength
    Pointer to the returned header length.
  • pDataLength
    Pointer to the returned data length.
  • ppNext
    Pointer to the header contents.

Return Values

If the function is successful (that is, a valid BER choice header is found) the return value is TRUE.

If the 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.