次の方法で共有


CPullPin::Duration (Compact 2013)

3/26/2014

Retrieves the total duration of the media stream.

Syntax

HRESULT Duration(
  REFERENCE_TIME* ptDuration 
);

Parameters

  • ptDuration
    Duration measured in bytes multiplied by UNIT (10,000,000).

Return Value

Returns an HRESULT value.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CPullPin Class