Partager via


GetEnabledProtocols

The GetEnabledProtocols function returns a table of all protocols that are marked Enabled.

LPPROTOCOLTABLE WINAPIGetEnabledProtocols(HCAPTUREhCapture);

Parameters

  • hCapture
    [in] Handle to the capture.

Return Values

If the function is successful, the return value is a pointer to a PROTOCOLTABLE structure that lists all the enabled protocols in the capture.

If the function is unsuccessful, the return value is NULL.

Remarks

Experts and parsers can call the GetEnabledProtocols function.

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

PROTOCOLTABLE