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 node at the front of the list.
POSITION AddHeadI( void * pObj );
Parameters
Return Values
Returns the new head position, or NULL if it fails. For list insertions, returns TRUE if successful; otherwise, returns FALSE.
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.