GetDLLFirmwareInfo Method - intrepidcs API
C/C++ declare -
VB declare - VB.NET declare -
C# declare - Parameters - Return
Values - Remarks - C/C++ example
- VB.NET example
- C#
example
This method returns the firmware version stored within the DLL API.
int _stdcall icsneoGetDLLFirmwareInfo(void * hObject, stAPIFirmwareInfo *pInfo);
Visual Basic .NET Declare
Public
Declare Function
icsneoGetDLLFirmwareInfo
Lib
"icsneo40.dll" (ByVal
hObject As IntPtr,
ByRef pInfo
As stAPIFirmwareInfo)
As Integer
[DllImport("icsneo40.dll")]
hObject
[in] Specifies the driver object created by OpenNeoDevice.
pInfo
[out] Pointer to an stAPIFirmwareInfo
structure.
Returns 1 if successful, 0 if an error occurred.
Remarks
This method returns the version information for the neoVI firmware
stored within the neoVI DLL API. This is the version that will be written to the
neoVI device by the ForceFirmwareUpdate
method.
Examples
stAPIFirmwareInfo FirmwareInfo;
stAPIFirmwareInfo FirmwareInfo =
new stAPIFirmwareInfo();
Visual Basic .NET Example
Dim
FirmwareInfo As
stAPIFirmwareInfo
Dim iResult As
Integer
iResult = icsneoGetDLLFirmwareInfo(m_hObject, FirmwareInfo)
If iResult = 0
Then
MsgBox("Problem
getting the version of the firmware stored within the DLL API")
Exit
Sub
End
If
intrepidcs API Documentation - (C) Copyright 2000-2022 Intrepid Control Systems, Inc. (www.intrepidcs.com) |
Last Updated : Monday, April 27, 2020