EP_RegCheckKey
EP_RegCheckKeyA 函数用来验证注册信息,与 EP_RegCheckKey 函数类似,但是其支持unicode字符串加密,请注意,如果使用这个函数,请激活UNICODE注册密钥,请参考常规选项.
参数
- Name - 注册名称 - 指向以 \0 结尾的unicode字符串指针。
- Key - 注册密钥- 指向以 \0 结尾的unicode字符串指针。
返回值
如果函数成功执行,返回值为 1 ,否则为 0 。
备注
在以下情况函数不会执行成功
定义
Show/Hide C++ function definition
extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegCheckKeyW( wchar_t* Name, wchar_t* Key );
Show/Hide Delphi function definition
function EP_RegCheckKeyW( Name : PWideChar; Key : PWideChar) : boolean; stdcall;
Show/Hide C# (.NET) function definition
public class Enigma_IDE
{
[DllImport("enigma_ide.dll", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.StdCall)]
public static extern bool EP_RegCheckKeyW(string Name, string Key);
}
可以在安装文件夹下的 Examples 子文件夹查看函数实例。