End
Returns the location succeeding the last interface from a list.
Syntax
Parameters
N/A
Return Value
Returns the location succeeding the last interface from a list.
Remarks
The returned location is a logical representation of the end of the list. It does not hold any valid interface and should not be dereferenced.
End is used in combination with Begin for parsing the list sequentially from the beginning to the end.
If the list is empty, then Begin and End return the same location.
ADLX_RESULT res;
IADLXListPrt adlxList; // Get ADLXList interface
...
adlx_uint it = adlxList->Begin();
for (; it != adlxList->End(); it++) // Iterate ADLXList and get the elements in the list
{
res = adlxList->At(it, ...);
...
}
Requirements
Header |
include “ADLXDefines.h” |
Minimum version |
1.0 |