Platform SDK: DirectX

DirectSoundBuffer.GetStatus

The DirectSoundBuffer.GetStatus method retrieves the status of the sound buffer.

object.GetStatus() As CONST_DSBSTATUSFLAGS

Parameters

object
Object expression that resolves to a DirectSoundBuffer object.

Return Values

The status of the sound buffer. The status can be zero, indicating that the buffer is neither lost nor playing, or a combination of the constants of the CONST_DSBSTATUSFLAGS enumeration.

Error Codes

If the method fails, an error is raised and Err.Number is set.

See Also

DirectSoundBuffer