Freigeben über


waveOutMessage function

The waveOutMessage function sends messages to the waveform-audio output device drivers.

Syntax

DWORD waveOutMessage(
   HWAVEOUT  deviceID,
   UINT      uMsg,
   DWORD_PTR dwParam1,
   DWORD_PTR dwParam2
);

Parameters

  • deviceID
    Identifier of the waveform device that receives the message. You must cast the device ID to the HWAVEOUT handle type. If you supply a handle instead of a device ID, the function fails and returns the MMSYSERR_NOSUPPORT error code.

  • uMsg
    Message to send.

  • dwParam1
    Message parameter.

  • dwParam2
    Message parameter.

Return value

Returns the value returned from the driver.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

Library

Winmm.lib

DLL

Winmm.dll

See also

Waveform Audio

Waveform Functions