typedef int ( PRODAVEAPI *pfn_LoadConnection_ex6 )
(
unsigned short ConNr,
char* pAccessPoint,
unsigned short ConTableLen,
CON_TABLE_TYPE * pConTable
);
头文件代码:typedef union {
unsigned char Mpi; // MPI Stationsadresse (2)
unsigned char Ip[4]; // IP Adresse (192.168.0.1)
unsigned char Mac[6]; // MAC Adresse (08-00-06-01-AA-BB)
} CON_ADR_TYPE;
typedef struct {
CON_ADR_TYPE Adr; // Verbindungsadresse
unsigned char AdrType; // Typ der Adresse MPI(1) IP(2) MAC(3)
unsigned char SlotNr; // Slot-Nummer
unsigned char RackNr; // Rack-Nummer
} CON_TABLE_TYPE;
labview中生成dll的vi时如下图·并没有出现CON_ADR_TYPE Adr这个输入参数
更多回帖