IMediaParamInfo::GetNumTimeFormats method

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

Syntax

HRESULT GetNumTimeFormats(
  DWORD *pdwNumTimeFormats
);

Parameters

pdwNumTimeFormats

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

Return value

Returns an HRESULT value. Possible values include the following.

Return code Description
E_POINTER
NULL pointer argument.
S_OK
Success.

Requirements

   
Target Platform Windows
Header medparam.h
Library Dmoguids.lib

See also

IMediaParamInfo Interface