ITP_GET_CURRENT_ACTIVATION_DATE_V3

Top  Previous  Next

This function returns date when software has been activated on the current computer.

 

ITP_GET_CURRENT_ACTIVATION_DATE_V3(int iYear, int iMonth, int iDay, int iHour, int iMinute);

 

Parameters

 

 iYear   - Year in date of the activation

 iMonth  - Month in date of the activation

 iDay    - Day in date of the activation

 iHour   - Hours in date of the activation

 iMinute - Minutes in date of the activation

 

Return

 

 Returns nothing. Output parameters will get date of the activation.

 

Requirements

 

 Header: IntelliProtectorDeclarations.h

 

Example

 

void ShowActivationDate()

{

 int iYear, iMonth, iDay, iHour, iMinute;

 iYear = iMonth = iDay = iHour = iMinute = 0;

 

 ITP_GET_CURRENT_ACTIVATION_DATE_V3(iYear, iMonth, iDay, iHour, iMinute);

 

 CString csDate;

 csDate.Format("%d.%d.%d %d:%d", iDay, iMonth, iYear, iHour, iMinute);

 AfxMessageBox(csDate);

}

 

 





Copyright © 2015 IntelliProtector.com