Поделиться через


IMediaSeeking::QueryPreferredFormat (Compact 2013)

3/26/2014

This method retrieves the preferred time format to be used by the interface.

Syntax

HRESULT QueryPreferredFormat(
  GUID* pFormat
);

Parameters

  • pFormat
    [out] Time format preferred by the interface.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

The default DirectShow implementation returns NOERROR.

Remarks

For a list of available time formats, see the description for IsFormatSupported.

If the time format returned is not satisfactory, use the IsFormatSupported method to query for supported time formats that you can use.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IMediaSeeking