The Registration_IsDBRegistered function checks to see if the specified database handler is allowed to be used in the product.
int Registration_IsDBRegistered( short productID, // The product ID registered int version, // The version of the product char* companyName, // The name of the company char* key, // An array of key segments GPREG_DB_TYPE dbID // The database ID to check );
productID [in] The product ID that the registration key is for. version [in] The version of the registration key. companyName [in] The name of the company the product is registered to. key [in] An 5 element array of null-terminated key segment strings. dbID [in] The ID of the database to check. This value should be supplied from the GPREG_DB_TYPE enum.