Platform SDK: DirectX

DirectSound3DBuffer.GetMode

The DirectSound3DBuffer.GetMode method retrieves the current operation mode for 3-D sound processing.

object.GetMode() As CONST_DS3DMODEFLAGS

Parameters

object
Object expression that resolves to a DirectSound3DBuffer object.

Return Values

If the method succeeds, the return value contains the current mode setting. This value is one of the constants of the CONST_DS3DMODEFLAGS enumeration.

Error Codes

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