1
I have a program in which I managed to copy content as PDF to the clipboard using some undocumented functionality. Unfortunately this data is note pasteable even to programs that accept PDF. I managed to use this program to find that it can be made pasteable by changing the description (or type) from "PDF" to "Portable Document Format" (see screenshot below). Unfortunately this program also corrupts the data when doing this. (I think this is because the data is binary and not text)
How can I change the description/type of the Windows clipboard data without changing the (binary) data itself?
My previous related question: How to access raw clipboard data on Windows?
1" using some undocumented functionality" --- there's a reason why it's undocumented Snd you're seeing the effects of it – Sathyajith Bhat – 2012-01-15T02:31:51.833
@Sathya What is wrong with trying to reverse engineer how the program works? Also, my question is not about that functionality, but about how the clipboard works. – Szabolcs – 2012-01-15T07:55:35.803