delphi 调用指针函数的问题!DLL 里有个指针函数,调用的时候怎么在type里定义????
调用
getconnectiondevice(unsigned int:vid;unsigned int:pid;unsigned int *No);
我在
type里定义函数如下:
TGetConnectedDevices=function(vid:Uint32;pid:Uint32;noOfDevs:PUint32):Integer;stdcall; //called correctly.
.
.
.
函数调用成功.................。
现在有一个这样的函数:
void* OpenByIndex(unsigned int: vid;unsigned int: pid;unsigned int : index)
return(void*) -- the handle of device。
请问一下,这个在type里应该如果定义呢?