MpatFree()函数

Synopsis

Free a pattern matching buffer (model or result buffer).

Format

void MpatFree(PatId)

MIL_ID PatId; Pattern recognition buffer identifier

Description

This function deletes the specified model or result pattern recognition buffer identifier and releases any memory associated with it.

The PatId parameter specifies the identifier of the pattern recognition buffer to free. The buffer must have been successfully allocated (with MpatAllocModel, MpatAllocAutoModel, or MpatAllocResult) prior to calling this function.