midiOutGetErrorText function Null safety winmm

int midiOutGetErrorText(
  1. int mmrError,
  2. Pointer<Utf16> pszText,
  3. int cchText
)

The midiOutGetErrorText function retrieves a textual description for an error identified by the specified error code.

MMRESULT midiOutGetErrorTextW(
  MMRESULT mmrError,
  LPWSTR   pszText,
  UINT     cchText
);

Implementation

int midiOutGetErrorText(int mmrError, Pointer<Utf16> pszText, int cchText) =>
    _midiOutGetErrorText(mmrError, pszText, cchText);