A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



mixerMessage

The mixerMessage function sends a custom mixer driver message directly to a mixer driver.

VB4-32,5,6
Declare Function mixerMessage Lib "winmm.dll" Alias "mixerMessage" (ByVal hmx As Long, ByVal uMsg As Long, ByVal dwParam1 As Long, ByVal dwParam2 As Long) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Winmm

Parameter Information
- hmx
Handle of an open instance of a mixer device. This handle is returned by the mixerOpen function.

- uMsg
Custom mixer driver message to send to the mixer driver. This message must be above or equal to the MXDM_USER constant.

- dwParam1 and dwParam2
Arguments associated with the message being sent.

Return Values
Returns a value that is specific to the custom mixer driver message. Possible error values include the following:
MMSYSERR_INVALHANDLE
The specified device handle is invalid.

MMSYSERR_INVALPARAM
The uMsg parameter specified in the MXDM_USER message is invalid.

MMSYSERR_NOTSUPPORTED
The mixer device did not process the message.

Last update: 07 April 2006