Share via


IAMPlayListItem::GetScanDuration (Compact 2013)

3/26/2014

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

Syntax

HRESULT GetScanDuration(
  DWORD dwSourceIndex,
  REFERENCE_TIME* prtScanDuration
);

Parameters

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

Return Value

Returns an HRESULT value.

Remarks

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

Requirements

Header

dshow.h,
playlist.h

Library

Strmiids.lib

See Also

Reference

IAMPlayListItem Interface
IAMPlayListItem::GetSourceCount