Midwinter, William, active 1795, Major