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);
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5