ITP_GET_TRIAL_UNITS_LEFT_V3 |
Top Previous Next |
This define checks how many time units of the trial period are left.
ITP_GET_TRIAL_UNITS_LEFT_V3(int iUnits, int iDimension);
Parameters
iUnits - the time units, such as: minutes, hours, days, weeks, months. iDimension - type of the timeframe, where: 0 - minutes 1 - hours 2 - weeks 3 - days 4 - months
Return
Returns nothing. The output value iUnits will get the number of time units.
Requirements
Header: IntelliProtectorDeclarations.h
Example
int GetTrialDaysLeftCount() { int iDimension = 3; // days int iDaysLeft = 0; ITP_GET_TRIAL_UNITS_LEFT_V3(iDaysLeft, iDimension); return iDaysLeft; }
|
Copyright © 2015 IntelliProtector.com |