This is the definition of the method:
[DllImport("user32.dll")] public static extern int SendMessage(IntPtr hWnd, int msg, IntPtr lparam, IntPtr wparam);
This is the call to SendMessage:
This is how I retrieve the data:
string text = System.Windows.Forms.Clipboard.GetText();
I would like to do the same, except that I do not want the data to be copied to the clipboard. Is it possible to copy data to another part of the memory? If so, how?
John smith
source share