I am using sndPlaySound to play back wav file. Is there a way to detect if the playback using this API function has finished?