Partager via


DestroyProtocol

The DestroyProtocol function destroys the protocol that the CreateProtocol function creates.

VOID WINAPIDestroyProtocol(HPROTOCOLhProtocol);

Parameters

  • hProtocol
    [in] Handle to the protocol to be destroyed.

Return Values

None.

Remarks

The parser DLL calls the DestroyProtocol function during its implementation of DllMain. DestroyProtocol is called when the operating system is going to unload the DLL.

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.

Library

Link to Nmapi.lib.

DLL Requires Nmapi.dll.

See Also

DllMain