Despite a major push by rival Lenovo, Hewlett-Packard has held onto its position as the top seller of PCs worldwide, according to IDC.