In the Win32API documentation, -1 means that the method failed. If it succeeds it returns the rgb value of the pixel (I think).
I would try to use BitBlt, but I don't know where I'd get the handle of device context for the source image. However, I'll just keep looking through the documentation for something useful.