Torna al Thread
// Returns:
public const Int32 INVALID_PARAMETER = -1; // Invalid parameter
public const Int32 NOT_CONNECTED = 0; // Not connected (trying to connect)
public const CONNECTED = 1; // Connected
// Method C#:
[DllImport(ApiDll, CallingConvention = CallingConvention.Cdecl)]
public static extern Int32 GetConnectionStatus(out UInt16 NodeNumber, out UInt8 BNumber, out UInt32 GatewayControlIpAddrOfNode, out UInt16 GatewayControlIpPortOfNode, out string NodeDescriptionString);
// Method C:
Int32 __cdecl GetConnectionStatus(UInt16 *NodeNumber, UInt8 *BNumber, UInt32 *GatewayControlIpAddrOfNode, UInt16 *GatewayControlIpPortOfNode, char **NodeDescriptionString);