Play wav file on PocketPC 2003

  • Thread starter Thread starter Rajesh Singla
  • Start date Start date
Rajesh,

I am not positive, but you can check to see if the PlaySound API
function is there.

Hope this helps.
 
Hi Rajesh,

The CF has no support for multimedia, you have to P/Invoke them , I'm using
the below declaration:

[DllImport("coredll")]
public static extern bool PlaySoundW( string szSound, int hMod, int flags );

PlaySoundW("bing.wav", 0, 0x00000001);


IIRC in the quickstart of gotdotnet you have an example ( maybe the same
above), this is the url:
http://samples.gotdotnet.com/quickstart/CompactFramework/

Hope this help,
 
Back
Top