What is this site?
来源:互联网 发布:i知乎 编辑:程序博客网 时间:2024/05/06 21:15
http://www.pinvoke.net/index.aspx
PINVOKE.NET attempts to address the difficulty of calling Win32 or other unmanaged APIs in managed code (languages such as C# and VB .NET). Manually defining and using PInvoke signatures (also known as Declare statements in VB) is an error-prone process that can introduce extremely subtle bugs. The rules are complex, and if you make a mistake, you’ll probably corrupt memory.
Therefore, this site is a repository where you can find, edit, and add PInvoke signatures, user-defined types, and any other information that helps us leverage each other's efforts. Think of this as the 21st century version of VB6's "API Text Viewer," a standalone application which used static files such as WIN32API.TXT as input. Did you spend hours figuring out how to successfully define & call a given unmanaged API in managed code? Share (and get credit for) your discovery here! Is there an error on this site? Go ahead and fix it!
It's time to stop writing PInvoke signatures from scratch! Instead, copy and paste your way to productivity!
And this site has more than just signatures & type definitions. For example:
- Folks like you are sharing gotchas, tips, and samples specific to managed code. For example, check out why you shouldn't call CoInitializeSecurity from managed code.
- Alternative managed APIs are suggested as a replacement for using PInvoke in the first place.
- This site contains miscellaneous community resources that are helpful for being successful at unmanaged code interoperability. Feel free to add to these pages, too!
PINVOKE.NET is a Wiki (created with FlexWiki), enabling users like you (yes, you) to freely and easily contribute to the repository. New to Wikis? Try the Playground to experiment with the editing process. Enjoy!
The information on this site is provided "AS IS" with no warranties, and confers no rights. Microsoft Corporation is not affiliated with and does not endorse this site or any of the content on this site. Read more.
- What is this site?
- what is this?
- what is this api
- What is this?
- What is this blog for?
- string::size_type - what is this?
- What $this->_forward is doing
- UVa343 What Base Is This
- 什么是this指针 What is this pointer
- What is Favicon.ico? Personalise Your Site's Bookmark(zt)
- What Is the Purpose of This Book?
- Delegate: What is this? ----什么是Delegate(委托)
- Delegate: What is this? ----什么是Delegate(委托)
- What is this "def" I heard of?
- Container.DataItem. What exactly is this?
- UVA 343 What Base Is This?
- JS:what is this "Object.prototype" anyway...?
- UVa 343 - What Base Is This?
- PCA(主分量分析)在人脸识别中的应用
- SQL Server2000中死锁经验总结
- 记时器在ASP.NET中的应用
- 计算机组成原理的几个问题
- 中国软件之环境
- What is this site?
- 解决UDP出现的10054错误
- 李蔚泽老师畅谈心路历程 Fedora Linux新书创作体会
- 提速WinXP十招 操作简单又安全(图文)
- 精诚DRP分销系统携手康亿家打造连锁加盟的电子商务平台
- 内存不能为read written 解决方法
- 健胃养胃 清晨不该吃的三类食物
- UPDATE中的系统关键字问题
- 精诚EAS-MES制造执行系统助力东方久乐气囊精益生产