function [retCode, extErr] = dcdownloadtempsoftwarekey(libName, machineId) %DCDOWNLOADTEMPSOFTWAREKEY Download and install a temporary software key. % [RETCODE,EXTERR] = DCDOWNLOADTEMPSOFTWAREKEY(LIBNAME,MACHINEID) calls the % API via the external library LIBNAME. MACHINEID is the machine ID of % this computer (you can obtain this by calling the API function % DCGETMACHINEID). RETCODE is the return code of the API call. If the % update failed, EXTERR contains an additional error code that provides % more information. % Copyright Microcosm Ltd. DO NOT MODIFY THIS FILE. extErr = int32(0); [retCode, extErr] = calllib(libName, 'DCDownloadTempSoftwareKey', machineId, extErr); end