IAMPlayListItem::GetSourceDuration (Windows CE 5.0)

Send Feedback

This method returns the duration time of a source for an item in a playlist.

HRESULT GetSourceDuration(DWORDdwSourceIndex,REFERENCE_TIME* prtDuration);

Parameters

  • dwSourceIndex
    [in] Identifies a specific source for an item in a playlist.
  • prtDuration
    [out] Pointer to the duration for the source identified by dwSourceIndex.

Return Values

Returns an HRESULT value.

Remarks

You can use IAMPlayListItem::GetSourceCount to determine how many sources an item has.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements. See Setting Up the Build Environment for more information.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Playlist.h.

See Also

IAMPlayListItem::GetSourceCount

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.