How to delete Windows 10 version 1809 Clipboard history?

Viewed 731

If I enable Clipboard History on Windows 10 version 1809, it will then start collecting all copied items so they can be available via WinKey+V shortcut:

image

How can I delete all those items programmatically?

PS. Calling EmptyClipboard doesn't seem to affect it.

1 Answers

I tried it C. Here is the code......

#include <stdio.h>
#include <time.h>
#include <windows.h>
int main(){
unsigned int x = clock();
printf("clearing....");
while (x <= 40000){
x = clock();
OpenClipboard(0);
EmptyClipboard();
CloseClipboard();
    }
}

It runs for 40 sec and then stop automatically then all the clipboard history will delete.

Related