I need DLL, that help me to create screenshots of virtualized OS. I want to get screenshot pixel-by-pixel. For example:
int PixelColor = getPixelColor(int x, int y) // it returns color code (in any form: RGB, BGR, something else) or -1, if errors occured (for example, if takeScreenShot was not called before)
makeScreenShot() // force DLL to take new screenshot and store it into himself. Returns -1, if errors occured (for example, searchVM was not called before)
searchVM(int x, int y) // search virtualized OS which have resolution x*y. If Virtualbox not running, or virtual OS not started or have wrong resolution, return -1
I need clean code, documented sources, unit-tests! Language dosn't matter.