Forces between a rigid probe particle and a liquid interface. II. The general case.