IAudioRendererWaveOut::SendMessage (Compact 2013)
3/26/2014
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
Header |
dshow.h |
Library |
Strmiids.lib |
See Also
Reference
IAudioRendererWaveOut Interface
waveOutMessage