Any questions? Ask us: support@enigmaprotector.com

Help

Manual
Additional
Manual

EP_RegKeyExecutions

EP_RegKeyExecutions function returns the Total number of executions and the number of executions Left that the registration key is limited to. See Creating Keys for more details. See also the extended functions EP_RegKeyExecutionsLeft and EP_RegKeyExecutionsTotal.

Parameters

  • Total - the total number of executions that the registration key is limited to.
  • Left - the number of executions left.

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 key is not limited by executions;
  • there is no valid registration key;
  • the application is not protected.

Definition

Show/Hide C++ function definition

extern "C" __declspec( dllimport ) __stdcall BOOL EP_RegKeyExecutions( int* Total, int* Left );

Show/Hide Delphi function definition

Show/Hide Visual Basic function definition

Show/Hide C# (.NET) function definition

See function examples in the installation folder.