EmptyClipboard

C# Signature:

[DllImport("user32.dll")]
static extern bool EmptyClipboard();

Sample Code:

IntPtr handleWnd = GetOpenClipboardWindow();
OpenClipboard(handleWnd);
EmptyClipboard();
CloseClipboard();

Última actualización