Return Value
Zero based index of the matching device.
A value of -1 indicates that no match was found.