CSourceSeeking::QueryPreferredFormat (Compact 2013)

3/26/2014

Sets the preferred time format to TIME_FORMAT_MEDIA_TIME.

Syntax

HRESULT QueryPreferredFormat(
  GUID* pFormat 
);

Parameters

  • pFormat
    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