GetSupportExpirationDate (2)

Top  Previous  Next

Function gets the date, when support will be expired.

 

static void GetSupportExpirationDate(OUT SYSTEMTIME* psysTyme);

 

Parameters

 

 SYSTEMTIME* psysTyme - Pointer to the system structure SYSTEMTIME

 The structure specifies a date and time, using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.

 

Return value

 

 Returns nothing.

 

Requirements

 

 Header: IntelliProtector.h

 

Example

 

using namespace IntelliProtectorService;

// ...

 

void ShowSupportExpirationDate()

{

 SYSTEMTIME date;

 CIntelliProtector::GetSupportExpirationDate(&date);

 

 CString csDate;

 csDate.Format("%d.%d.%d %d:%d", date.wDay, date.wMonth, date.wYear, date.wHour, date.wMinute);

 AfxMessageBox(csDate);

}

 

 

 





Copyright © 2015 IntelliProtector.com