Example #1
0
 public Class165(IntPtr intptr1, int int0)
 {
     _intptr0           = intptr1;
     _gchandle0         = GCHandle.Alloc(_struct660, GCHandleType.Pinned);
     _struct660.Intptr1 = (IntPtr)GCHandle.Alloc(this);
     _byte0             = new byte[int0];
     _gchandle1         = GCHandle.Alloc(_byte0, GCHandleType.Pinned);
     _struct660.Intptr0 = _gchandle1.AddrOfPinnedObject();
     _struct660.Int0    = int0;
     Exception4.smethod_1(Class162.waveOutPrepareHeader(_intptr0, ref _struct660, Marshal.SizeOf(_struct660)),
                          "waveOutPrepareHeader");
 }
Example #2
0
 public Class158(IntPtr intptr1, int int1, GenericAudioStream stream11, object object1)
 {
     _int0              = int1;
     _class170          = new Class17(int1);
     _gchandle0         = GCHandle.Alloc(_class170.method_0(), GCHandleType.Pinned);
     _intptr0           = intptr1;
     _stream10          = stream11;
     _object0           = object1;
     _struct660         = default(Struct66);
     _gchandle1         = GCHandle.Alloc(_struct660);
     _struct660.Intptr0 = _gchandle0.AddrOfPinnedObject();
     _struct660.Int0    = int1;
     _struct660.Int2    = 1;
     _gchandle2         = GCHandle.Alloc(this);
     _struct660.Intptr1 = (IntPtr)_gchandle2;
     lock (object1)
     {
         Exception4.smethod_1(Class162.waveOutPrepareHeader(intptr1, ref _struct660, Marshal.SizeOf(_struct660)),
                              "waveOutPrepareHeader");
     }
 }