次の方法で共有


CSourceSeeking::GetTimeFormat (Compact 2013)

3/26/2014

Sets the time format to TIME_FORMAT_MEDIA_TIME, which determines the format of units used during seeking.

Syntax

HRESULT GetTimeFormat(
  const GUID* pFormat 
);

Parameters

  • pFormat
    Media time format set to TIME_FORMAT_MEDIA_TIME.

Return Value

Returns E_POINTER if pFormat is invalid; otherwise, returns S_OK.

Remarks

TIME_FORMAT_MEDIA_TIME is the only time format currently supported.

Requirements

Header

dshow.h,
Streams.h

Library

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

See Also

Reference

CSourceSeeking Class