Retrieves the text description of a device.
BOOL WINAPI BASS_GetDeviceDescription( |
Parameters
devnum | The device to get the description of... 0 = first. |
desc | Pointer to store pointer to text description at. You should not edit the text at the returned pointer. |
Return value
If succesful, then TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_DEVICE | The device number specified is invalid. |
Remarks
This function can be used to enumerate the available devices for a setup dialog.
Example
To get the total number of devices present.
int count=0; // the device counter |