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);