Share via


CBaseList::MoveToHead

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

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 pos parameter.

Return Value

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

This member function splits the current list after the position specified in the pos parameter 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 pList parameter.

Requirements

Windows Embedded CE Windows CE 2.12 and later
Windows Mobile Windows Mobile Version 5.0 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later