ITP_ENCRYPTION_STOP_V3

Top  Previous  Next

This define tells the protection mechanism to stop encryption started by ITP_ENCRYPTION_START_V3 define.

ITP_ENCRYPTION_STOP_V3 define must be used together with ITP_ENCRYPTION_START_V3 define.

The encrypted segment should not contain returns and exit calls. Encryption can be defined only inside functions or procedures.

 

ITP_ENCRYPTION_STOP_V3;

 

Parameters

 

 No parameters.

 

Return

 

 Returns nothing.

 

Requirements

 

 Header: IntelliProtectorDeclarations.h

 

Example

 

void MyCoreFunction()

{

 return; //<- allowed...

 

 // start encryption (do not call 'return' from function before ITP_ENCRYPTION_STOP_V2 )

 ITP_ENCRYPTION_START_V3;

 

 // your code...

 // your code...

 // your code...

 // your code...

 

 return; //<- NOT ALLOWED!!! runtime error will appear.

 

 // your code...

 // your code...

 

 // stop encryption

 ITP_ENCRYPTION_STOP_V3;

 

 return; //<- allowed...

}

 

 

 

 





Copyright © 2015 IntelliProtector.com