MIL_ID PatResultId, | //in |
MIL_INT *CountPtr | //out |
This function retrieves the number of matches found after searching for a model. It returns the number of occurrences of the model that were found with match scores greater than or equal to the model's acceptance level to a maximum of MpatSetNumber(). The returned number will never be bigger than the number of entries allocated for the result buffer.
This function determines the number of results retrieved with MpatGetResult(). Call MpatGetNumber() prior to checking results with MpatGetResult(). Note that when no occurrences of the model are found, there is no need to check the results.
Specifies the identifier of the pattern matching result buffer that was used to store results obtained by MpatFindModel().
Header | Include mil.h. |
Library | Use mil.lib; milpat.lib. |
DLL | Requires mil.dll; milpat.dll. |