Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

LMX_STATUS LMX_HostidSimple
(
   LMX_HANDLE LmxHandle,
   LMX_HOSTID_TYPE eHostidType,
   char *szHostid
);

Parameters

...

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".

To make use of custom HostIDs, you must set a callback function using LMX_SetOption with the flag LMX_OPT_CUSTOM_HOSTID_FUNCTION.