如何将DLL中引用函数(C语言格式)转为VB定义格式???
高手请教啊!!!
如何将DLL中引用函数(C语言格式)转为VB定义格式?
例如:
typedef struct _DRIVER_INFO_OK
{
char ModalNumber[40];
char SerialNumber[20];
char ControlNum[8];
DWORD DriveType;
DWORD Cylinders;
DWORD Heads;
DWORD Sectors;
} DRIVER_INFO_OK, *PDRIVE_INFO_OK;
int ReadPhysicalDriveInNT(const int idrive,PDRIVE_INFO_OK buf,int buflen)
其中,buf变量是指针.
上面的定义在VB中如何引用啊!!!