15 lines
644 B
Matlab
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
|