Add Original SDK

This commit is contained in:
2026-05-06 07:47:36 +02:00
parent 2915e04380
commit 0ed627517a
674 changed files with 89334 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
function [retCode, confirmationCode, extErr] = dcdoupdatecodefromfile(libName, filename)
%DCDOUPDATECODEFROMFILE Update a dongle attached to this computer using a
%strongly encrypted update code.
% [RETCODE,CONFIRMATIONCODE,EXTERR] =
% DCDOUPDATECODEFROMFILE(LIBNAME,FILENAME) calls the API via the external
% library LIBNAME. FILENAME is a file containing the 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, filename, confirmationCode, extErr] = calllib(libName, 'DCDoUpdateCodeFromFile', filename, confirmationCode, extErr);
end