Share via


MM_WOM_SETSECONDARYGAINCLASS

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message associates a stream context with an attenuation class. For more information see Attenuation Classes.

Syntax

MM_WOM_SETSECONDARYGAINCLASS
    wParam = (DWORD) dwClass
    lParam = 0

Parameters

  • dwClass
    A DWORD value that contains the new attenuation class for the audio stream context. You can set this parameter to 0, 1, 2, or 3. The default attenuation class value for new waveform audio streams is 0.
  • lParam
    Not used. Set to 0.

Remarks

When you send this message, you must provide a handle to the waveform audio stream in your call to waveOutMessage.

Return Value

None.

Requirements

Header audiosys.h
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

See Also

Reference

Waveform Audio Messages
waveOutMessage

Concepts

Attenuation Classes