Microsoft DirectX 8.1 (C++)

CSourceSeeking::IsUsingTimeFormat

The IsUsingTimeFormat method determines whether a specified time format is the format currently in use.

Syntax

HRESULT IsUsingTimeFormat(
    const GUID *pFormat
);

Parameters

pFormat

Pointer to a time format GUID. See Time Format GUIDs.

Return Value

Returns one of the HRESULT values listed in the following table.

Value Description
S_FALSE The specified format is not the current format.
S_OK The specified format is the current format.
E_POINTER NULL pointer argument.

Remarks

The only time format supported by the base class is TIME_FORMAT_MEDIA_TIME (100-nanosecond units).

See Also