midiOutCachePatches function Null safety winmm

int midiOutCachePatches(
  1. int hmo,
  2. int uBank,
  3. Pointer<Uint16> pwpa,
  4. int fuCache
)

The midiOutCachePatches function requests that an internal MIDI synthesizer device preload and cache a specified set of patches.

MMRESULT midiOutCachePatches(
  HMIDIOUT hmo,
  UINT     uBank,
  LPWORD   pwpa,
  UINT     fuCache
);

Implementation

int midiOutCachePatches(
        int hmo, int uBank, Pointer<Uint16> pwpa, int fuCache) =>
    _midiOutCachePatches(hmo, uBank, pwpa, fuCache);