在DELPHI中怎么写这个VC的函数
在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);
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);