EP_RegLoadKeyA (deprecated)
EP_RegLoadKeyA (deprecated, please use EP_RegLoadKeyEx instead) function serves for reading the registration information. It is a duplicate and has the same functionality as the EP_RegLoadKey function.
Parameters
- Name - the registration name - the pointer that will return a null terminated ANSI string.
- Key - the registration key - the 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 validation by means of EP_RegCheckKeyA, or use the combine function EP_RegLoadAndCheckKey.
Definition
Show/Hide C++ function definition
extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegLoadKeyA( char** Name, char** Key );
Show/Hide Delphi function definition
function EP_RegLoadKeyA( var Name : PAnsiChar; var Key : PAnsiChar) : boolean; stdcall;
Show/Hide C# (.NET) function definition
public class Enigma_IDE
{
[DllImport("enigma_ide.dll", CharSet = CharSet.Ansi, CallingConvention = CallingConvention.StdCall)]
public static extern bool EP_RegLoadKeyA(ref string Name, ref string Key);
}
See function examples in the installation folder, Examples subfolder.