HVSTATUS __stdcall HVSnapShot(HHV hhv, BYTE **ppBuffer, int nSum);关键是BYTE **ppBuffer这个怎么写?

解决方案 »

  1.   

    type
      HVSTATUS = Cardinal;
      HHV = Cardinal;function HVSnapShot(hhv1: HHV; var pBuffer: PByte; nSum: Integer): HVSTATUS;
      

  2.   

    type PPByte = ^PByte
    HVSnapShot(hhv:HHV; ppBuffer:PPByte;nSum:Integer);
      

  3.   

    关于这个函数有个例子
    BYTE Buffer1[800 * 600] // 第一幅图像的缓冲区
    BYTE Buffer2[800 * 600] // 第二幅图像的缓冲区
    BYTE *ppBuffer[2]; //图像数据缓冲区指针的列表
    ppBuffer[0] = Buffer1;
    ppBuffer[1] = Buffer2;
    HVSnapShot(hhv, ppBuffer, 2);
    相应的在DELPHI中如何表示?