<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=3043170519342045&amp;ev=PageView&amp;noscript=1">

Syntax

#include "j2534_v0404.h"

long PassThruStopMsgFilter(unsigned long ChannelID, unsigned long MsgID);


Description
Terminate the specified network protocol filter. Once terminated the filter identifier or handle value is invalid.

Parameters
ChannelID - Logical communication channel identifier
MsgID - Message identifier or handle assigned by the J2534 API/DLL when PassThruStartMsgFilter function was called.

See Also: PassThruStartMsgFilter

See Also: PassThruIoctl (CLEAR_MSG_FILTERS)


Example:


PassThruStartMsgFilter(ChannelID, PASS_FILTER, &MaskMsg, &PatternMsg, NULL, &FilterID);

// Perform vehicle communication here

PassThruStopMsgFilter(ChannelID, FilterID);

BACK