Microsoft Windows CE 3.0  

CBaseList::AddBefore

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Inserts a list of nodes before the specified node.

BOOL AddBefore(
POSITION
pos
,
CBaseList
*
pList
);

Parameters

pos
Position before which to add the list of nodes.
pList
Pointer to the list of objects to add.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

If the list insertion fails, some of the elements might have been added. Existing positions in the list, including the position specified in the posparameter, remain valid.