Microsoft Windows CE 3.0  

CBaseList::MoveToHead

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.

Moves the node or list of nodes to the beginning of a second list.

BOOL MoveToHead(
POSITION
pos
,
CBaseList
*
pList
);

Parameters

pos
Position that marks the split in the list.
pList
List in which to add the section of the list preceding the position passed in the posparameter.

Return Values

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

This member function splits the current list after the position specified in the posparameter in the list and retains the head portion of the original list. It then adds the tail portion to the head of the second list, identified by the pListparameter.