Paulo,
Are you trying to capture the current screen image to a file? Or display an image that you already have in jpg format?
> I am trying to save an image(bmp or jpg) from de memory. I Have researched some functions from de Windows API, but I have not been able to find a solution. Could you please give me some help?