ITP_GET_CURRENT_REGISTRATION_DATE_V3

Top  Previous  Next

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

 

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

 

Parameters

 

 iYear   - Year in date of the registration

 iMonth  - Month in date of the registration

 iDay    - Day in date of the registration

 iHour   - Hours in date of the registration

 iMinute - Minutes in date of the registration

 

Return

 

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

 

Requirements

 

 Header: IntelliProtectorDeclarations.h

 

Example

 

void ShowRegistrationDate()

{

 int iYear, iMonth, iDay, iHour, iMinute;

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

 

 ITP_GET_CURRENT_REGISTRATION_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