Platform SDK: DirectX

DirectSoundBuffer.GetDirectSound3DBuffer

The DirectSoundBuffer.GetDirectSound3DBuffer method returns a DirectSound3DBuffer object.

object.GetDirectSound3DBuffer() As DirectSound3DBuffer

Parameters

object
Object expression that resolves to a DirectSoundBuffer object.

Return Values

If the method succeeds, a DirectSound3DBuffer object is returned.

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.

See Also

DirectSound.CreateSoundBuffer