Even though the sound file needs to be a mono WAV file it will play differently in each ear depending on the position and orientation of the user and the sound source. The sound is processed through the Windows DirectSound API. The
3D sound tutorial includes example code and sound files you can try out.