8144_get_version – ADLINK PCI-8144 User Manual

Page 85

Advertising
background image

Function Library

75

_8144_get_version

Get software and hardware version numbers

Description:

The user can get software and hardware versions by this func-
tion.

Syntax:

I16 _8144_get_version( I16 CardId, I32 *Dll_1,

I32 *Dll_2, I32 *FirmwareVersion, I32

*DriverVersion );

B_8144_get_version( ByVal CardId As Integer,

Dll_1 As Long, Dll_2 As Long,

FirmwareVersion As Long, DriverVersion As

Long ) As Integer

Parameters:

I16 CardId

: The card ID number

I32 *Dll_1

: The 8144.DLL version information

I32 *Dll_2

: The MC4541.DLL version information

I32 *FirmwareVersion

: The information of 8144 card firm-

ware version

I32 *DriverVersion

: The information of WDM driver.

Return Values:

ERR_ParametersInvalid

ERR_DeviceNotInitial

ERR_Win32Error

ERR_NoError

Example:

I16 CardId = 0;

I32 DLL_1, DLL_2, FirmwareVersion, DriverVersion;

I16 ret = _8144_get_version(CardId, &Dll_1,

&Dll_2, &FirmwareVersion, &DriverVersion );

See also:

Advertising