Any questions? Ask us: support@enigmaprotector.com

Help

Manual
Additional
Manual

EP_RegCheckAndSaveKeyW

EP_RegCheckAndSaveKeyW function serves for verifying and saving the registration information. It has the same functionality as EP_RegCheckAndSaveKey, but is used for processing unicode (wide) strings data. Please note, to use this function you should enable UNICODE Registration Scheme at REGISTRATION FEATURES - Common panel.

Parameters

  • Name - the registration name - a pointer to the null terminated unicode (wide) string.
  • Key - the registration key - a pointer to the null terminated unicode (wide) string.

Return Value

If the function succeeds, the return value is 1. If the function fails, the return value is 0.

Remark

The function fails in the following cases:

  • the registration information is incorrect;
  • an error(s) ocurred while saving the registration information (it can occur due to the enabled protection from writing files to the drive or entries in the registry);
  • the application is not protected.

Definition

Show/Hide C++ function definition

extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegCheckAndSaveKeyW( wchar_t* Name, wchar_t* Key );

Show/Hide Delphi function definition

Show/Hide C# (.NET) function definition

See function examples in the installation folder, Examples\RegistrationUnicode subfolder.