次の方法で共有


CBaseList::MoveToHead (Compact 2013)

3/26/2014

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

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseList Class