Retrieves the version of BASSASIO that is loaded.
DWORD BASS_ASIO_GetVersion();
The BASSASIO API includes a BASSASIOVERSION constant, which can be used to check that the loaded BASSASIO.DLL matches the API version used, ignoring revisions.
if (HIWORD(BASS_ASIO_GetVersion()) != BASSASIOVERSION) { // incorrect version loaded! }
Check that revision 1.0 (or above) of the correct BASSASIO version is loaded.
if (HIWORD(BASS_ASIO_GetVersion()) != BASSASIOVERSION // check the main version || LOWORD(BASS_ASIO_GetVersion()) < 0x100) { // check the revision // incorrect version loaded! }