eOption

LMX_OPT_HEARTBEAT_CHECKOUT_FAILURE_FUNCTION

This flag causes a callback function to be called when the heartbeat (per feature) has a status different than LMX_SUCCESS; that is, if a heartbeat fails to reclaim a license after a license server reconnection.

If this function is called, the licenses for the given feature are considered lost.

pSetting

Function pointer value.

Default value:

NULL (disabled)

Prototype:

void (LMX_CALLBACK *HeartbeatCheckoutFailure_pfn)
(
  void *pVendorData, /* Vendor-specified data */
  const char *szFeatureName, /* Name of lost feature */
  int nUsedLicCount, /* Number of licenses lost */
  LMX_STATUS LmxStat /* Error code that indicates why they were lost */
);