IDirectSound3DBuffer::GetPosition
HRESULT GetPosition(LPD3DVECTOR lpvPosition);
Retrieves the sound buffer's current position, in distance units. By default, distance units are meters, but the units can be changed by using the IDirectSound3DListener::SetDistanceFactor method.
·Returns DS_OK if successful, or DSERR_INVALIDPARAM otherwise.
lpvPosition
Address of a D3DVECTOR structure that will contain the current position of the sound buffer.