EP_RegKeyRegisterBeforeDate
EP_RegKeyRegisterBeforeDate函数返回注册密钥里限制的截止日期。参看 创建密钥 获取更多信息;或者参看函数 EP_RegKeyRegisterBeforeDateEx。
参数
- Year - 截至日期的年份;
- Month - 截止日期的月份;
- Day - 截止日期的日。
返回值
如果函数执行成功,返回值为1,否则返回0。
备注
在以下情况函数不会执行成功:
- 注册密钥没有限制截止日期;
- 注册密钥错误;
- 未知错误。
定义
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);
}
可以在安装文件夹下查看函数更多实例。