GetSupportExpirationDaysCount

Top  Previous  Next

Function returns length of the support period in days.

 

static int GetSupportExpirationDaysCount();

 

Parameters

 

 No parameters.

 

Return value

 

 Returns count of days which are available in the support period.

 

Requirements

 

 Library: IntelliProtectorDummy.dll

 Source: UnitIntelliProtector.h

 

Example

 

#include "UnitIntelliProtector.h"

using namespace IntelliProtectorService;

//...

void TFormMain::UpdateIntelliprotectorControls()

{

 // fill lTrialDaysTotal

 int iTrialDaysCount = CIntelliProtector::GetTrialDaysCount();

 lTrialDaysTotal->Caption = IntToStr(iTrialDaysCount);

}

 

 





Copyright © 2011 intelliprotector.com