waveInOpen function winmm

int waveInOpen(
  1. Pointer<IntPtr> phwi,
  2. int uDeviceID,
  3. Pointer<WAVEFORMATEX> pwfx,
  4. int dwCallback,
  5. int dwInstance,
  6. int fdwOpen,
)

The waveInOpen function opens the given waveform-audio input device for recording.

MMRESULT waveInOpen(
  LPHWAVEIN       phwi,
  UINT            uDeviceID,
  LPCWAVEFORMATEX pwfx,
  DWORD_PTR       dwCallback,
  DWORD_PTR       dwInstance,
  DWORD           fdwOpen
);

Implementation

int waveInOpen(Pointer<IntPtr> phwi, int uDeviceID, Pointer<WAVEFORMATEX> pwfx,
        int dwCallback, int dwInstance, int fdwOpen) =>
    _waveInOpen(phwi, uDeviceID, pwfx, dwCallback, dwInstance, fdwOpen);