EP_RegKeyRegisterBeforeDate
EP_RegKeyRegisterBeforeDate returns the Register Before date from the registration key. See Creating Keys for more details. See also the extended function EP_RegKeyRegisterBeforeDateEx.
Parameters
- Year - the year of the key Register After date.
- Month - the month of the key Register After date.
- Day - the day of the key Register After date.
Return Value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Remark
The function fails in the following cases:
- the registration key does not contain the Register Before date;
- there is no valid registration key;
- the application is not protected.
Definition
Show/Hide C++ function definition
extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegKeyRegisterBeforeDate( int* Year, int* Month, int* Day );
Show/Hide Delphi function definition
function EP_RegKeyRegisterBeforeDate( var Year, Month, Day : Cardinal) : boolean; stdcall;
Show/Hide Visual Basic function definition
Public Declare Function EP_RegKeyRegisterBeforeDate Lib "enigma_ide.dll" (ByRef Year As Long, ByRef Month As Long, ByRef Day As Long) As Byte
Show/Hide C# (.NET) function definition
public class Enigma_IDE
{
[DllImport("enigma_ide.dll", CallingConvention = CallingConvention.StdCall)]
public static extern bool EP_RegKeyRegisterBeforeDate(ref Int32 Year, ref Int32 Month, ref Int32 Day);
}
See function examples in the installation folder.