|
ANY-maze Help > The ANY-maze reference > ANY-maze plug-ins > Plug-in API reference > AME_TESTABORT message AME_TESTABORT message
The AME_TESTABORT message is sent to each active plug-in when a test is aborted - usually by the user ending the test and choosing not to save the test results. ParametersguidPointer to the GUID of the plug-in which is being notified of the test end. All plug-ins that the user has activated (in the protocol) will be sent this message (except for any plug-in which returned AME_ERROR from its AME_TESTSTART processing.) If a DLL only implements a single plug-in, it can ignore this parameter - although it is good practice to always check it. wParamNot used; always 0. lParamThe 'Context' value returned in the AME_TESTDATA Context field by the AME_TESTSTART processing. Return valueThe only valid return codes from this message are:
If the message is processed successfully, then return AME_OK. If an error occurs, return AME_ERROR. RemarksA plug-in should use this message to free any resources it is using, and to delete its context record (assuming it allocated one). Note that all results of the test will be deleted (because the test is being aborted), so (unlike AME_TESTEND processing) there is no need to return AME_CANCELLED if your plug-in encountered some type of error during the test.
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T1021 |