1,183
社区成员




/******************************************************************************
* Function: HV_OpenDevice
* Description: 打开设备
* Format:
* HRESULT HV_OpenDevice(int nDevId) ;
* Params:
* int nId: 设备索引
* Return:
* HV_SUCCESS: 成功; HV_NO_SUCH_DEVICE: 未找到
******************************************************************************/
HVGIGE_WP_API HRESULT __stdcall HV_OpenDevice(int nDevId);
function HV_OpenDevice(nDevId: Integer):Integer;stdcall;external 'HVGigE_WP.dll' name 'HV_OpenDevice';
type
PHVGigE_Dev_i = ^_HVGIGE_DEV_I;
_HVGIGE_DEV_I = record
pName: PChar;
pDescription: PChar;
pSrcMacSddr: PByte;
pNext: PHVGIGE_DEV_I;
end;
HVGIGE_DEV_I = _HVGIGE_DEV_I;
type
_HVGIGE_DEV_I = record
pName: PChar;
pDescription: PChar;
pSrcMacSddr: PByte;
pNext: ^_HVGIGE_DEV_I;
// [Error] UnitDLL.pas(47): Type '_HVGIGE_DEV_I' is not yet completely defined
end;
HVGIGE_DEV_I = _HVGIGE_DEV_I;
PHVGigE_Dev_i = ^_HVGIGE_DEV_I;
type
_HVGIGE_DEV_I = record
pName: PChar;
pDescription: PChar;
pSrcMacSddr: PByte;
pNext: _HVGIGE_DEV_I^;
// [Error] UnitDLL.pas(47): Type '_HVGIGE_DEV_I' is not yet completely defined
// [Error] UnitDLL.pas(47): ';' expected but '^' found
end;
HVGIGE_DEV_I = _HVGIGE_DEV_I;
PHVGigE_Dev_i = _HVGIGE_DEV_I^;
// [Error] UnitDLL.pas(50): ';' expected but '^' found