AllAPI Network - The KPD-Team

 
Allapi Network
 API-Guide
 ApiViewer

 API List

 
API Resources
 Tips & Tricks
 VB Tutorials
 Error Lookup
 
Misc Stuff
 VB examples
 VB Tools
 VB Links
 Top Downloads
 
This Site
 Search Engine
 Contact Form
 

Donate to AllAPI.net

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.

Examples

Related Functions

 

 


Copyright © 1998-2007, The Mentalis.org Team - Privacy statement
Did you find a bug on this page? Tell us!
This site is located at http://allapi.mentalis.org/