Page tree
Skip to end of metadata
Go to start of metadata

eOption

LMX_OPT_CUSTOM_HOSTID_FUNCTION

This flag causes a callback function to be called if using the HostID functions LMX_Hostid() and LMX_HostidSimple() with parameter LMX_HOSTID_CUSTOM. This callback function is also called during checkouts when the license includes one or more custom HostIDs, regardless of whether a local license or a license server is being used.

pSetting

Function pointer value.

Default value: 

NULL (disabled) 

Prototype: 

LMX_STATUS (LMX_CALLBACK *CustomHostidCallBack_pfn)
(
  LMX_HOSTID *pHostid,
  int *npHostids
);

See LMX_Hostid for information on using this callback function.