BASS_GetInfo

Retrieves information on the device being used.

void WINAPI BASS_GetInfo(
    BASS_INFO *info
);

Parameters
infoPointer to store the information at.

Remarks
The size member of the BASS_INFO structure must be initialized to the size of the structure before calling BASS_GetInfo (only the first size bytes of the structure will be filled). Obviously, BASS_Init must have been successfully called before calling BASS_GetInfo.

Example
To check if the current device has hardware support.

BASS_INFO info;
info.size=sizeof(BASS_INFO);
BASS_GetInfo(&info);
if (info.flags&DSCAPS_EMULDRIVER) {
    // device does NOT have hardware support
}

See also
BASS_INFO structure