IDirectSound3DBuffer::GetMaxDistance
HRESULT GetMaxDistance(LPD3DVALUE lpflMaxDistance);
Retrieves the current maximum distance for this sound buffer.
·Returns DS_OK if successful, or DSERR_INVALIDPARAM otherwise.
lpflMaxDistance
Address of a variable that will contain the current maximum distance setting.
By default, the maximum distance value is infinite. For additional information about minimum and maximum distances, see Minimum and Maximum Distance Values.