Beispiel #1
0
 public bool method_2()
 {
     lock (_object0)
     {
         _autoResetEvent0.Reset();
         _bool0 = (Class162.waveOutWrite(_intptr0, ref _struct660, Marshal.SizeOf(_struct660)) == Enum18.Const0);
     }
     return(_bool0);
 }
Beispiel #2
0
        private void method_4()
        {
            Enum18 @enum;

            lock (_object0)
            {
                @enum = Class162.waveOutWrite(_intptr0, ref _struct660, Marshal.SizeOf(_struct660));
            }
            if (@enum != Enum18.Const0)
            {
                throw new Exception4(@enum, "waveOutWrite");
            }
            GC.KeepAlive(this);
        }