Partager via


IAMPlayListItem::GetScanDuration (Windows Embedded CE 6.0)

1/6/2010

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 playlist.h
Windows Embedded CE Windows CE 2.12 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

See Also

Reference

IAMPlayListItem Interface
IAMPlayListItem::GetSourceCount