L_AutSelect
#include "ltaut.h"
L_LTAUT_API L_INT L_AutSelect(pAutomation, nSelect, dwFlags)
pAUTOMATIONHANDLE pAutomation; |
/* pointer to an automation handle */ |
AUTOMATIONSELECT nSelect; |
/* selection option */ |
L_UINT32 dwFlags; |
/* reserved */ |
Selects or unselects all objects within the active automation container.
Parameter |
Description |
pAutomation |
Pointer to an automation handle. |
nSelect |
An integer value that indicates whether to select or unselect the items in the active automation container, enumerated as AUTOMATION_SELECT. |
dwFlags |
Reserved for future use. Must be 0. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
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 |
See Also
Functions: |
|
Topics: |
Example
This example shows how to use the automation select function.
L_INT AutSelectExample(pAUTOMATIONHANDLE pAutomation) { L_INT nRet; nRet = L_AutIsValid ( pAutomation ) ; if ( SUCCESS == nRet) /* check the validity of the automation handle */ { /* select all of the current automation container data */ nRet = L_AutSelect ( pAutomation, AUTOMATION_SELECT_ALL, 0 ) ; if(nRet != SUCCESS) return nRet; return SUCCESS ; } else { return nRet; } }