[DllImport("user32.dll")]
protected static extern IntPtr SetClipboardViewer(IntPtr hWndNewViewer);
[DllImport("user32.dll")]
protected static extern bool ChangeClipboardChain(IntPtr hWndRemove, IntPtr hWndNewNext);
[DllImport("user32.dll")]
protected static extern int SendMessage(IntPtr hwnd, int wMsg, IntPtr wParam, IntPtr lParam);
이거쓰면 될듯 ㅇㅅㅇ
SendMessage는 WndProc 데이터 날리는건가 ㅇㅅㅇ
한창 윈폼 자동화 관련해서 만들때 쓰던건데 올만에 보노 ㅇㅅㅇ
윈도우 메세지 후킹은 쟤말곤 업나 ㅇㅅㅇ
이미 다른 방식으로 했음
ㅇㅇ 너 방식도 맞는데 저런식으로하면 서비스로 띄워서 그냥 프로그램 킬 필요없이 바로 가능 ㅅㅇ
클립보드 후킹해서 복붙할때 gpt 워터마크 날리면 되겠네
ㅇㅇ 딱 그거인 ㅇㅅㅇ - dc App