IMediaParamInfo::GetSupportedTimeFormat method

The GetSupportedTimeFormat method retrieves a supported time format.

Syntax

HRESULT GetSupportedTimeFormat(
  DWORD dwFormatIndex,
  GUID  *pguidTimeFormat
);

Parameters

dwFormatIndex

Index of the time format to retrieve.

pguidTimeFormat

Pointer to a variable that receives a time format GUID.

Return value

Returns an HRESULT value. Possible values include the following.

Return code Description
E_INVALIDARG
Index out of range.
E_POINTER
NULL pointer argument.
S_OK
Success.

Remarks

Call the GetNumTimeFormats method to retrieve the number of time formats that the object supports.

Requirements

   
Target Platform Windows
Header medparam.h
Library Dmoguids.lib

See also

IMediaParamInfo Interface

Time Format GUIDs