The IsDBRegistered function checks to see if the specified database handler is allowed to be used in the product.
VARIANT_BOOL IsDBRegistered( GPREG_DB_TYPE dbID // The database ID to check )
dbID [in] The ID of the database to check. This value should be supplied from the GPREG_DB_TYPE enum.