Lloyd, William, active 1692-1706, Major-General