使用pinvoke方法从剪贴板中移动内容 [英] Moving something from the clipboard using pinvoke method

查看:88
本文介绍了使用pinvoke方法从剪贴板中移动内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从导入的dll(不确定哪个:P)中调用将粘贴剪贴板中所有内容的方法.基本上,当有人按下Ctrl + V时,操作系统会调用什么?我需要将该方法公开给我的程序!

I want to call a method from an imported dll(not sure which one :P) that will paste what ever is in the clipboard. Basically, what gets called by the OS when someone presses Ctrl + V? I need that method exposed to my program!

推荐答案

为什么?您可以只使用剪贴板类 [
Why? You could just use the Clipboard class[^], couldn''t you?


这篇关于使用pinvoke方法从剪贴板中移动内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆