...
LMX_STATUS LMX_Hostid
(
LMX_HANDLE LmxHandle,
LMX_HOSTID_TYPE eHostidType,
LMX_HOSTID *lpHostid,
int *npHostids
);
Parameters
...
On failure, this function returns an error code in the format described in Return codes.
Remarks
When using LMX_HOSTID_ALL, all HostIDs are returned, with the HostID type prefixing the HostID; for example, "ETHERNET=0123456789012345,USERNAME=MyUserName,HOSTNAME=MyHostName,...", etc. Otherwise, the HostID is returned without the HostID type prefixing the HostID; for example, for HostID type LMX_HOSTID_ETHERNET, the string in the preceding example would appear as "0123456789012345".
...