Редагувати

Поділитися через


GetEnabledProtocols function

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

Syntax

LPPROTOCOLTABLE WINAPI GetEnabledProtocols(
  _In_ HCAPTURE hCapture
);

Parameters

hCapture [in]

Handle to the capture.

Return value

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

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

PROTOCOLTABLE