IMediaSeeking::IsFormatSupported

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This method determines if a specified time format is supported.


HRESULT IsFormatSupported(
  const GUID* pFormat
);

pFormat

[in] Time format to compare.

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

The default DirectShow implementation returns S_OK if the time format is supported; otherwise returns S_FALSE.

Time formats are defined as follows.

Format Description

TIME_FORMAT_NONE

Seeking is not supported.

TIME_FORMAT_FRAME

Seeks to specific video frames.

TIME_FORMAT_SAMPLE

Seeks to samples in the stream.

TIME_FORMAT_FIELD

Seeks to interlaced video fields.

TIME_FORMAT_BYTE

Seeks to a byte in the stream.

TIME_FORMAT_MEDIA_TIME

Seeks to time stamps on the media samples.

Third-party vendors are encouraged to add their own time formats to this list.

Windows Embedded CEWindows CE 2.12 and later
Windows MobilePocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later
NoteMicrosoft 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

Community Additions

Show: