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

15 lines
644 B
Matlab

function [retCode, machineId, extErr] = dcgetmachineid(libName)
%DCGETMACHINEID Get the machine ID for this computer
% [RETCODE,MACHINEID,EXTERR] = DCGETMACHINEID(LIBNAME) calls the API via
% the external library LIBNAME. RETCODE is the return code of the API
% call. If the update succeeded, MACHINEID is the machine ID of the
% computer. If this call failed, EXTERR contains an additional error code
% that provides more information.
% Copyright Microcosm Ltd. DO NOT MODIFY THIS FILE.
machineId = uint32(0);
extErr = int32(0);
[retCode, machineId, extErr] = calllib(libName, 'DCGetMachineID', machineId, extErr);
end