Source.c 307 B

1234567891011121314
  1. #include <Windows.h>
  2. #include <Stdio.h>
  3. int main() {
  4. LPWSTR text = NULL;
  5. OpenClipboard(NULL);
  6. HANDLE CBtext = GetClipboardData(CF_UNICODETEXT);
  7. text = (LPWSTR)GlobalLock(CBtext);
  8. MessageBox(NULL, text, L"Îïîâåùåíèå", MB_OK);
  9. GlobalUnlock(CBtext);
  10. //EmptyClipboard();
  11. CloseClipboard();
  12. return 0;
  13. }