<< Click to Display Table of Contents >> Navigation: WinLicense > 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)
STDCALL bool SecureEngineShowCustomMessageA( int CustomMessageId, char* CustomMessageString );
STDCALL bool SecureEngineShowCustomMessageW( int CustomMessageId, wchar_t* CustomMessageString ); |
function SecureEngineShowCustomMessageA( CustomMessageId:Integer; CustomMessageString:PAnsiChar ):Boolean; stdcall;
function SecureEngineShowCustomMessageW( CustomMessageId:Integer; CustomMessageString:PWideChar ):Boolean; stdcall; |
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) under the /WinLicenseSDK/ExamplesSDK/Plugins/Include subfolder.
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.