Win32: https://learn.microsoft.com/en-us/windows/win32/dataxchg/cli...
WinRT: https://learn.microsoft.com/en-us/uwp/api/windows.applicatio...
>Either way, I'm pretty sure it could be added if someone cared enough
That's the problem. Ironically, not enough people care about improving the security and privacy of desktop Linux.
>It just seems to me that if someone is able to access your clipboard history you've lost already
Do you not see how it could be problematic if sensitive things were logged and persisted to disk?
And your link just shows some programmatic access? How do I access that as a user when I press Ctrl+C? I suppose it's "useful" for things like password managers, but since anything can read the clipboard anyway it's a very limited protection. If something is so sensitive that you're using that special programmatic way of storing it then you should be using the clipboard but an actually secure mechanism.
Either way, I'm pretty sure it could be added if someone cared enough, e.g. by adding a new target.
It just seems to me that if someone is able to access your clipboard history you've lost already, and the entire feature seems more of a convenience thing than a security thing.