C#中的DWORD_PTR [英] DWORD_PTR in C#
本文介绍了C#中的DWORD_PTR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在C#中使用 DWORD_PTR?我使用谷歌但找不到任何解决方案。它抛出错误:
How to use DWORD_PTR in C#? I used google but couldn't find any solution. It throws error:
错误CS0246:找不到类型或命名空间名称'DWORD_PTR'(您是否缺少using指令或程序集引用?)
error CS0246: The type or namespace name 'DWORD_PTR' could not be found (are you missing a using directive or an assembly reference?)
推荐答案
DWORD_PTR是ac / c ++数据类型。
DWORD_PTR is a c/c++ data type.
它相当于C#中的uint。或者可能是IntPtr。
It is equivalent to a uint in C#. Or possibly a IntPtr.
这取决于你要做的事情。这是调用一些Windows API还是非.NET DLL?
It depends on what you are trying to do exactly. Is this to call some Windows API or non-NET DLL?
这篇关于C#中的DWORD_PTR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文