The Registration_IsOSRegistered function checks to see if the product is allowed to be used on a specified operating system.
int Registration_IsOSRegistered( 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_OS_TYPE osID // The OS 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. osID [in] The ID of the operating system to check. This value should be supplied from the GPREG_OS_TYPE enum.