EP_RegLoadKey (deprecated)
EP_RegLoadKey (deprecated, please use EP_RegLoadKeyEx instead) function serves for reading the registration information. The place and path where the registration information will be stored should be defined in REGISTRATION FEATURES - Registration data storing panel.
Parameters
- Name - the registration name - a pointer that will return a null terminated ANSI string.
- Key - the registration key - a pointer that will return a null terminated ANSI string.
Return Value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Remark
UNICODE Registration Scheme should be disabled at REGISTRATION FEATURES - Common panel.
The function just reads the registration information, it does not verify key validation. To make sure you have the correct pair of registration name/key, you must manually check the key validatation by means of EP_RegCheckKey, or use the combine function EP_RegLoadAndCheckKey.
Definition
Show/Hide C++ function definition
extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegLoadKey( char** Name, char** Key );
Show/Hide Delphi function definition
function EP_RegLoadKey( var Name : PAnsiChar; var Key : PAnsiChar) : boolean; stdcall;
Show/Hide Visual Basic function definition
Public Declare Function EP_RegLoadKey Lib "enigma_ide.dll" (ByRef Name As String, ByRef Key As String) As Boolean
Show/Hide C# (.NET) function definition
public class Enigma_IDE
{
[DllImport("enigma_ide.dll", CallingConvention = CallingConvention.StdCall)]
public static extern bool EP_RegLoadKey(ref string Name, ref string Key);
}
See function examples in the installation folder, Examples subfolder.