Is there a maximum size for Windows clipboard data?

Tolkem

Well-Known Member
Joined
Jan 6, 2019
Messages
1,568
Reaction score
1,285
Credits
11,462
Hi, everyone! Hope you're all having a nice life! :)

I just bumped into this post while checking my feed https://devblogs.microsoft.com/oldnewthing/20220608-00/?p=106727 Found it a good read and thought of sharing here.
An excerpt:
A customer had a program that opened a very large spreadsheet in Excel. Very large, like over 300,000 rows. They then selected all of the rows in the very large spreadsheet, copied those rows to the clipboard, and then ran a program that tried to extract the data. The program used the GetClipboardData function to retrieve the data in Rich Text Format. What they found was that the call to GetClipboardData was returning NULL. Is there a maximum size for clipboard data?
 



Members online


Top