Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function sends messages to the waveform input device drivers.

Syntax

MMRESULT waveInMessage(
  HWAVEIN 
hwi, 
  UINT 
uMsg, 
  DWORD 
dw1, 
  DWORD 
dw2 
); 

Parameters

hwi

Handle to an open waveform-audio input device, or a DeviceID value between 0 and the value returned by waveInGetNumDevs.

uMsg

Message to send. The device driver implementation determines how this message in interpreted.

dw1and dw2

Specifies message parameters. The device driver implementation determines how these message parameters are interpreted.

Return Value

The value returned from the driver indicates success. The device driver implementation determines how to interpret the return values.

Requirements

Header mmsystem.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also