IMediaSeeking::GetTimeFormat method

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

Syntax


HRESULT GetTimeFormat(
  [out] GUID *pFormat
);

Parameters

pFormat [out]

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

Return value

Returns an HRESULT value. Possible values include the following.

Return codeDescription
S_OK

Success.

E_POINTER

NULL pointer argument.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

Error and Success Codes
IMediaSeeking Interface
IMediaSeeking::SetTimeFormat

 

 

Show: