You could have it analyze every pixel of the on-screen area and save it as a value in a file format that windows doesn't know how to read (which could simply contain a number for width, a number for height, and width*height groups of three representing the r/g/b of each pixel), I believe GM has the functions that would allow you to do that. Then just have your program open/redraw those files.
Or, if you really want to be silly, just save it as a bitmap, then have your program create a second file with some junk characters in the beggining "jkflsdjlfj" and then the bitmap, deleting the original, and then have your program remove those junk characters when it imports the file.
I dunno how well those'd work though =D