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 |
|---|---|
|
Index out of range. |
|
NULL pointer argument. |
|
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 |