IMediaParamInfo::GetParamInfo method

The GetParamInfo method retrieves information about a specified parameter.

Syntax

HRESULT GetParamInfo(
  DWORD        dwParamIndex,
  MP_PARAMINFO *pInfo
);

Parameters

dwParamIndex

Zero-based index of the parameter.

pInfo

Pointer to an MP_PARAMINFO structure that is filled with the parameter information.

Return value

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 GetParamCount method to retrieve the number of parameters that the object supports.

Requirements

   
Target Platform Windows
Header medparam.h
Library Dmoguids.lib

See also

IMediaParamInfo Interface