IMediaSeeking::IsFormatSupported

 
Microsoft DirectShow 9.0

IMediaSeeking::IsFormatSupported

The IsFormatSupported method determines whether a specified time format is supported for seek operations.

Syntax

  HRESULT IsFormatSupported(
  const GUID *pFormat
);

Parameters

pFormat

[in] Pointer to a GUID that specifies the time format. See Time Format GUIDs.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_FALSE The format is not supported.
S_OK The format is supported.
E_NOTIMPL Not implemented.
E_POINTER NULL pointer argument.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also