在DELPHI中如何写这个VC的函数
HVSTATUS __stdcall HVSnapShot(HHV hhv, BYTE **ppBuffer, int nSum);
关键是BYTE **ppBuffer这个怎么写?
[解决办法]
type
HVSTATUS = Cardinal;
HHV = Cardinal;
function HVSnapShot(hhv1: HHV; var pBuffer: PByte; nSum: Integer): HVSTATUS;
[解决办法]
type PPByte = ^PByte
HVSnapShot(hhv:HHV; ppBuffer:PPByte;nSum:Integer);