I don't know much about meta file, but if I want to save a specified window content into memory(not as a file) and paste it on somewhere, let's say Office doc.

Just like in the Office, we can copy lines, text, or other things and paste them somewhere else.

I am quite new about this, please give me some sample code or and idea could be appreciated!!!