Partager via


CBaseList::AddBefore (Compact 2013)

3/26/2014

Inserts a list of nodes before the specified node.

Syntax

BOOL AddBefore(
  POSITION pos,
  CBaseList* pList
);

Parameters

  • pos
    Position before which to add the list of nodes.
  • pList
    Pointer to the list of objects to add.

Return Value

Returns TRUE if successful; otherwise, returns FALSE.

Remarks

If the list insertion fails, some elements might have been added.

Existing positions in the list, including the position specified in the pos parameter, remain valid.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CBaseList Class