Prints the objects in the active automation container that are currently displayed on the screen.
#include "ltaut.h"
L_LTAUT_API L_INT L_AutPrint(pAutomation, dwFlags)
Pointer to an automation handle.
Reserved for future use. Must be 0.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To erase the contents of a container from the screen, call L_ContainerReset.
This example shows how to print the automation data.
L_INT AutPrintExample( pAUTOMATIONHANDLE pAutomation )
{
L_INT nRet;
nRet = L_AutIsValid ( pAutomation );
if ( SUCCESS == nRet) /* check the validity of the automation handle */
{
/* print the active automation container data */
nRet = L_AutPrint ( pAutomation, 0 ) ;
if(nRet != SUCCESS)
return nRet;
return SUCCESS ;
}
else
{
return nRet ;
}
}