If you're using C/C++ then this is all in TurboActivate.h. It tells you all about these various conditions right in the header file. Is that what you're using?
/* Flags for the TA_IsGeninueEx() function. */
/* If the user activated using offline activation (TA_ActivateRequestToFile(), TA_ActivateFromFile() ), then with this flag TA_IsGenuineEx() will still try to validate with the LimeLM servers, however instead of returning TA_E_INET (when within the grace period) or TA_FAIL (when past the grace period) it will instead only return TA_OK (if machine has a valid activation).
If you still want to get the TA_E_INET error code, without deactivating after the grace period has expired, then use this flag in tandem with TA_OFFLINE_SHOW_INET_ERR.
If the user activated using online activation then this flag is ignored.*/#define TA_SKIP_OFFLINE ((uint32_t)1)
/* If the user activated using offline activation, and you're using this flag in tandem with TA_SKIP_OFFLINE, then TA_IsGenuineEx() will return TA_E_INET on internet failure instead of TA_OK.
If the user activated using online activation then this flag is ignored.*/#define TA_OFFLINE_SHOW_INET_ERR ((uint32_t)2)
typedef struct _GENUINE_OPTIONS { /* The size, in bytes, of this structure. Set this value to the size of the GENUINE_OPTIONS structure. */ uint32_t nLength;
/* Flags to pass to TA_IsGenuineEx() to control its behavior. */ uint32_t flags;
/* How often to contact the LimeLM servers for validation. 90 days recommended. */ uint32_t nDaysBetweenChecks;
/* If the call fails because of an internet error, how long, in days, should the grace period last (before returning deactivating and returning TA_FAIL).
14 days is recommended. */ uint32_t nGraceDaysOnInetErr;} GENUINE_OPTIONS, *PGENUINE_OPTIONS;