If the roll (with any bonuses) is higher than or equal to your AC it is a hit.  If they are attacking you, it would be 17 or greater, if attacking them, I'm not sure if we know their AC.  So if you roll greater than 10 you may as well include a damage roll and let the GM decide if it is a hit or not.