IMediaParamInfo::GetParamInfo

 
Microsoft DirectShow 9.0

IMediaParamInfo::GetParamInfo

The GetParamInfo method retrieves information about a specified parameter.

Syntax

  HRESULT GetParamInfo(
    DWORD dwParamIndex,
    MP_PARAMINFO *pInfo
);

Parameters

dwParamIndex

[in] Zero-based index of the parameter.

pInfo

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

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

Requirements

  Header: Medparam.h
  Library: Dmoguids.lib.

See Also