public void Dispose() { if (handle != null) { System.Runtime.InteropServices.Marshal.ReleaseComObject(handle); } handle = null; }
private Segment(DirectMusicSegment8 handle) { this.handle = handle; }