IMediaSeeking::GetTimeFormat

 
Microsoft DirectShow 9.0

IMediaSeeking::GetTimeFormat

The GetTimeFormat method retrieves the time format that is currently being used for seek operations.

Syntax

  HRESULT GetTimeFormat(
  GUID *pFormat
);

Parameters

pFormat

[out] Pointer to a variable that receives a GUID specifying the time format. See Time Format GUIDs.

Return Values

Returns an HRESULT value. Possible values include the following.

Return code Description
S_OK Success.
E_POINTER NULL pointer argument.

Requirements

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

Library: Use Strmiids.lib.

See Also