Microsoft DirectX 8.0 (Visual Basic)

DirectSound3DListener8.GetPosition

Retrieves the listener's position in 3-D space.

object.GetPosition(position As D3DVECTOR)

Parts

object
Resolves to a DirectSound3DListener8 object.
position
D3DVECTOR type that receives the listener's position vector.

Error Codes

If the method fails, an error is raised and Err.Number may be set to the value of DSERR_INVALIDPARAM.

See Also

DirectSound3DListener8.SetPosition, Listener Position and Velocity