This is a method of the IDirectSoundBuffer Interface.
public void getCurrentPosition(DSCursors cursors);