Condividi tramite


ENTRYPOINTS Structure

The ENTRYPOINTS structure defines the entry points to the export functions that Network Monitor uses to operate the parser.

Syntax

typedef struct __ENTRYPOINTS {
  REGISTER         Register;
  DEREGISTER       Deregister;
  RECOGNIZEFRAME   RecognizeFrame;
  ATTACHPROPERTIES AttachProperties;
  FORMATPROPERTIES FormatProperties;
}ENTRYPOINTS, *LPENTRYPOINTS;

Members

  • Register
    Pointer to the implementation of the Register expert function.

  • Deregister
    Pointer to the implementation of the Deregister function.

  • RecognizeFrame
    Pointer to the implementation of the RecognizeFrame export function.

  • AttachProperties
    Pointer to the implementation of the AttachProperties export function.

  • FormatProperties
    Pointer to the implementation of the FormatProperties export function.

Remarks

The CreateProtocol function uses the ENTRYPOINTS structure to provide pointers to Network Monitor. The pointers must be specified in the order identified in the previous Members section.

The FormatProperties function does not need to be implemented if Network Monitor will never display the protocol data. For example, FormatProperties does not need to be implemented if an export application uses the output from the parser, and Network Monitor does not display the output.

For information on See
What parsers are, and how they work with Network Monitor. Parsers
How to implement DllMain— includes an example. Implementing DllMain

 

Requirements

Minimum supported client Windows 2000 Professional
Minimum supported server Windows 2000 Server
Header Netmon.h

See Also

AttachProperties

CreateProtocol

Deregister

FormatProperties

RecognizeFrame

Register

Send comments about this topic to Microsoft

Build date: 11/9/2009