Microsoft DirectX 8.0 (Visual Basic)

DirectSoundSecondaryBuffer8.GetDirectSound3DBuffer

Retrieves an object that can be used to manipulate 3-D effects on the buffer.

object.GetDirectSound3DBuffer() As DirectSound3DBuffer8

Parts

object
Resolves to a DirectSoundSecondaryBuffer8 object.

Return Values

Returns a DirectSound3DBuffer8 object.

Error Codes

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

Remarks

The method succeeds only on buffers that have been created with the DSBCAPS_CTRL3D flag.