L_AutPrint provides a means of printing that data in the automation container that is currently displayed on the screen. The contents of a container displayed on the screen can be erased using L_ContainerReset.
The example below will print the automation data displayed on the screen.
L_INT PrintTest(pAUTOMATIONHANDLE pAutomation)
{
if (SUCCESS == L_AutIsValid(pAutomation)) /* check the validity of the automation handle */
{
/* print the automtion active container data */
L_AutPrint(pAutomation, 0);
return SUCCESS;
}
else
{
return FAILURE;
}
}