求转vc转为vb
struct ipc_info{
struct ipc_info* next;
union{
unsigned char ip[4]; //IPv4
unsigned long longIP; //IPv6
};
union{
unsigned char mac[8]; //mac
LONGLONG longMac;
};
int adapterIndex;
};
typedef struct ipc_info IPCINFO;
[解决办法]
Public Type IPCINFO
next as Long
ip(0 to 3) as Byte
mac(0 to 7) as Byte
adapterIndex as Long
End Type