<< Click to Display Table of Contents >> Navigation: WinLicense > WinLicense SDK > Registration Functions > WLRegInstallBeforeDate |
The WLRegInstallBeforeDate function retrieves the date that was set in the license field "Install Before Date"
int WLRegInstallBeforeDate( SYSTEMTIME* pInstallDate ); |
function WLRegInstallBeforeDate( var pInstallDate:SYSTEMTIME ):Integer; stdcall; |
Public Declare Function WLRegInstallBeforeDate Lib "WinLicenseSDK.dll" ( pInstallDate As Any ) As Integer |
[C#] [DllImport(WINLICENSE_SDK_DLL, CallingConvention = CallingConvention.StdCall)] public static extern int WLRegInstallBeforeDate(SystemTime InstallDate);
[Visual Basic] <DllImport("WinlicenseSDK.dll", CallingConvention:=CallingConvention.StdCall)> Public Shared Function WLRegInstallBeforeDate(InstallDate As SystemTime) As Integer End Function |
Parameters
pInstallDate
[out] Pointer to a SYSTEMTIME structure that receives the date that was set in the "Install before date" field
Return Values
If the function succeeds the return value is zero.
If a license key has not been installed, the return value is wlNoKey (-2).