The Code 10 error is one of several Device Manager error codes. It's generated when Device Manager can't start the hardware device, a situation usually caused by outdated or corrupted drivers. A device may also receive a Code 10 error if a driver generates an error that Device Manager doesn't understand.
First, what is your actual graphics device? You might start by playing around with drivers: install the latest version, install some old version from motherboard/GPU CD it came with or download from website.