I am trying to read data from the clipboard. I want to be able to read it in ANY format. I have basicly figured out how to do that, but I am haveing some problems. I am useing GlobalSize() to get the size of the memory block allocated for the clipboard. This works fine most of the time, however sometimes (like with files copied from windows explorer) it returns a value that is *LESS* than the size it should be. Any ideas of why this would be happening or a better way to get the size of the memory block allocated to the clipboard?
I am writing this useing C and the Platform SDK.
0 · ·