How can I display an image from the loaded *.gif or *.bmp image file with CreateFile and ReadFile API?

regards,
Chris.C