Can't copy files via clipboard in win 10 service app

Ilya Mentsiuk 1 Reputation point

There is process that run under service and has SYSTEM authority. This process creates window and calls AddClipboardFormatListener to get clipboard notification. TEXT data can be red from clipboard. But when try to copy file (press Ctral+C) CountClipboardFormats() returns 0.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,516 questions
{count} votes