Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
| Microsoft DirectShow 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.
Requirements
Header: Medparam.h
Library: Dmoguids.lib.
See Also