Edit

Share via


Deregister callback function

The Deregister export function frees the resources used to create the protocol property database. The parser DLL must implement Deregister.

Syntax

VOID Deregister(
  _In_ HPROTOCOL hProtocol
);

Parameters

hProtocol [in]

Handle of the protocol for a specific database.

Return value

None.

Remarks

Network Monitor calls Deregister after passing all the capture information to the parser DLL. The parser DLL must implement a Deregister function for each protocol that the parser supports.

When implementing Deregister, the parser DLL must call the DestroyPropertyDatabase function to release the property database resources.

For information on See
What parsers are, and how they work with Network Monitor. Parsers
Which entry points are included in the parser DLL. Parser DLL Architecture
How to implement Deregister includes an example. Implementing Deregister

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h

See also

DestroyPropertyDatabase