Packet Sniffer SDK DLL Edition

HNFileAdapter :: Properties :: FAdpSetUserFilterActive

 Previous Next

Sets the status flag of the user-settable packet filter using.

Syntax:

BOOL __stdcall FAdpSetUserFilterActive(HANDLE hFAdp, BOOL bActiveBpf);

Parameters:

hFAdp

[in] HNFileAdapter object handle.

bActiveBpf

[in] The new value of the status flag of the user-settable packet filter using.

Return values:

If the function succeeds the return value will be the bActiveBpf parameter value.

Description:

Use UserFilterActive with UserFilter property to control filtering of packets read from a CAP file.

See also:HNFileAdapter, FAdpGetUserFilter, FAdpSetUserFilter