Microsoft DirectX 9.0

IMediaParamInfo::GetSupportedTimeFormat

The GetSupportedTimeFormat method retrieves a supported time format.

Syntax

HRESULT GetSupportedTimeFormat(
    DWORD dwFormatIndex,
    GUID *pguidTimeFormat
);

Parameters

dwFormatIndex

[in] Index of the time format to retrieve.

pguidTimeFormat

[out] Pointer to a variable that receives a time format GUID.

Return Values

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.

See Also