Click here to Skip to main content
15,567,466 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How does work paste option in windows..? i mean i want to know destination address of which we paste data from clipboard. the solution may be in windows registry or programming i.e Windows API.

Please help

thanks
Posted
Comments
Sergey Alexandrovich Kryukov 27-Mar-12 16:09pm    
What do you mean by "know", exactly?
--SA

1 solution

There is no such thing. This is not how it works. You don't need to "know destination", you provide the destination using Windows API.

The clipboard operations simply allow you to put data from the clipboard or retrieve data from clipboard, if any, depending on the required clipboard format. That is, the primary destination is just the memory of a calling process. When you obtain the data, you can put it anywhere you want. You can also register new data format and define how the clipboard handles the data of such custom type. Please start here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms648709%28v=vs.85%29.aspx[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900