C#Dll导入unsigned char *

时间:2013-08-28 17:41:05

标签: c# dll import

我正在尝试调用Dll函数:

ISO15693_Inventory(unsigned short icdev, unsigned char *pData, unsigned char *pLen)

Parameter:
icdev:  [IN]  Communication device identifier
pData:  [OUT] Response data from tag, 1 byte DSFID + 8 bytes UID
pLen:   [OUT] Length of response data

导入为:

[DllImport("MasterRD.dll")]
static extern int ISO15693_Inventorys(short icdev, IntPtr pData, ref byte pLen);

但我无法让它发挥作用。我做错了什么?

谢谢,

0 个答案:

没有答案