SecureEngineShowCustomMessage

<< Click to Display Table of Contents >>

Navigation:  Themida > Protecting an application > Plugins >

SecureEngineShowCustomMessage

This function is called when a Customized Dialog is going to be displayed by the protection. This function receives the message that is going to be displayed by the protection in ANSI format (SecureEngineShowMessageA) or UNICODE format (SecureEngineShowMessageW)

 

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition

 

Parameters

 

CustomMessageId

 [in] Identifier for the message that is going to be displayed. Please, refer to the CustomMessagesConstantsDefinitions.h (for C/C++) or CustomMessagesConstantsDefinitions.inc (for Delphi)

CustomMessageString

 [in] Pointer to a null-terminated string with the message that is going to be displayed.

 

 

Return Values

 

If the function handles the message, you should return TRUE, that means that the protection will not display the message.

If the function does not handle the message or you want that the protection proceeds displaying the message, you should return FALSE.