GetProtectionDate (2) |
Top Previous Next |
This function returns the date, when the software has been protected.
static void GetProtectionDate(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 ShowProtectionDate() { SYSTEMTIME date; CIntelliProtector::GetProtectionDate(&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 |