EP_RegKeyRegisterAfterDate
EP_RegKeyRegisterAfterDate 返回注册密钥里过期的日期。参看 创建密钥 获取更多信息。或者查看 EP_RegKeyRegisterAfterDateEx 函数。
参数
- Year - 过期日期的年份。
- Month - 过期日期的月份。
- Day - 过期日期的日。
返回值
如果函数执行成功,返回值为1,否则为0。
备注
在以下情况函数不会执行成功:
- 注册密钥没有限制过期的日期;
- 注册密钥错数;
- 未知错误。
定义
Show/Hide C++ function definition
extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegKeyRegisterAfterDate( int* Year, int* Month, int* Day );
Show/Hide Delphi function definition
function EP_RegKeyRegisterAfterDate( var Year, Month, Day : Cardinal) : boolean; stdcall;
Show/Hide Visual Basic function definition
Public Declare Function EP_RegKeyRegisterAfterDate 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_RegKeyRegisterAfterDate(ref Int32 Year, ref Int32 Month, ref Int32 Day);
}
可以在安装文件夹下查看函数使用实例。