Retrieves the value of a channel's attribute.
DWORD BASS_ChannelGetAttributeEx( DWORD handle, DWORD attrib, void *value, DWORD typesize );
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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
typesize | The type/size of the attribute. This can be one of the following types, or the maximum size in bytes if the type is undefined. 0 = get the type/size of the attribute without getting the data.
|
BASS_ERROR_HANDLE | handle is not a valid channel. |
BASS_ERROR_ILLTYPE | The channel does not have the requested attribute. |
BASS_ERROR_ILLPARAM | typesize is not valid. |