Share via


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

Minimum supported client Windows 2000 Professional
Minimum supported server Windows 2000 Server
Header Netmon.h
Library Nmapi.lib
DLL Nmapi.dll

See Also

DllMain

Send comments about this topic to Microsoft

Build date: 11/9/2009