Files
PS_Dinkey/Dinkey Pro 7.6.1/$DOCUMENTS/Dinkey Pro 7.6.1 Examples/Samples/MATLAB/DinkeyChange/dcdoupdatecodestring.m
2026-05-06 07:47:36 +02:00

18 lines
856 B
Matlab

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