다음을 통해 공유


CSourceSeeking::IsFormatSupported

 
Microsoft DirectShow 9.0

CSourceSeeking::IsFormatSupported

The IsFormatSupported method determines whether a specified time format is supported. This method implements the IMediaSeeking::IsFormatSupported method.

Syntax

  HRESULT IsFormatSupported(
    const GUID *pFormat
);

Parameters

pFormat

Pointer to a time format GUID. See Time Format GUIDs.

Return Value

Returns one of the HRESULT values listed in the following table.

Value Description
S_FALSE The format is not supported.
S_OK The format is supported.
E_POINTER NULL pointer argument.

Remarks

The only time format supported by the base class is TIME_FORMAT_MEDIA_TIME (100-nanosecond units).

Requirements

**  Header:** Declared in Ctlutil.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also