More Videos:

Why HP's Turnaround Plan Is Starting to Work

Tickers in this article: AAPL GOOG HPQ MSFT

A previous version of this story referred to EMEA as Europe, Middle East and Asia. It is Europe, Middle East and Africa. TheStreet regrets this error.

NEW YORK ( TheStreet) -- The fact that the PC market is continuing to shrink is no surprise to anyone. Tablets have continued to eat into consumer, and ultimately enterprise spending for some time now. However, as the market shrinks, it looks as if HP is doing whatever it can to grab every last piece of the shrinking pie it can.

Research firm Gartner released its worldwide PC shipment findings for the first quarter, and found that although the PC market continued to shrink, with PC makers selling 76.6 million units, down 1.7% year-over-year, HP looks as if it's started to gain some traction. Thanks to strength in EMEA (Europe, Middle East and Africa), HP owned 16% of the market, selling 12.2 million units, up from 15.1% or 11.78 million in the year ago quarter. That's good enough for second place behind Lenovo, which continues to dominate the PC market (including -x86 tablets, but not other tablets). Lenovo had 16.9% of the market at the end of the first quarter of 2014, up from 16% at the end of the first quarter in 2013.

HP achieved its fastest shipment growth in two years, and the growth in EMEA exceeded the regional average by a wide margin, helping HP's overall position.

Rounding out the top five were Dell, with 12.5% of the market, Acer with 7.3%, and Asus with 6.9% of the market, respectively.

It looks as if the worldwide PC market is starting to bottom, thanks in part to support ending for Microsoft Windows XP, earlier this week.  "The end of XP support by Microsoft on April 8 has played a role in the easing decline of PC shipments," said Mikako Kitagawa, principal analyst at Gartner in the release. "All regions indicated a positive effect since the end of XP support stimulated the PC refresh of XP systems. Professional desktops, in particular, showed strength in the quarter. Among key countries, Japan was greatly affected by the end of XP support, registering a 35 percent year-over-year increase in PC shipments. The growth was also boosted by sales tax change. We expect the impact of XP migration worldwide to continue throughout 2014."

"While the PC market remains weak, it is showing signs of improvement compared to last year. The PC professional market generally improved in regions such as EMEA. The U.S. saw the gradual recovery of PC spending as the impact of tablets faded," Kitagawa went on to say in the press release.

Though there are pockets of strength around the world for the PC market, it's still very tough in some areas, including China, which has seen strength in recent years. The long holiday in the middle of the quarter likely affected sales in China, Gartner noted.