|
ANY-maze Help > The ANY-maze reference > ANY-maze plug-ins > Plug-in API reference > AME_TESTEND message AME_TESTEND message
The AME_TESTEND message is sent to each active plug-in when a test ends successfully. See AME_TESTABORT for the message sent when a test is aborted. 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 your plug-in detected some type of error during the test, and wants any results recorded for it to be deleted, return AME_CANCELLED. Note that this will only cause the results of this plug-in to be deleted. Other test results, including any from other plug-ins, will be retained. If an error occurs, return AME_ERROR. In this case, ANY-maze will not delete any results recorded for the plug-in during the test. RemarksA plug-in should use this message to free any resources it is using, and to delete its context record (assuming it allocated one).
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T1020 |