ENTRYPOINTS
The ENTRYPOINTS structure defines the entry points to the export functions that Network Monitor uses to operate the parser.
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
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. |
See Also
AttachProperties, CreateProtocol, Deregister, FormatProperties, RecognizeFrame, Register