EnableDOIPLine Method - intrepidcs API¶
C/C++ declare - VB.NET declare - C# declare - Parameters - Return Values - Remarks - C/C++ example - VB.NET example - C# example
This method enables or disables the Ethernet activation line on supported hardware devices.
C/C++ Declare¶
int _stdcall icsneoEnableDOIPLine(void* hObject, bool bActivate);
Visual Basic .NET Declare¶
Public Declare Function icsneoEnableDOIPLine Lib “icsneo40.dll” (ByVal hObject As IntPtr, ByVal bActivate As Boolean) As Int32
C# Declare¶
[DllImport(“icsneo40.dll”)] public static extern Int32 icsneoEnableDOIPLine(IntPtr hObject, bool bActivate);
Parameters¶
- hObject
[in] Handle [in] Which specifies the driver object created by OpenNeoDevice
bActivate [in] Sets the state of the Ethernet Activation line.
Return Values¶
This function returns the 1 when successful. 0 if otherwise.
Remarks¶
This function will enable and disable Ethernet Activation line for DoIP applications on applicable hardware devices.