#include "ltwrappr.h"
L_INT LAutomation::Print (dwFlags=0)
L_UINT32 dwFlags; |
reserved |
Prints the objects in the active automation container that are currently displayed on the screen.
Parameter |
Description |
dwFlags |
Reserved for future use. Must be 0. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
To erase the contents of a container from the screen, call LContainer::Reset
Required DLLs and Libraries
LTAUT For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
Functions: |
|
Topics: |
This example shows how to print the automation data.
L_INT LAutomation_PrintExample(LAutomation &lauto)
{
L_INT nRet;
nRet = lauto.IsValid ();
if ( SUCCESS == nRet ) /* check the validity of the automation handle */
{
/* print the automtion active container data */
nRet = lauto.Print () ;
if(nRet != SUCCESS)
return nRet;
}
else
{
return nRet ;
}
return SUCCESS ;
}