public uint GetConfigValue(string config_key) {
   uint requestId = 0;
   eLeapRS result = LeapC.RequestConfigValue(_leapConnection, config_key, out requestId);
   reportAbnormalResults("LeapC RequestConfigValue call was ", result);
   _configRequests[requestId] = config_key;
   return requestId;
 }
Beispiel #2
0
        public uint GetConfigValue(string config_key)
        {
            uint requestId = 0;

            if (_leapConnection != IntPtr.Zero) //Test IsServiceConnected (when it works)
            {
                eLeapRS result = LeapC.RequestConfigValue(_leapConnection, config_key, out requestId);
                reportAbnormalResults("LeapC RequestConfigValue call was ", result);
                _configRequests [requestId] = config_key;
            }
            return(requestId);
        }
Beispiel #3
0
        public uint GetConfigValue(string config_key)
        {
            lock (_connLocker) {
                uint requestId = 0;
                if (_leapConnection == IntPtr.Zero)
                {
                    return(requestId);
                }

                eLeapRS result = LeapC.RequestConfigValue(_leapConnection, config_key, out requestId);
                reportAbnormalResults("LeapC RequestConfigValue call was ", result);
                _configRequests [requestId] = config_key;
                return(requestId);
            }
        }