Microsoft DirectX 8.1 (C++)

IMediaParamInfo::GetNumTimeFormats

The GetNumTimeFormats method retrieves the number of time formats that the object supports.

Syntax

HRESULT GetNumTimeFormats(
    DWORD *pdwNumTimeFormats
);

Parameters

pdwNumTimeFormats

[out] Pointer to a variable that receives the number of supported time formats.

Return Values

Returns an HRESULT value. Possible values include the following.

Return Code Description
E_POINTER NULL pointer argument.
S_OK Success.

See Also