Retrieves the value of a channel's attribute.
DWORD BASS_ChannelGetAttributeEx( DWORD handle, DWORD attrib, void *value, DWORD size );
handle | The channel handle... a HCHANNEL, HMUSIC, HSTREAM, or HRECORD. | ||||||
attrib | The attribute to get the value of... one of the following.
| ||||||
value | Pointer to a buffer to receive the attribute data. | ||||||
size | The size of the attribute data in bytes... 0 = get the size of the attribute without getting the data. |
BASS_ERROR_HANDLE | handle is not a valid channel. |
BASS_ERROR_NOTAVAIL | The attribute is not available. |
BASS_ERROR_ILLTYPE | attrib is not valid. |
BASS_ERROR_ILLPARAM | size is not valid. |