|Microsoft DirectX 9.0|
The GetDistanceFactor method retrieves the distance factor, which is the number of meters in a vector unit.
HRESULT GetDistanceFactor( D3DVALUE * pflDistanceFactor );
Address of a variable that receives the distance factor value. D3DVALUE is defined as float.
If the method succeeds, the return value is DS_OK.
If the method fails, the return value may be DSERR_INVALIDPARAM.
Header: Declared in dsound.h.