C# ref dll >> parameters corresponding table
2006-05-30 19:24
381 查看
Wtypes.h 中的非托管类型 | 非托管 C 语言类型 | 托管类名 | 说明 |
---|---|---|---|
HANDLE | void* | System.IntPtr | 32 位 |
BYTE | unsigned char | System.Byte | 8 位 |
SHORT | short | System.Int16 | 16 位 |
WORD | unsigned short | System.UInt16 | 16 位 |
INT | int | System.Int32 | 32 位 |
UINT | unsigned int | System.UInt32 | 32 位 |
LONG | long | System.Int32 | 32 位 |
BOOL | long | System.Int32 | 32 位 |
DWORD | unsigned long | System.UInt32 | 32 位 |
ULONG | unsigned long | System.UInt32 | 32 位 |
CHAR | char | System.Char | 用 ANSI 修饰。 |
LPSTR | char* | System.String 或 System.Text.StringBuilder | 用 ANSI 修饰。 |
LPCSTR | Const char* | System.String 或 System.Text.StringBuilder | 用 ANSI 修饰。 |
LPWSTR | wchar_t* | System.String 或 System.Text.StringBuilder | 用 Unicode 修饰。 |
LPCWSTR | Const wchar_t* | System.String 或 System.Text.StringBuilder | 用 Unicode 修饰。 |
FLOAT | Float | System.Single | 32 位 |
DOUBLE | Double | System.Double | 64 位 |
相关文章推荐
- 在C#里调用C++的dll时需要注意的一些问题<转>
- C\C++ Dll ->C# ->MaxScript通过C#调用C++写的Dll
- C#定义泛型方法错误-类型“T”必须是引用类型才能用作泛型类型或方法“System.Data.Linq.Table<TEntity>”中的参数“TEntity”
- c#调用c++写成的dll文件,返回char*,返回数组,用ref接收,byte[] (zz)
- 笔记<c# 调用DLL解密密文>
- 读<<CLR via C#>>总结(7) 以传引用的方式向方法传递参数---ref&out
- C#→关于System.Data.Linq下的Table<TEntity> 泛型类 的问题
- [优秀英文技术文章转载]Table Value Parameters in SQL Server 2008 and .NET (C#)
- c#调用c++写成的dll文件,返回char*,返回数组,用ref接收,byte[]
- 爬一个网页,输出全部<table>(C#Console)
- C# 调用C写的DLL时 对应的char* 类型转化为 ref byte
- C# ref out parameters 输入输出参数
- C# and Table Value Parameters
- Visual Studio 2017中使用正则修改部分内容 如何使用ILAsm与ILDasm修改.Net exe(dll)文件 C#学习-图解教程(1):格式化数字字符串 小程序开发之图片转Base64(C#、.Net) jquery遍历table为每一个单元格取值及赋值 。net加密解密相关方法 .net关于坐标之间一些简单操作
- C#编程->FreeImage.dll使用方法
- c#调用c++写成的dll文件,返回char*,返回数组,用ref接收,byte[] (zz)
- C#中关于引用参数ref关键字的使用和本质论
- c#窗口调用C++DLL
- IronPython调用C# DLL函数方法
- C#中如何调用托管的DLL