Is there any way I can save a HDC to a file such as a .gif, .bmp, .jpg or anything else along that line? In VB there is a function SavePicture. Is there anything like this for C++?

thx in advance