Michael Stefaniuc : dsound: Use UlongToHandle to make the real payload a HWAVEIN/HWAVEOUT.