waveform audio in pocket pc 2003

Hi all,

Today, i make some example to interact with audio in pocket pc device
(XDA IIs).

I am using:
waveOutGetID
waveInGetID
it always returnMMSYSERR_INVALHANDLE.

Like that i can use waveOutOpen,waveInOpen and other function.
First,when i tested in emulator i thought that in emulator doestn't support
audio (while i can use PlaySound from emulator to play wav ).

So i test in device,the same result.
How can i test for this function? or in wince,this function doesn't return well?
Thank in advance for your help.

JulienT

[596 byte] By [JulienT] at [2008-1-28]
# 1
I just made test in win32.
The same thing happened, waveOutgetID returns MMSYSERR_INVALHANDLE?
JulienT at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...
# 2
sorry for mistake in previous letter.

Cos it have to use GetInPutDevs to get DeviceID.

JulienT at 2007-9-8 > top of Msdn Tech,Smart Device Development,Smart Devices Native C++ Development...