示例#1
0
 public bool method_2()
 {
     lock (this.object_0)
     {
         this.autoResetEvent_0.Reset();
         this.bool_0 = (Class162.waveOutWrite(this.intptr_0, ref this.struct66_0, Marshal.SizeOf(this.struct66_0)) == Enum18.const_0);
     }
     return(this.bool_0);
 }
示例#2
0
        private void method_4()
        {
            Enum18 @enum;

            lock (this.object_0)
            {
                @enum = Class162.waveOutWrite(this.intptr_0, ref this.struct66_0, Marshal.SizeOf(this.struct66_0));
            }
            if (@enum != Enum18.const_0)
            {
                throw new Exception4(@enum, "waveOutWrite");
            }
            GC.KeepAlive(this);
        }