public void Dispose() { if (_struct660.Intptr0 != IntPtr.Zero) { Class162.waveOutUnprepareHeader(_intptr0, ref _struct660, Marshal.SizeOf(_struct660)); _gchandle0.Free(); _struct660.Intptr0 = IntPtr.Zero; } _autoResetEvent0.Close(); if (_gchandle1.IsAllocated) { _gchandle1.Free(); } GC.SuppressFinalize(this); }
public void method_0(bool bool0) { if (_gchandle1.IsAllocated) { _gchandle1.Free(); } if (_gchandle0.IsAllocated) { _gchandle0.Free(); } if (_gchandle2.IsAllocated) { _gchandle2.Free(); } if (_intptr0 != IntPtr.Zero) { lock (_object0) { Class162.waveOutUnprepareHeader(_intptr0, ref _struct660, Marshal.SizeOf(_struct660)); } _intptr0 = IntPtr.Zero; } }