Microsoft DirectX 8.0 (Visual Basic)

DirectSound3DBuffer8.SetAllParameters

Sets all 3-D properties of a sound buffer.

object.SetAllParameters( _
  buffer As DS3DBUFFER, _
  applyFlag As CONST_DS3DAPPLYFLAGS)

Parts

object
Resolves to a DirectSound3DBuffer8 object.
buffer
DS3DBUFFER type containing the information that describes the 3-D characteristics of the sound buffer.
applyFlag
Value that specifies when the setting should be applied. This value must be one of the constants of the CONST_DS3DAPPLYFLAGS enumeration,

Error Codes

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