The IDirectSound3DListener::GetAllParameters method retrieves information that describes the current state of the 3-D world and listener.
HRESULT GetAllParameters(
LPDS3DLISTENER lpListener
);
If the method succeeds, the return value is DS_OK.
If the method fails, the return value may be DSERR_INVALIDPARAM.