Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

waveOutProc

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function is the callback function used with the waveform-audio output device. The waveOutProc function is a placeholder for the application-defined function name. The address of this function can be specified in the callback-address parameter of the waveOutOpen function.


void CALLBACK waveOutProc(
  HWAVEOUT hwo,
  UINT uMsg,
  DWORD dwInstance,
  DWORD dwParam1,
  DWORD dwParam2
);

hwo

Handle to the waveform-audio device associated with the callback.

uMsg

Waveform-audio output message. It can be one of the following values.

Message Description

WOM_CLOSE

Sent when the device is closed using the waveOutClose function.

WOM_DONE

Sent when the device driver is finished with a data block sent using the waveOutWrite function.

WOM_OPEN

Sent when the device is opened using the waveOutOpen function.

dwInstance

User-instance data specified with waveOutOpen.

dwParam1

Message parameter.

dwParam2

Message parameter.

Applications should not call any system-defined functions from inside a callback function, except for EnterCriticalSection, LeaveCriticalSection, OutputDebugString, PostMessage, PostThreadMessage, and SetEvent. Calling other wave functions will cause deadlock.

Headermmsystem.h
Librarycoredll.lib
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft