Compartilhar via


CPosPassThru::SetTimeFormat

 
Microsoft DirectShow 9.0

CPosPassThru::SetTimeFormat

The SetTimeFormat method sets the time format. This method implements the IMediaSeeking::SetTimeFormat method.

Syntax

  HRESULT SetTimeFormat(
    const GUID *pFormat
);

Parameters

pFormat

Pointer to a time format GUID.

Return Value

Returns the HRESULT value from the connected pin.

Requirements

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

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

See Also