Microsoft Windows CE 3.0  

CBaseList::AddHead

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 at the front of the list.

BOOL AddHead(
CBaseList *
pList
);

Parameters

pList
Pointer to the list of objects to add.

Return Values

No return value.

Remarks

If you are adding Component Object Model (COM) objects, you might want to add references to them (using the IUnknown::AddRefmethod) first. Other existing positions in the list remain valid.

This member function duplicates all the nodes in the pListparameter (that is, duplicates all its pointers to objects). It does not duplicate the objects.