Tor Lillqvist<p>The clipboard API in <a href="https://urbanists.social/tags/Win32" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Win32</span></a> is surprisingly ancient. I mean this GlobalAlloc(), GlobalLock() thing to get something where to copy data before you can call SetClipboardData() on smells of 16-bit times, doesn't it?</p><p>OTOH, GlobalAlloc(), GlobalLock(), and GlobalUnlock() are just three lines of code, the API is still relatively straightforward. And I guess it is supposed to be quite rare that one would want or need to use the Win32 API nowadays.</p>