pb如何调用参数16进制的函数
外部函数的原型是这样的
int DF_AuthPro(int hReader,stDFAuth pDFAuth);
其中pDFAuth结构体定义:
typedef struct{
BYTE DFAID[3];
BYTE KeyNo;
BYTE PsamKeyType;
BYTE PsamKeyIndex;
BYTE PsamAPP;
}
在c#的例程里这样调用的
stDFAuth stDFAuth = new stDFAuth();
stDFAuth.DFAID = new byte[] { 0x01, 0x00, 0x00 };
stDFAuth.KeyNo = 0x01;
stDFAuth.PsamAPP = 0x11;
stDFAuth.PsamKeyIndex = 0x01;
stDFAuth.PsamKeyType = 0x01;
ReadCard.DF_AuthPro(hReader, stDFAuth);
pb里该怎样调用呢?