public static MMSYSERROR GetErrorText(int mmrError, StringBuilder errorText, int textSize) { MMSYSERROR result = winmm.waveOutGetErrorText(mmrError, errorText, textSize); return result; }