TOAPI.WinMM.WaveInSafeHandle.ReleaseHandle C# (CSharp) Method

ReleaseHandle() protected method

Releases the resuorces used by this handle.
protected ReleaseHandle ( ) : bool
return bool
        protected override bool ReleaseHandle()
        {
            if (!this.IsClosed)
            {
                MMSYSERROR ret = winmm.waveInClose(this);
                return ret == MMSYSERROR.MMSYSERR_NOERROR;
            }
            else
            {
                return true;
            }
        }
    }