Share via


IAudioRendererWaveOut::SendMessage

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method is used to send Waveform Audio messages to the audio device. It is a transparent wrapper for the waveOutMessage function.

Syntax

HRESULT SendMessage(
  UINT  uMsg,
  DWORD dw1,
  DWORD dw2
);

Parameters

  • uMsg
    [in] A UINT value that identifies the message to send to the audio device. The device driver implementation determines how this message is interpreted.
  • dw1
    [in] A DWORD value that contains the message data. The device driver implementation determines how this data is interpreted.
  • dw2
    [in] A DWORD value that contains the message data. The device driver implementation determines how this data is interpreted.

Return Value

Value Description

S_OK

Success

MMSYSERR_NODRIVER

There has been a failure in the device driver or the filter graph is in the stopped state.

Remarks

Applications should expect that a previously obtained wave out handle will remain valid after a call to IMediaControl::Pause returns. In returning for the pause state, DirectShow makes sure that all resources are allocated before an application calls IMediaControl::Run. Applications should ensure that this wave out handle remains open until the filter graph is stopped through a call to IMediaControl::Stop.

Requirements

Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment

See Also

Reference

IAudioRendererWaveOut Interface

Other Resources

Waveform Audio
waveOutMessage