midiOutCacheDrumPatches function winmm

int midiOutCacheDrumPatches(
  1. HMIDIOUT hmo,
  2. int uPatch,
  3. Pointer<Uint16> pwkya,
  4. int fuCache,
)

Requests that an internal MIDI synthesizer device preload and cache a specified set of key-based percussion patches.

To learn more, see learn.microsoft.com/windows/win32/api/mmeapi/nf-mmeapi-midioutcachedrumpatches.

Implementation

@pragma('vm:prefer-inline')
int midiOutCacheDrumPatches(
  HMIDIOUT hmo,
  int uPatch,
  Pointer<Uint16> pwkya,
  int fuCache,
) => _midiOutCacheDrumPatches(hmo, uPatch, pwkya, fuCache);