SQL_GetDriver Function

Returns a driver Handle from a name string.

If the driver is not found, SourceMod will attempt to load an extension named dbi.<name>.ext.[dll|so].

DBDriver SQL_GetDriver(const char[] name)

Parameters

const char[] name

Driver identification string, or an empty string to return the default driver.

Return Value

Driver Handle, or INVALID_HANDLE on failure.