DestroyProtocol function

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

Syntax

VOID WINAPI DestroyProtocol(
  _In_ HPROTOCOL hProtocol
);

Parameters

hProtocol [in]

Handle to the protocol to be destroyed.

Return value

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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
Library
Nmapi.lib
DLL
Nmapi.dll

See also

DllMain