function [retCode, confirmationCode, extErr] = dcdoupdatecodestring(libName, updateCode) %%DCDOUPDATECODESTRING Update a dongle attached to this computer using a %short update code. % [RETCODE,CONFIRMATIONCODE,EXTERR] = % DCDOUPDATECODESTRING(LIBNAME,UPDATECODE) calls the API via the external % library LIBNAME. UPDATECODE is the short update code to be applied. % RETCODE is the return code of the API call. If the update succeeded, % CONFIRMATIONCODE contains the update's confirmation code. If the update % failed, EXTERR contains an additional error code that provides more % information. % Copyright Microcosm Ltd. DO NOT MODIFY THIS FILE. confirmationCode = int32(0); extErr = int32(0); [retCode, updateCode, confirmationCode, extErr] = calllib(libName, 'DCDoUpdateCodeString', updateCode, confirmationCode, extErr); end