Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Enumerating Windows 10 Clipboard History

Aug
1,949
71
@rconn recently posted, in regards to the Windows 10 Clipboard History;
True, but Microsoft has neglected to document an API to access them.

I found a couple of articles by Raymond Chen in regards to the Windows 10 Clipboard History;

Enumerating Windows clipboard history in C++/WinRT and C#

Enumerating Windows clipboard history in PowerShell

I've tried the PowerShell solution, and it works as documented.

The C++ solution would be useful for those who may want to create a plugin to display the Windows 10 Clipboard History.

Joe
 
I don't think it will ever be accessible from C++.

[Begin Rant]
Microsoft always has to change for change sake.

API -> COM
Invest time to learn COM

A few years later;
API -> COM -> .NET Framework
Invest time to learn .NET Framework

A few years later;
API -> COM -> .NET Framework -> .NET Core
Invest time to learn .NET Core

A few years later;
API -> COM -> .NET Framework -> .NET Core-> WinRT
Invest time to learn WinRT

Planned obsolescence.

I've lost too many brain cells over the past few years,
and having to learn the latest and greatest every few years,
well, it gets challenging.
[End Rant]

The PowerShell solution from Raymond Chen does work with PowerShell,
but not with the third-party nSoftware PowerShell .dll,
which is understandable.

I was going to try the C# code,
but after learning I would have to install more additions to VS 2022,
I decided against it.

I'm going to stick with what I know.

Joe
 
Back
Top