The IsOSRegistered function checks to see if the product is allowed to be used on a specified operating system.
VARIANT_BOOL IsOSRegistered( GPREG_OS_TYPE osID // The OS ID to check )
osID [in] The ID of the operating system to check. This value should be supplied from the GPREG_OS_TYPE enum.